@aws-sdk/client-lambda 3.476.0 → 3.478.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/pagination/ListAliasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +2 -24
- package/dist-cjs/pagination/ListFunctionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLayersPaginator.js +2 -24
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +2 -24
- package/dist-cjs/protocols/Aws_restJson1.js +435 -943
- package/dist-es/pagination/ListAliasesPaginator.js +2 -23
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +2 -23
- package/dist-es/pagination/ListFunctionsPaginator.js +2 -23
- package/dist-es/pagination/ListLayerVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListLayersPaginator.js +2 -23
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +2 -23
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +2 -23
- package/dist-es/protocols/Aws_restJson1.js +436 -944
- package/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLayersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListAliasesCommand } from "../commands/ListAliasesCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListAliasesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListAliases(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListAliases = createPaginator(LambdaClient, ListAliasesCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListCodeSigningConfigsCommand, } from "../commands/ListCodeSigningConfigsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListCodeSigningConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListCodeSigningConfigs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListCodeSigningConfigs = createPaginator(LambdaClient, ListCodeSigningConfigsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEventSourceMappingsCommand, } from "../commands/ListEventSourceMappingsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEventSourceMappingsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEventSourceMappings(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEventSourceMappings = createPaginator(LambdaClient, ListEventSourceMappingsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFunctionEventInvokeConfigsCommand, } from "../commands/ListFunctionEventInvokeConfigsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFunctionEventInvokeConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFunctionEventInvokeConfigs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFunctionEventInvokeConfigs = createPaginator(LambdaClient, ListFunctionEventInvokeConfigsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFunctionUrlConfigsCommand, } from "../commands/ListFunctionUrlConfigsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFunctionUrlConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFunctionUrlConfigs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFunctionUrlConfigs = createPaginator(LambdaClient, ListFunctionUrlConfigsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFunctionsByCodeSigningConfigCommand, } from "../commands/ListFunctionsByCodeSigningConfigCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFunctionsByCodeSigningConfigCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFunctionsByCodeSigningConfig(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFunctionsByCodeSigningConfig = createPaginator(LambdaClient, ListFunctionsByCodeSigningConfigCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFunctionsCommand, } from "../commands/ListFunctionsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFunctionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFunctions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListFunctions = createPaginator(LambdaClient, ListFunctionsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListLayerVersionsCommand, } from "../commands/ListLayerVersionsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLayerVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLayerVersions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListLayerVersions = createPaginator(LambdaClient, ListLayerVersionsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListLayersCommand } from "../commands/ListLayersCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLayersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLayers(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListLayers = createPaginator(LambdaClient, ListLayersCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListProvisionedConcurrencyConfigsCommand, } from "../commands/ListProvisionedConcurrencyConfigsCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListProvisionedConcurrencyConfigs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListProvisionedConcurrencyConfigs = createPaginator(LambdaClient, ListProvisionedConcurrencyConfigsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVersionsByFunctionCommand, } from "../commands/ListVersionsByFunctionCommand";
|
|
2
3
|
import { LambdaClient } from "../LambdaClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVersionsByFunctionCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVersionsByFunction(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.Marker = token;
|
|
12
|
-
input["MaxItems"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LambdaClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextMarker;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListVersionsByFunction = createPaginator(LambdaClient, ListVersionsByFunctionCommand, "Marker", "NextMarker", "MaxItems");
|