@aws-sdk/client-codepipeline 3.477.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/ListActionExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListActionTypesPaginator.js +2 -23
- package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-cjs/pagination/ListWebhooksPaginator.js +2 -24
- package/dist-es/pagination/ListActionExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListActionTypesPaginator.js +2 -22
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +2 -23
- package/dist-es/pagination/ListPipelinesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-es/pagination/ListWebhooksPaginator.js +2 -23
- package/dist-types/pagination/ListActionExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListActionTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPipelineExecutionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPipelinesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/pagination/ListWebhooksPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ListActionExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListActionTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPipelineExecutionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPipelinesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListWebhooksPaginator.d.ts +3 -3
- package/package.json +6 -5
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListActionExecutions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodePipelineClient_1 = require("../CodePipelineClient");
|
|
5
6
|
const ListActionExecutionsCommand_1 = require("../commands/ListActionExecutionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListActionExecutionsCommand_1.ListActionExecutionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListActionExecutions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListActionExecutions = paginateListActionExecutions;
|
|
7
|
+
exports.paginateListActionExecutions = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListActionExecutionsCommand_1.ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,28 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListActionTypes = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodePipelineClient_1 = require("../CodePipelineClient");
|
|
5
6
|
const ListActionTypesCommand_1 = require("../commands/ListActionTypesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListActionTypesCommand_1.ListActionTypesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListActionTypes(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
|
|
16
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
17
|
-
}
|
|
18
|
-
else {
|
|
19
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
20
|
-
}
|
|
21
|
-
yield page;
|
|
22
|
-
const prevToken = token;
|
|
23
|
-
token = page.nextToken;
|
|
24
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
25
|
-
}
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
exports.paginateListActionTypes = paginateListActionTypes;
|
|
7
|
+
exports.paginateListActionTypes = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListActionTypesCommand_1.ListActionTypesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPipelineExecutions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodePipelineClient_1 = require("../CodePipelineClient");
|
|
5
6
|
const ListPipelineExecutionsCommand_1 = require("../commands/ListPipelineExecutionsCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPipelineExecutionsCommand_1.ListPipelineExecutionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPipelineExecutions(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPipelineExecutions = paginateListPipelineExecutions;
|
|
7
|
+
exports.paginateListPipelineExecutions = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListPipelineExecutionsCommand_1.ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPipelines = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodePipelineClient_1 = require("../CodePipelineClient");
|
|
5
6
|
const ListPipelinesCommand_1 = require("../commands/ListPipelinesCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPipelinesCommand_1.ListPipelinesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPipelines(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListPipelines = paginateListPipelines;
|
|
7
|
+
exports.paginateListPipelines = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListPipelinesCommand_1.ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTagsForResource = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodePipelineClient_1 = require("../CodePipelineClient");
|
|
5
6
|
const ListTagsForResourceCommand_1 = require("../commands/ListTagsForResourceCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTagsForResourceCommand_1.ListTagsForResourceCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.nextToken = token;
|
|
15
|
-
input["maxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.nextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListTagsForResource = paginateListTagsForResource;
|
|
7
|
+
exports.paginateListTagsForResource = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListTagsForResourceCommand_1.ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListWebhooks = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const CodePipelineClient_1 = require("../CodePipelineClient");
|
|
5
6
|
const ListWebhooksCommand_1 = require("../commands/ListWebhooksCommand");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListWebhooksCommand_1.ListWebhooksCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListWebhooks(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof CodePipelineClient_1.CodePipelineClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListWebhooks = paginateListWebhooks;
|
|
7
|
+
exports.paginateListWebhooks = (0, core_1.createPaginator)(CodePipelineClient_1.CodePipelineClient, ListWebhooksCommand_1.ListWebhooksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodePipelineClient } from "../CodePipelineClient";
|
|
2
3
|
import { ListActionExecutionsCommand, } from "../commands/ListActionExecutionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListActionExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListActionExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodePipelineClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListActionExecutions = createPaginator(CodePipelineClient, ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodePipelineClient } from "../CodePipelineClient";
|
|
2
3
|
import { ListActionTypesCommand, } from "../commands/ListActionTypesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListActionTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListActionTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
if (config.client instanceof CodePipelineClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.nextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListActionTypes = createPaginator(CodePipelineClient, ListActionTypesCommand, "nextToken", "nextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodePipelineClient } from "../CodePipelineClient";
|
|
2
3
|
import { ListPipelineExecutionsCommand, } from "../commands/ListPipelineExecutionsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPipelineExecutionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPipelineExecutions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodePipelineClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPipelineExecutions = createPaginator(CodePipelineClient, ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodePipelineClient } from "../CodePipelineClient";
|
|
2
3
|
import { ListPipelinesCommand, } from "../commands/ListPipelinesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPipelinesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPipelines(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodePipelineClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListPipelines = createPaginator(CodePipelineClient, ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodePipelineClient } from "../CodePipelineClient";
|
|
2
3
|
import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodePipelineClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTagsForResource = createPaginator(CodePipelineClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CodePipelineClient } from "../CodePipelineClient";
|
|
2
3
|
import { ListWebhooksCommand, } from "../commands/ListWebhooksCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListWebhooksCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListWebhooks(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CodePipelineClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CodePipeline | CodePipelineClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListWebhooks = createPaginator(CodePipelineClient, ListWebhooksCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListActionExecutions: (config: CodePipelinePaginationConfiguration, input: ListActionExecutionsCommandInput, ...rest: any[]) => Paginator<ListActionExecutionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListActionTypes: (config: CodePipelinePaginationConfiguration, input: ListActionTypesCommandInput, ...rest: any[]) => Paginator<ListActionTypesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPipelineExecutions: (config: CodePipelinePaginationConfiguration, input: ListPipelineExecutionsCommandInput, ...rest: any[]) => Paginator<ListPipelineExecutionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPipelines: (config: CodePipelinePaginationConfiguration, input: ListPipelinesCommandInput, ...rest: any[]) => Paginator<ListPipelinesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTagsForResource: (config: CodePipelinePaginationConfiguration, input: ListTagsForResourceCommandInput, ...rest: any[]) => Paginator<ListTagsForResourceCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListWebhooks: (config: CodePipelinePaginationConfiguration, input: ListWebhooksCommandInput, ...rest: any[]) => Paginator<ListWebhooksCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListActionExecutionsCommandOutput,
|
|
5
5
|
} from "../commands/ListActionExecutionsCommand";
|
|
6
6
|
import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListActionExecutions: (
|
|
8
8
|
config: CodePipelinePaginationConfiguration,
|
|
9
9
|
input: ListActionExecutionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListActionExecutionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListActionTypesCommandOutput,
|
|
5
5
|
} from "../commands/ListActionTypesCommand";
|
|
6
6
|
import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListActionTypes: (
|
|
8
8
|
config: CodePipelinePaginationConfiguration,
|
|
9
9
|
input: ListActionTypesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListActionTypesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPipelineExecutionsCommandOutput,
|
|
5
5
|
} from "../commands/ListPipelineExecutionsCommand";
|
|
6
6
|
import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPipelineExecutions: (
|
|
8
8
|
config: CodePipelinePaginationConfiguration,
|
|
9
9
|
input: ListPipelineExecutionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPipelineExecutionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPipelinesCommandOutput,
|
|
5
5
|
} from "../commands/ListPipelinesCommand";
|
|
6
6
|
import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPipelines: (
|
|
8
8
|
config: CodePipelinePaginationConfiguration,
|
|
9
9
|
input: ListPipelinesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPipelinesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListTagsForResourceCommandOutput,
|
|
5
5
|
} from "../commands/ListTagsForResourceCommand";
|
|
6
6
|
import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTagsForResource: (
|
|
8
8
|
config: CodePipelinePaginationConfiguration,
|
|
9
9
|
input: ListTagsForResourceCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTagsForResourceCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListWebhooksCommandOutput,
|
|
5
5
|
} from "../commands/ListWebhooksCommand";
|
|
6
6
|
import { CodePipelinePaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListWebhooks: (
|
|
8
8
|
config: CodePipelinePaginationConfiguration,
|
|
9
9
|
input: ListWebhooksCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListWebhooksCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codepipeline",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codepipeline Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,20 +20,21 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|
|
37
|
+
"@smithy/core": "^1.2.0",
|
|
37
38
|
"@smithy/fetch-http-handler": "^2.3.1",
|
|
38
39
|
"@smithy/hash-node": "^2.0.17",
|
|
39
40
|
"@smithy/invalid-dependency": "^2.0.15",
|