@aws-sdk/client-codepipeline 3.975.0 → 3.978.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/index.js +27 -17
- package/dist-es/CodePipeline.js +19 -1
- package/dist-types/CodePipeline.d.ts +57 -1
- package/dist-types/ts3.4/CodePipeline.d.ts +61 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -3160,6 +3160,22 @@ class UpdatePipelineCommand extends smithyClient.Command
|
|
|
3160
3160
|
.build() {
|
|
3161
3161
|
}
|
|
3162
3162
|
|
|
3163
|
+
const paginateListActionExecutions = core.createPaginator(CodePipelineClient, ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3164
|
+
|
|
3165
|
+
const paginateListActionTypes = core.createPaginator(CodePipelineClient, ListActionTypesCommand, "nextToken", "nextToken", "");
|
|
3166
|
+
|
|
3167
|
+
const paginateListDeployActionExecutionTargets = core.createPaginator(CodePipelineClient, ListDeployActionExecutionTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
3168
|
+
|
|
3169
|
+
const paginateListPipelineExecutions = core.createPaginator(CodePipelineClient, ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3170
|
+
|
|
3171
|
+
const paginateListPipelines = core.createPaginator(CodePipelineClient, ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
|
|
3172
|
+
|
|
3173
|
+
const paginateListRuleExecutions = core.createPaginator(CodePipelineClient, ListRuleExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3174
|
+
|
|
3175
|
+
const paginateListTagsForResource = core.createPaginator(CodePipelineClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
3176
|
+
|
|
3177
|
+
const paginateListWebhooks = core.createPaginator(CodePipelineClient, ListWebhooksCommand, "NextToken", "NextToken", "MaxResults");
|
|
3178
|
+
|
|
3163
3179
|
const commands = {
|
|
3164
3180
|
AcknowledgeJobCommand,
|
|
3165
3181
|
AcknowledgeThirdPartyJobCommand,
|
|
@@ -3206,25 +3222,19 @@ const commands = {
|
|
|
3206
3222
|
UpdateActionTypeCommand,
|
|
3207
3223
|
UpdatePipelineCommand,
|
|
3208
3224
|
};
|
|
3225
|
+
const paginators = {
|
|
3226
|
+
paginateListActionExecutions,
|
|
3227
|
+
paginateListActionTypes,
|
|
3228
|
+
paginateListDeployActionExecutionTargets,
|
|
3229
|
+
paginateListPipelineExecutions,
|
|
3230
|
+
paginateListPipelines,
|
|
3231
|
+
paginateListRuleExecutions,
|
|
3232
|
+
paginateListTagsForResource,
|
|
3233
|
+
paginateListWebhooks,
|
|
3234
|
+
};
|
|
3209
3235
|
class CodePipeline extends CodePipelineClient {
|
|
3210
3236
|
}
|
|
3211
|
-
smithyClient.createAggregatedClient(commands, CodePipeline);
|
|
3212
|
-
|
|
3213
|
-
const paginateListActionExecutions = core.createPaginator(CodePipelineClient, ListActionExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3214
|
-
|
|
3215
|
-
const paginateListActionTypes = core.createPaginator(CodePipelineClient, ListActionTypesCommand, "nextToken", "nextToken", "");
|
|
3216
|
-
|
|
3217
|
-
const paginateListDeployActionExecutionTargets = core.createPaginator(CodePipelineClient, ListDeployActionExecutionTargetsCommand, "nextToken", "nextToken", "maxResults");
|
|
3218
|
-
|
|
3219
|
-
const paginateListPipelineExecutions = core.createPaginator(CodePipelineClient, ListPipelineExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3220
|
-
|
|
3221
|
-
const paginateListPipelines = core.createPaginator(CodePipelineClient, ListPipelinesCommand, "nextToken", "nextToken", "maxResults");
|
|
3222
|
-
|
|
3223
|
-
const paginateListRuleExecutions = core.createPaginator(CodePipelineClient, ListRuleExecutionsCommand, "nextToken", "nextToken", "maxResults");
|
|
3224
|
-
|
|
3225
|
-
const paginateListTagsForResource = core.createPaginator(CodePipelineClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
3226
|
-
|
|
3227
|
-
const paginateListWebhooks = core.createPaginator(CodePipelineClient, ListWebhooksCommand, "NextToken", "NextToken", "MaxResults");
|
|
3237
|
+
smithyClient.createAggregatedClient(commands, CodePipeline, { paginators });
|
|
3228
3238
|
|
|
3229
3239
|
const JobStatus = {
|
|
3230
3240
|
Created: "Created",
|
package/dist-es/CodePipeline.js
CHANGED
|
@@ -44,6 +44,14 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
|
44
44
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
45
45
|
import { UpdateActionTypeCommand, } from "./commands/UpdateActionTypeCommand";
|
|
46
46
|
import { UpdatePipelineCommand, } from "./commands/UpdatePipelineCommand";
|
|
47
|
+
import { paginateListActionExecutions } from "./pagination/ListActionExecutionsPaginator";
|
|
48
|
+
import { paginateListActionTypes } from "./pagination/ListActionTypesPaginator";
|
|
49
|
+
import { paginateListDeployActionExecutionTargets } from "./pagination/ListDeployActionExecutionTargetsPaginator";
|
|
50
|
+
import { paginateListPipelineExecutions } from "./pagination/ListPipelineExecutionsPaginator";
|
|
51
|
+
import { paginateListPipelines } from "./pagination/ListPipelinesPaginator";
|
|
52
|
+
import { paginateListRuleExecutions } from "./pagination/ListRuleExecutionsPaginator";
|
|
53
|
+
import { paginateListTagsForResource } from "./pagination/ListTagsForResourcePaginator";
|
|
54
|
+
import { paginateListWebhooks } from "./pagination/ListWebhooksPaginator";
|
|
47
55
|
const commands = {
|
|
48
56
|
AcknowledgeJobCommand,
|
|
49
57
|
AcknowledgeThirdPartyJobCommand,
|
|
@@ -90,6 +98,16 @@ const commands = {
|
|
|
90
98
|
UpdateActionTypeCommand,
|
|
91
99
|
UpdatePipelineCommand,
|
|
92
100
|
};
|
|
101
|
+
const paginators = {
|
|
102
|
+
paginateListActionExecutions,
|
|
103
|
+
paginateListActionTypes,
|
|
104
|
+
paginateListDeployActionExecutionTargets,
|
|
105
|
+
paginateListPipelineExecutions,
|
|
106
|
+
paginateListPipelines,
|
|
107
|
+
paginateListRuleExecutions,
|
|
108
|
+
paginateListTagsForResource,
|
|
109
|
+
paginateListWebhooks,
|
|
110
|
+
};
|
|
93
111
|
export class CodePipeline extends CodePipelineClient {
|
|
94
112
|
}
|
|
95
|
-
createAggregatedClient(commands, CodePipeline);
|
|
113
|
+
createAggregatedClient(commands, CodePipeline, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { CodePipelineClient } from "./CodePipelineClient";
|
|
3
3
|
import { AcknowledgeJobCommandInput, AcknowledgeJobCommandOutput } from "./commands/AcknowledgeJobCommand";
|
|
4
4
|
import { AcknowledgeThirdPartyJobCommandInput, AcknowledgeThirdPartyJobCommandOutput } from "./commands/AcknowledgeThirdPartyJobCommand";
|
|
@@ -315,6 +315,62 @@ export interface CodePipeline {
|
|
|
315
315
|
updatePipeline(args: UpdatePipelineCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePipelineCommandOutput>;
|
|
316
316
|
updatePipeline(args: UpdatePipelineCommandInput, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
|
|
317
317
|
updatePipeline(args: UpdatePipelineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePipelineCommandOutput) => void): void;
|
|
318
|
+
/**
|
|
319
|
+
* @see {@link ListActionExecutionsCommand}
|
|
320
|
+
* @param args - command input.
|
|
321
|
+
* @param paginationConfig - optional pagination config.
|
|
322
|
+
* @returns AsyncIterable of {@link ListActionExecutionsCommandOutput}.
|
|
323
|
+
*/
|
|
324
|
+
paginateListActionExecutions(args: ListActionExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActionExecutionsCommandOutput>;
|
|
325
|
+
/**
|
|
326
|
+
* @see {@link ListActionTypesCommand}
|
|
327
|
+
* @param args - command input.
|
|
328
|
+
* @param paginationConfig - optional pagination config.
|
|
329
|
+
* @returns AsyncIterable of {@link ListActionTypesCommandOutput}.
|
|
330
|
+
*/
|
|
331
|
+
paginateListActionTypes(args?: ListActionTypesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListActionTypesCommandOutput>;
|
|
332
|
+
/**
|
|
333
|
+
* @see {@link ListDeployActionExecutionTargetsCommand}
|
|
334
|
+
* @param args - command input.
|
|
335
|
+
* @param paginationConfig - optional pagination config.
|
|
336
|
+
* @returns AsyncIterable of {@link ListDeployActionExecutionTargetsCommandOutput}.
|
|
337
|
+
*/
|
|
338
|
+
paginateListDeployActionExecutionTargets(args: ListDeployActionExecutionTargetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeployActionExecutionTargetsCommandOutput>;
|
|
339
|
+
/**
|
|
340
|
+
* @see {@link ListPipelineExecutionsCommand}
|
|
341
|
+
* @param args - command input.
|
|
342
|
+
* @param paginationConfig - optional pagination config.
|
|
343
|
+
* @returns AsyncIterable of {@link ListPipelineExecutionsCommandOutput}.
|
|
344
|
+
*/
|
|
345
|
+
paginateListPipelineExecutions(args: ListPipelineExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipelineExecutionsCommandOutput>;
|
|
346
|
+
/**
|
|
347
|
+
* @see {@link ListPipelinesCommand}
|
|
348
|
+
* @param args - command input.
|
|
349
|
+
* @param paginationConfig - optional pagination config.
|
|
350
|
+
* @returns AsyncIterable of {@link ListPipelinesCommandOutput}.
|
|
351
|
+
*/
|
|
352
|
+
paginateListPipelines(args?: ListPipelinesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPipelinesCommandOutput>;
|
|
353
|
+
/**
|
|
354
|
+
* @see {@link ListRuleExecutionsCommand}
|
|
355
|
+
* @param args - command input.
|
|
356
|
+
* @param paginationConfig - optional pagination config.
|
|
357
|
+
* @returns AsyncIterable of {@link ListRuleExecutionsCommandOutput}.
|
|
358
|
+
*/
|
|
359
|
+
paginateListRuleExecutions(args: ListRuleExecutionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRuleExecutionsCommandOutput>;
|
|
360
|
+
/**
|
|
361
|
+
* @see {@link ListTagsForResourceCommand}
|
|
362
|
+
* @param args - command input.
|
|
363
|
+
* @param paginationConfig - optional pagination config.
|
|
364
|
+
* @returns AsyncIterable of {@link ListTagsForResourceCommandOutput}.
|
|
365
|
+
*/
|
|
366
|
+
paginateListTagsForResource(args: ListTagsForResourceCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListTagsForResourceCommandOutput>;
|
|
367
|
+
/**
|
|
368
|
+
* @see {@link ListWebhooksCommand}
|
|
369
|
+
* @param args - command input.
|
|
370
|
+
* @param paginationConfig - optional pagination config.
|
|
371
|
+
* @returns AsyncIterable of {@link ListWebhooksCommandOutput}.
|
|
372
|
+
*/
|
|
373
|
+
paginateListWebhooks(args?: ListWebhooksCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListWebhooksCommandOutput>;
|
|
318
374
|
}
|
|
319
375
|
/**
|
|
320
376
|
* <fullname>CodePipeline</fullname>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import { CodePipelineClient } from "./CodePipelineClient";
|
|
3
7
|
import {
|
|
4
8
|
AcknowledgeJobCommandInput,
|
|
@@ -755,6 +759,62 @@ export interface CodePipeline {
|
|
|
755
759
|
options: __HttpHandlerOptions,
|
|
756
760
|
cb: (err: any, data?: UpdatePipelineCommandOutput) => void
|
|
757
761
|
): void;
|
|
762
|
+
paginateListActionExecutions(
|
|
763
|
+
args: ListActionExecutionsCommandInput,
|
|
764
|
+
paginationConfig?: Pick<
|
|
765
|
+
PaginationConfiguration,
|
|
766
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
767
|
+
>
|
|
768
|
+
): Paginator<ListActionExecutionsCommandOutput>;
|
|
769
|
+
paginateListActionTypes(
|
|
770
|
+
args?: ListActionTypesCommandInput,
|
|
771
|
+
paginationConfig?: Pick<
|
|
772
|
+
PaginationConfiguration,
|
|
773
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
774
|
+
>
|
|
775
|
+
): Paginator<ListActionTypesCommandOutput>;
|
|
776
|
+
paginateListDeployActionExecutionTargets(
|
|
777
|
+
args: ListDeployActionExecutionTargetsCommandInput,
|
|
778
|
+
paginationConfig?: Pick<
|
|
779
|
+
PaginationConfiguration,
|
|
780
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
781
|
+
>
|
|
782
|
+
): Paginator<ListDeployActionExecutionTargetsCommandOutput>;
|
|
783
|
+
paginateListPipelineExecutions(
|
|
784
|
+
args: ListPipelineExecutionsCommandInput,
|
|
785
|
+
paginationConfig?: Pick<
|
|
786
|
+
PaginationConfiguration,
|
|
787
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
788
|
+
>
|
|
789
|
+
): Paginator<ListPipelineExecutionsCommandOutput>;
|
|
790
|
+
paginateListPipelines(
|
|
791
|
+
args?: ListPipelinesCommandInput,
|
|
792
|
+
paginationConfig?: Pick<
|
|
793
|
+
PaginationConfiguration,
|
|
794
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
795
|
+
>
|
|
796
|
+
): Paginator<ListPipelinesCommandOutput>;
|
|
797
|
+
paginateListRuleExecutions(
|
|
798
|
+
args: ListRuleExecutionsCommandInput,
|
|
799
|
+
paginationConfig?: Pick<
|
|
800
|
+
PaginationConfiguration,
|
|
801
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
802
|
+
>
|
|
803
|
+
): Paginator<ListRuleExecutionsCommandOutput>;
|
|
804
|
+
paginateListTagsForResource(
|
|
805
|
+
args: ListTagsForResourceCommandInput,
|
|
806
|
+
paginationConfig?: Pick<
|
|
807
|
+
PaginationConfiguration,
|
|
808
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
809
|
+
>
|
|
810
|
+
): Paginator<ListTagsForResourceCommandOutput>;
|
|
811
|
+
paginateListWebhooks(
|
|
812
|
+
args?: ListWebhooksCommandInput,
|
|
813
|
+
paginationConfig?: Pick<
|
|
814
|
+
PaginationConfiguration,
|
|
815
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
816
|
+
>
|
|
817
|
+
): Paginator<ListWebhooksCommandOutput>;
|
|
758
818
|
}
|
|
759
819
|
export declare class CodePipeline
|
|
760
820
|
extends CodePipelineClient
|
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.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codepipeline",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "^3.973.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
32
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
33
|
-
"@aws-sdk/types": "^3.973.
|
|
26
|
+
"@aws-sdk/core": "^3.973.4",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
32
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
33
|
+
"@aws-sdk/types": "^3.973.1",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.6",
|
|
38
|
-
"@smithy/core": "^3.
|
|
38
|
+
"@smithy/core": "^3.22.0",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
40
40
|
"@smithy/hash-node": "^4.2.8",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.9",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.8",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.8",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.8",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.8",
|
|
50
|
-
"@smithy/smithy-client": "^4.
|
|
50
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
51
51
|
"@smithy/types": "^4.12.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.8",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.8",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.8",
|
|
60
60
|
"@smithy/util-retry": "^4.2.8",
|