working rss feed to nostr publish

This commit is contained in:
2023-11-24 00:43:28 -05:00
parent 06edcb57ae
commit 88d2f9cfec
8396 changed files with 783105 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export {};
@@ -0,0 +1,25 @@
import { ListAliasesCommand } from "../commands/ListAliasesCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListAliasesCommand(input), ...args);
};
export async function* paginateListAliases(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListCodeSigningConfigsCommand, } from "../commands/ListCodeSigningConfigsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListCodeSigningConfigsCommand(input), ...args);
};
export async function* paginateListCodeSigningConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListEventSourceMappingsCommand, } from "../commands/ListEventSourceMappingsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListEventSourceMappingsCommand(input), ...args);
};
export async function* paginateListEventSourceMappings(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListFunctionEventInvokeConfigsCommand, } from "../commands/ListFunctionEventInvokeConfigsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionEventInvokeConfigsCommand(input), ...args);
};
export async function* paginateListFunctionEventInvokeConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListFunctionUrlConfigsCommand, } from "../commands/ListFunctionUrlConfigsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionUrlConfigsCommand(input), ...args);
};
export async function* paginateListFunctionUrlConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListFunctionsByCodeSigningConfigCommand, } from "../commands/ListFunctionsByCodeSigningConfigCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionsByCodeSigningConfigCommand(input), ...args);
};
export async function* paginateListFunctionsByCodeSigningConfig(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListFunctionsCommand, } from "../commands/ListFunctionsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListFunctionsCommand(input), ...args);
};
export async function* paginateListFunctions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListLayerVersionsCommand, } from "../commands/ListLayerVersionsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListLayerVersionsCommand(input), ...args);
};
export async function* paginateListLayerVersions(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListLayersCommand } from "../commands/ListLayersCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListLayersCommand(input), ...args);
};
export async function* paginateListLayers(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListProvisionedConcurrencyConfigsCommand, } from "../commands/ListProvisionedConcurrencyConfigsCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args);
};
export async function* paginateListProvisionedConcurrencyConfigs(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
@@ -0,0 +1,25 @@
import { ListVersionsByFunctionCommand, } from "../commands/ListVersionsByFunctionCommand";
import { LambdaClient } from "../LambdaClient";
const makePagedClientRequest = async (client, input, ...args) => {
return await client.send(new ListVersionsByFunctionCommand(input), ...args);
};
export async function* paginateListVersionsByFunction(config, input, ...additionalArguments) {
let token = config.startingToken || undefined;
let hasNext = true;
let page;
while (hasNext) {
input.Marker = token;
input["MaxItems"] = config.pageSize;
if (config.client instanceof LambdaClient) {
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
}
else {
throw new Error("Invalid client, expected Lambda | LambdaClient");
}
yield page;
const prevToken = token;
token = page.NextMarker;
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
}
return undefined;
}
+12
View File
@@ -0,0 +1,12 @@
export * from "./Interfaces";
export * from "./ListAliasesPaginator";
export * from "./ListCodeSigningConfigsPaginator";
export * from "./ListEventSourceMappingsPaginator";
export * from "./ListFunctionEventInvokeConfigsPaginator";
export * from "./ListFunctionUrlConfigsPaginator";
export * from "./ListFunctionsByCodeSigningConfigPaginator";
export * from "./ListFunctionsPaginator";
export * from "./ListLayerVersionsPaginator";
export * from "./ListLayersPaginator";
export * from "./ListProvisionedConcurrencyConfigsPaginator";
export * from "./ListVersionsByFunctionPaginator";