@aws-sdk/client-codepipeline 3.620.1 → 3.622.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/README.md +24 -0
- package/dist-cjs/index.js +386 -89
- package/dist-es/CodePipeline.js +6 -0
- package/dist-es/CodePipelineClient.js +12 -18
- package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
- package/dist-es/commands/ListRuleTypesCommand.js +24 -0
- package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +82 -39
- package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +198 -14
- package/dist-types/CodePipeline.d.ts +22 -0
- package/dist-types/CodePipelineClient.d.ts +7 -6
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
- package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
- package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
- package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
- package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
- package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
- package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
- package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +1019 -222
- package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
- package/dist-types/ts3.4/CodePipelineClient.d.ts +24 -8
- package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +228 -29
- package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/package.json +11 -11
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
4
|
+
import { OverrideStageConditionInput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link OverrideStageConditionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface OverrideStageConditionCommandInput extends OverrideStageConditionInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link OverrideStageConditionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface OverrideStageConditionCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const OverrideStageConditionCommand_base: {
|
|
25
|
+
new (input: OverrideStageConditionCommandInput): import("@smithy/smithy-client").CommandImpl<OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: OverrideStageConditionCommandInput): import("@smithy/smithy-client").CommandImpl<OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Used to override a stage condition.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CodePipelineClient, OverrideStageConditionCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
35
|
+
* // const { CodePipelineClient, OverrideStageConditionCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
36
|
+
* const client = new CodePipelineClient(config);
|
|
37
|
+
* const input = { // OverrideStageConditionInput
|
|
38
|
+
* pipelineName: "STRING_VALUE", // required
|
|
39
|
+
* stageName: "STRING_VALUE", // required
|
|
40
|
+
* pipelineExecutionId: "STRING_VALUE", // required
|
|
41
|
+
* conditionType: "BEFORE_ENTRY" || "ON_SUCCESS", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new OverrideStageConditionCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param OverrideStageConditionCommandInput - {@link OverrideStageConditionCommandInput}
|
|
50
|
+
* @returns {@link OverrideStageConditionCommandOutput}
|
|
51
|
+
* @see {@link OverrideStageConditionCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link OverrideStageConditionCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConcurrentPipelineExecutionsLimitExceededException} (client fault)
|
|
56
|
+
* <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ConditionNotOverridableException} (client fault)
|
|
59
|
+
* <p>Unable to override because the condition does not allow overrides.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ConflictException} (client fault)
|
|
62
|
+
* <p>Your request cannot be handled because the pipeline is busy handling ongoing
|
|
63
|
+
* activities. Try again later.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link NotLatestPipelineExecutionException} (client fault)
|
|
66
|
+
* <p>The stage has failed in a later run of the pipeline and the
|
|
67
|
+
* <code>pipelineExecutionId</code> associated with the request is out of
|
|
68
|
+
* date.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link PipelineNotFoundException} (client fault)
|
|
71
|
+
* <p>The pipeline was specified in an invalid format or cannot be found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link StageNotFoundException} (client fault)
|
|
74
|
+
* <p>The stage was specified in an invalid format or cannot be found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ValidationException} (client fault)
|
|
77
|
+
* <p>The validation was specified in an invalid format.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link CodePipelineServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from CodePipeline service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class OverrideStageConditionCommand extends OverrideStageConditionCommand_base {
|
|
85
|
+
}
|
|
@@ -63,6 +63,9 @@ declare const PutActionRevisionCommand_base: {
|
|
|
63
63
|
* @throws {@link ActionNotFoundException} (client fault)
|
|
64
64
|
* <p>The specified action cannot be found.</p>
|
|
65
65
|
*
|
|
66
|
+
* @throws {@link ConcurrentPipelineExecutionsLimitExceededException} (client fault)
|
|
67
|
+
* <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
|
|
68
|
+
*
|
|
66
69
|
* @throws {@link PipelineNotFoundException} (client fault)
|
|
67
70
|
* <p>The pipeline was specified in an invalid format or cannot be found.</p>
|
|
68
71
|
*
|
|
@@ -61,6 +61,9 @@ declare const RetryStageExecutionCommand_base: {
|
|
|
61
61
|
* @see {@link RetryStageExecutionCommandOutput} for command's `response` shape.
|
|
62
62
|
* @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape.
|
|
63
63
|
*
|
|
64
|
+
* @throws {@link ConcurrentPipelineExecutionsLimitExceededException} (client fault)
|
|
65
|
+
* <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
|
|
66
|
+
*
|
|
64
67
|
* @throws {@link ConflictException} (client fault)
|
|
65
68
|
* <p>Your request cannot be handled because the pipeline is busy handling ongoing
|
|
66
69
|
* activities. Try again later.</p>
|
|
@@ -98,7 +98,92 @@ declare const UpdatePipelineCommand_base: {
|
|
|
98
98
|
* },
|
|
99
99
|
* ],
|
|
100
100
|
* onFailure: { // FailureConditions
|
|
101
|
-
* result: "ROLLBACK",
|
|
101
|
+
* result: "ROLLBACK" || "FAIL",
|
|
102
|
+
* conditions: [ // ConditionList
|
|
103
|
+
* { // Condition
|
|
104
|
+
* result: "ROLLBACK" || "FAIL",
|
|
105
|
+
* rules: [ // RuleDeclarationList
|
|
106
|
+
* { // RuleDeclaration
|
|
107
|
+
* name: "STRING_VALUE", // required
|
|
108
|
+
* ruleTypeId: { // RuleTypeId
|
|
109
|
+
* category: "Rule", // required
|
|
110
|
+
* owner: "AWS",
|
|
111
|
+
* provider: "STRING_VALUE", // required
|
|
112
|
+
* version: "STRING_VALUE",
|
|
113
|
+
* },
|
|
114
|
+
* configuration: { // RuleConfigurationMap
|
|
115
|
+
* "<keys>": "STRING_VALUE",
|
|
116
|
+
* },
|
|
117
|
+
* inputArtifacts: [
|
|
118
|
+
* {
|
|
119
|
+
* name: "STRING_VALUE", // required
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* roleArn: "STRING_VALUE",
|
|
123
|
+
* region: "STRING_VALUE",
|
|
124
|
+
* timeoutInMinutes: Number("int"),
|
|
125
|
+
* },
|
|
126
|
+
* ],
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
129
|
+
* },
|
|
130
|
+
* onSuccess: { // SuccessConditions
|
|
131
|
+
* conditions: [ // required
|
|
132
|
+
* {
|
|
133
|
+
* result: "ROLLBACK" || "FAIL",
|
|
134
|
+
* rules: [
|
|
135
|
+
* {
|
|
136
|
+
* name: "STRING_VALUE", // required
|
|
137
|
+
* ruleTypeId: {
|
|
138
|
+
* category: "Rule", // required
|
|
139
|
+
* owner: "AWS",
|
|
140
|
+
* provider: "STRING_VALUE", // required
|
|
141
|
+
* version: "STRING_VALUE",
|
|
142
|
+
* },
|
|
143
|
+
* configuration: {
|
|
144
|
+
* "<keys>": "STRING_VALUE",
|
|
145
|
+
* },
|
|
146
|
+
* inputArtifacts: [
|
|
147
|
+
* {
|
|
148
|
+
* name: "STRING_VALUE", // required
|
|
149
|
+
* },
|
|
150
|
+
* ],
|
|
151
|
+
* roleArn: "STRING_VALUE",
|
|
152
|
+
* region: "STRING_VALUE",
|
|
153
|
+
* timeoutInMinutes: Number("int"),
|
|
154
|
+
* },
|
|
155
|
+
* ],
|
|
156
|
+
* },
|
|
157
|
+
* ],
|
|
158
|
+
* },
|
|
159
|
+
* beforeEntry: { // BeforeEntryConditions
|
|
160
|
+
* conditions: [ // required
|
|
161
|
+
* {
|
|
162
|
+
* result: "ROLLBACK" || "FAIL",
|
|
163
|
+
* rules: [
|
|
164
|
+
* {
|
|
165
|
+
* name: "STRING_VALUE", // required
|
|
166
|
+
* ruleTypeId: {
|
|
167
|
+
* category: "Rule", // required
|
|
168
|
+
* owner: "AWS",
|
|
169
|
+
* provider: "STRING_VALUE", // required
|
|
170
|
+
* version: "STRING_VALUE",
|
|
171
|
+
* },
|
|
172
|
+
* configuration: {
|
|
173
|
+
* "<keys>": "STRING_VALUE",
|
|
174
|
+
* },
|
|
175
|
+
* inputArtifacts: [
|
|
176
|
+
* {
|
|
177
|
+
* name: "STRING_VALUE", // required
|
|
178
|
+
* },
|
|
179
|
+
* ],
|
|
180
|
+
* roleArn: "STRING_VALUE",
|
|
181
|
+
* region: "STRING_VALUE",
|
|
182
|
+
* timeoutInMinutes: Number("int"),
|
|
183
|
+
* },
|
|
184
|
+
* ],
|
|
185
|
+
* },
|
|
186
|
+
* ],
|
|
102
187
|
* },
|
|
103
188
|
* },
|
|
104
189
|
* ],
|
|
@@ -236,7 +321,92 @@ declare const UpdatePipelineCommand_base: {
|
|
|
236
321
|
* // },
|
|
237
322
|
* // ],
|
|
238
323
|
* // onFailure: { // FailureConditions
|
|
239
|
-
* // result: "ROLLBACK",
|
|
324
|
+
* // result: "ROLLBACK" || "FAIL",
|
|
325
|
+
* // conditions: [ // ConditionList
|
|
326
|
+
* // { // Condition
|
|
327
|
+
* // result: "ROLLBACK" || "FAIL",
|
|
328
|
+
* // rules: [ // RuleDeclarationList
|
|
329
|
+
* // { // RuleDeclaration
|
|
330
|
+
* // name: "STRING_VALUE", // required
|
|
331
|
+
* // ruleTypeId: { // RuleTypeId
|
|
332
|
+
* // category: "Rule", // required
|
|
333
|
+
* // owner: "AWS",
|
|
334
|
+
* // provider: "STRING_VALUE", // required
|
|
335
|
+
* // version: "STRING_VALUE",
|
|
336
|
+
* // },
|
|
337
|
+
* // configuration: { // RuleConfigurationMap
|
|
338
|
+
* // "<keys>": "STRING_VALUE",
|
|
339
|
+
* // },
|
|
340
|
+
* // inputArtifacts: [
|
|
341
|
+
* // {
|
|
342
|
+
* // name: "STRING_VALUE", // required
|
|
343
|
+
* // },
|
|
344
|
+
* // ],
|
|
345
|
+
* // roleArn: "STRING_VALUE",
|
|
346
|
+
* // region: "STRING_VALUE",
|
|
347
|
+
* // timeoutInMinutes: Number("int"),
|
|
348
|
+
* // },
|
|
349
|
+
* // ],
|
|
350
|
+
* // },
|
|
351
|
+
* // ],
|
|
352
|
+
* // },
|
|
353
|
+
* // onSuccess: { // SuccessConditions
|
|
354
|
+
* // conditions: [ // required
|
|
355
|
+
* // {
|
|
356
|
+
* // result: "ROLLBACK" || "FAIL",
|
|
357
|
+
* // rules: [
|
|
358
|
+
* // {
|
|
359
|
+
* // name: "STRING_VALUE", // required
|
|
360
|
+
* // ruleTypeId: {
|
|
361
|
+
* // category: "Rule", // required
|
|
362
|
+
* // owner: "AWS",
|
|
363
|
+
* // provider: "STRING_VALUE", // required
|
|
364
|
+
* // version: "STRING_VALUE",
|
|
365
|
+
* // },
|
|
366
|
+
* // configuration: {
|
|
367
|
+
* // "<keys>": "STRING_VALUE",
|
|
368
|
+
* // },
|
|
369
|
+
* // inputArtifacts: [
|
|
370
|
+
* // {
|
|
371
|
+
* // name: "STRING_VALUE", // required
|
|
372
|
+
* // },
|
|
373
|
+
* // ],
|
|
374
|
+
* // roleArn: "STRING_VALUE",
|
|
375
|
+
* // region: "STRING_VALUE",
|
|
376
|
+
* // timeoutInMinutes: Number("int"),
|
|
377
|
+
* // },
|
|
378
|
+
* // ],
|
|
379
|
+
* // },
|
|
380
|
+
* // ],
|
|
381
|
+
* // },
|
|
382
|
+
* // beforeEntry: { // BeforeEntryConditions
|
|
383
|
+
* // conditions: [ // required
|
|
384
|
+
* // {
|
|
385
|
+
* // result: "ROLLBACK" || "FAIL",
|
|
386
|
+
* // rules: [
|
|
387
|
+
* // {
|
|
388
|
+
* // name: "STRING_VALUE", // required
|
|
389
|
+
* // ruleTypeId: {
|
|
390
|
+
* // category: "Rule", // required
|
|
391
|
+
* // owner: "AWS",
|
|
392
|
+
* // provider: "STRING_VALUE", // required
|
|
393
|
+
* // version: "STRING_VALUE",
|
|
394
|
+
* // },
|
|
395
|
+
* // configuration: {
|
|
396
|
+
* // "<keys>": "STRING_VALUE",
|
|
397
|
+
* // },
|
|
398
|
+
* // inputArtifacts: [
|
|
399
|
+
* // {
|
|
400
|
+
* // name: "STRING_VALUE", // required
|
|
401
|
+
* // },
|
|
402
|
+
* // ],
|
|
403
|
+
* // roleArn: "STRING_VALUE",
|
|
404
|
+
* // region: "STRING_VALUE",
|
|
405
|
+
* // timeoutInMinutes: Number("int"),
|
|
406
|
+
* // },
|
|
407
|
+
* // ],
|
|
408
|
+
* // },
|
|
409
|
+
* // ],
|
|
240
410
|
* // },
|
|
241
411
|
* // },
|
|
242
412
|
* // ],
|
|
@@ -18,8 +18,11 @@ export * from "./ListActionExecutionsCommand";
|
|
|
18
18
|
export * from "./ListActionTypesCommand";
|
|
19
19
|
export * from "./ListPipelineExecutionsCommand";
|
|
20
20
|
export * from "./ListPipelinesCommand";
|
|
21
|
+
export * from "./ListRuleExecutionsCommand";
|
|
22
|
+
export * from "./ListRuleTypesCommand";
|
|
21
23
|
export * from "./ListTagsForResourceCommand";
|
|
22
24
|
export * from "./ListWebhooksCommand";
|
|
25
|
+
export * from "./OverrideStageConditionCommand";
|
|
23
26
|
export * from "./PollForJobsCommand";
|
|
24
27
|
export * from "./PollForThirdPartyJobsCommand";
|
|
25
28
|
export * from "./PutActionRevisionCommand";
|