@aws-sdk/client-codepipeline 3.428.0 → 3.430.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.
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const q = "required", r = "fn", s = "argv", t = "ref";
5
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
6
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
7
7
  exports.ruleSet = _data;
@@ -516,6 +516,7 @@ class NotLatestPipelineExecutionException extends CodePipelineServiceException_1
516
516
  }
517
517
  exports.NotLatestPipelineExecutionException = NotLatestPipelineExecutionException;
518
518
  exports.StageRetryMode = {
519
+ ALL_ACTIONS: "ALL_ACTIONS",
519
520
  FAILED_ACTIONS: "FAILED_ACTIONS",
520
521
  };
521
522
  class StageNotRetryableException extends CodePipelineServiceException_1.CodePipelineServiceException {
@@ -1,4 +1,4 @@
1
- const q = "required", r = "fn", s = "argv", t = "ref";
2
- const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
- const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }, { conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://codepipeline-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://codepipeline.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
4
4
  export const ruleSet = _data;
@@ -480,6 +480,7 @@ export class NotLatestPipelineExecutionException extends __BaseException {
480
480
  }
481
481
  }
482
482
  export const StageRetryMode = {
483
+ ALL_ACTIONS: "ALL_ACTIONS",
483
484
  FAILED_ACTIONS: "FAILED_ACTIONS",
484
485
  };
485
486
  export class StageNotRetryableException extends __BaseException {
@@ -23,10 +23,10 @@ export interface RetryStageExecutionCommandOutput extends RetryStageExecutionOut
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Resumes the pipeline execution by retrying the last failed actions in a stage. You
27
- * can retry a stage immediately if any of the actions in the stage fail. When you retry,
26
+ * <p>You can retry a stage that has failed without having to run a pipeline again from the beginning. You do
27
+ * this by either retrying the failed actions in a stage or by retrying all actions in the stage starting from the first action in the stage. When you retry the failed actions in a stage,
28
28
  * all actions that are still in progress continue working, and failed actions are
29
- * triggered again.</p>
29
+ * triggered again. When you retry a failed stage from the first action in the stage, the stage cannot have any actions in progress. Before a stage can be retried, it must either have all actions failed or some actions failed and some succeeded.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
32
32
  * ```javascript
@@ -37,7 +37,7 @@ export interface RetryStageExecutionCommandOutput extends RetryStageExecutionOut
37
37
  * pipelineName: "STRING_VALUE", // required
38
38
  * stageName: "STRING_VALUE", // required
39
39
  * pipelineExecutionId: "STRING_VALUE", // required
40
- * retryMode: "FAILED_ACTIONS", // required
40
+ * retryMode: "FAILED_ACTIONS" || "ALL_ACTIONS", // required
41
41
  * };
42
42
  * const command = new RetryStageExecutionCommand(input);
43
43
  * const response = await client.send(command);
@@ -45,7 +45,7 @@ export interface AcknowledgeJobOutput {
45
45
  * @public
46
46
  * <p>Whether the job worker has received the specified job.</p>
47
47
  */
48
- status?: JobStatus | string;
48
+ status?: JobStatus;
49
49
  }
50
50
  /**
51
51
  * @public
@@ -116,7 +116,7 @@ export interface AcknowledgeThirdPartyJobOutput {
116
116
  * @public
117
117
  * <p>The status information for the third party job, if any.</p>
118
118
  */
119
- status?: JobStatus | string;
119
+ status?: JobStatus;
120
120
  }
121
121
  /**
122
122
  * @public
@@ -220,7 +220,7 @@ export interface ActionConfigurationProperty {
220
220
  * @public
221
221
  * <p>The type of the configuration property.</p>
222
222
  */
223
- type?: ActionConfigurationPropertyType | string;
223
+ type?: ActionConfigurationPropertyType;
224
224
  }
225
225
  /**
226
226
  * @public
@@ -283,7 +283,7 @@ export interface ActionTypeId {
283
283
  * </li>
284
284
  * </ul>
285
285
  */
286
- category: ActionCategory | string | undefined;
286
+ category: ActionCategory | undefined;
287
287
  /**
288
288
  * @public
289
289
  * <p>The creator of the action being called. There are three valid values for the
@@ -291,7 +291,7 @@ export interface ActionTypeId {
291
291
  * structure: <code>AWS</code>, <code>ThirdParty</code>, and <code>Custom</code>. For more
292
292
  * information, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-pipeline-structure.html#actions-valid-providers">Valid Action Types and Providers in CodePipeline</a>.</p>
293
293
  */
294
- owner: ActionOwner | string | undefined;
294
+ owner: ActionOwner | undefined;
295
295
  /**
296
296
  * @public
297
297
  * <p>The provider of the service being called by the action. Valid providers are
@@ -461,7 +461,7 @@ export interface ActionExecution {
461
461
  * <p>The status of the action, or for a completed action, the last status of the
462
462
  * action.</p>
463
463
  */
464
- status?: ActionExecutionStatus | string;
464
+ status?: ActionExecutionStatus;
465
465
  /**
466
466
  * @public
467
467
  * <p>A summary of the run of the action.</p>
@@ -677,7 +677,7 @@ export interface ActionExecutionDetail {
677
677
  * <p> The status of the action execution. Status categories are <code>InProgress</code>,
678
678
  * <code>Succeeded</code>, and <code>Failed</code>.</p>
679
679
  */
680
- status?: ActionExecutionStatus | string;
680
+ status?: ActionExecutionStatus;
681
681
  /**
682
682
  * @public
683
683
  * <p>Input details for the action execution, such as role ARN, Region, and input
@@ -952,7 +952,7 @@ export interface ActionTypeExecutor {
952
952
  * <p>The integration model used to create and update the action type, <code>Lambda</code>
953
953
  * or <code>JobWorker</code>. </p>
954
954
  */
955
- type: ExecutorType | string | undefined;
955
+ type: ExecutorType | undefined;
956
956
  /**
957
957
  * @public
958
958
  * <p>The policy statement that specifies the permissions in the CodePipeline customer
@@ -1013,7 +1013,7 @@ export interface ActionTypeIdentifier {
1013
1013
  * </li>
1014
1014
  * </ul>
1015
1015
  */
1016
- category: ActionCategory | string | undefined;
1016
+ category: ActionCategory | undefined;
1017
1017
  /**
1018
1018
  * @public
1019
1019
  * <p>The creator of the action type being called: <code>AWS</code> or
@@ -1221,7 +1221,7 @@ export interface ApprovalResult {
1221
1221
  * <p>The response submitted by a reviewer assigned to an approval action
1222
1222
  * request.</p>
1223
1223
  */
1224
- status: ApprovalStatus | string | undefined;
1224
+ status: ApprovalStatus | undefined;
1225
1225
  }
1226
1226
  /**
1227
1227
  * @public
@@ -1260,7 +1260,7 @@ export interface ArtifactLocation {
1260
1260
  * @public
1261
1261
  * <p>The type of artifact in the location.</p>
1262
1262
  */
1263
- type?: ArtifactLocationType | string;
1263
+ type?: ArtifactLocationType;
1264
1264
  /**
1265
1265
  * @public
1266
1266
  * <p>The S3 bucket that contains the artifact.</p>
@@ -1371,7 +1371,7 @@ export interface EncryptionKey {
1371
1371
  * <p>The type of encryption key, such as an Amazon Web Services KMS key. When creating or
1372
1372
  * updating a pipeline, the value must be set to 'KMS'.</p>
1373
1373
  */
1374
- type: EncryptionKeyType | string | undefined;
1374
+ type: EncryptionKeyType | undefined;
1375
1375
  }
1376
1376
  /**
1377
1377
  * @public
@@ -1399,7 +1399,7 @@ export interface ArtifactStore {
1399
1399
  * @public
1400
1400
  * <p>The type of the artifact store, such as S3.</p>
1401
1401
  */
1402
- type: ArtifactStoreType | string | undefined;
1402
+ type: ArtifactStoreType | undefined;
1403
1403
  /**
1404
1404
  * @public
1405
1405
  * <p>The S3 bucket used for storing the artifacts for a pipeline. You can specify the
@@ -1466,7 +1466,7 @@ export interface BlockerDeclaration {
1466
1466
  * @public
1467
1467
  * <p>Reserved for future use.</p>
1468
1468
  */
1469
- type: BlockerType | string | undefined;
1469
+ type: BlockerType | undefined;
1470
1470
  }
1471
1471
  /**
1472
1472
  * @public
@@ -1506,7 +1506,7 @@ export interface CreateCustomActionTypeInput {
1506
1506
  * <p>The category of the custom action, such as a build action or a test
1507
1507
  * action.</p>
1508
1508
  */
1509
- category: ActionCategory | string | undefined;
1509
+ category: ActionCategory | undefined;
1510
1510
  /**
1511
1511
  * @public
1512
1512
  * <p>The provider of the service used in the custom action, such as
@@ -1784,7 +1784,7 @@ export interface DeleteCustomActionTypeInput {
1784
1784
  * <p>The category of the custom action that you want to delete, such as source or
1785
1785
  * deploy.</p>
1786
1786
  */
1787
- category: ActionCategory | string | undefined;
1787
+ category: ActionCategory | undefined;
1788
1788
  /**
1789
1789
  * @public
1790
1790
  * <p>The provider of the service used in the custom action, such as
@@ -1887,7 +1887,7 @@ export interface DisableStageTransitionInput {
1887
1887
  * from the stage after they have been processed by the actions in that stage
1888
1888
  * (outbound).</p>
1889
1889
  */
1890
- transitionType: StageTransitionType | string | undefined;
1890
+ transitionType: StageTransitionType | undefined;
1891
1891
  /**
1892
1892
  * @public
1893
1893
  * <p>The reason given to the user that a stage is disabled, such as waiting for manual
@@ -1943,7 +1943,7 @@ export interface EnableStageTransitionInput {
1943
1943
  * actions in that stage (inbound) or whether already processed artifacts are allowed to
1944
1944
  * transition to the next stage (outbound).</p>
1945
1945
  */
1946
- transitionType: StageTransitionType | string | undefined;
1946
+ transitionType: StageTransitionType | undefined;
1947
1947
  }
1948
1948
  /**
1949
1949
  * @public
@@ -1986,7 +1986,7 @@ export interface GetActionTypeInput {
1986
1986
  * </li>
1987
1987
  * </ul>
1988
1988
  */
1989
- category: ActionCategory | string | undefined;
1989
+ category: ActionCategory | undefined;
1990
1990
  /**
1991
1991
  * @public
1992
1992
  * <p>The creator of an action type that was created with any supported integration model.
@@ -2337,7 +2337,7 @@ export interface PipelineExecution {
2337
2337
  * </li>
2338
2338
  * </ul>
2339
2339
  */
2340
- status?: PipelineExecutionStatus | string;
2340
+ status?: PipelineExecutionStatus;
2341
2341
  /**
2342
2342
  * @public
2343
2343
  * <p>A summary that contains a description of the pipeline execution status.</p>
@@ -2420,7 +2420,7 @@ export interface StageExecution {
2420
2420
  * stage execution could be completed.</p>
2421
2421
  * </note>
2422
2422
  */
2423
- status: StageExecutionStatus | string | undefined;
2423
+ status: StageExecutionStatus | undefined;
2424
2424
  }
2425
2425
  /**
2426
2426
  * @public
@@ -2716,7 +2716,7 @@ export interface ListActionTypesInput {
2716
2716
  * @public
2717
2717
  * <p>Filters the list of action types to those created by a specified entity.</p>
2718
2718
  */
2719
- actionOwnerFilter?: ActionOwner | string;
2719
+ actionOwnerFilter?: ActionOwner;
2720
2720
  /**
2721
2721
  * @public
2722
2722
  * <p>An identifier that was returned from the previous list action types call, which can
@@ -2844,7 +2844,7 @@ export interface ExecutionTrigger {
2844
2844
  * <p>The type of change-detection method, command, or user interaction that started a
2845
2845
  * pipeline execution.</p>
2846
2846
  */
2847
- triggerType?: TriggerType | string;
2847
+ triggerType?: TriggerType;
2848
2848
  /**
2849
2849
  * @public
2850
2850
  * <p>Detail related to the event that started a pipeline execution, such as the webhook ARN
@@ -2892,7 +2892,7 @@ export interface PipelineExecutionSummary {
2892
2892
  * </li>
2893
2893
  * </ul>
2894
2894
  */
2895
- status?: PipelineExecutionStatus | string;
2895
+ status?: PipelineExecutionStatus;
2896
2896
  /**
2897
2897
  * @public
2898
2898
  * <p>The date and time when the pipeline execution began, in timestamp format.</p>
@@ -3193,7 +3193,7 @@ export interface WebhookDefinition {
3193
3193
  * </li>
3194
3194
  * </ul>
3195
3195
  */
3196
- authentication: WebhookAuthenticationType | string | undefined;
3196
+ authentication: WebhookAuthenticationType | undefined;
3197
3197
  /**
3198
3198
  * @public
3199
3199
  * <p>Properties that configure the authentication applied to incoming webhook trigger
@@ -3513,7 +3513,7 @@ export interface FailureDetails {
3513
3513
  * @public
3514
3514
  * <p>The type of the failure.</p>
3515
3515
  */
3516
- type: FailureType | string | undefined;
3516
+ type: FailureType | undefined;
3517
3517
  /**
3518
3518
  * @public
3519
3519
  * <p>The message about the failure.</p>
@@ -3809,6 +3809,7 @@ export declare class NotLatestPipelineExecutionException extends __BaseException
3809
3809
  * @enum
3810
3810
  */
3811
3811
  export declare const StageRetryMode: {
3812
+ readonly ALL_ACTIONS: "ALL_ACTIONS";
3812
3813
  readonly FAILED_ACTIONS: "FAILED_ACTIONS";
3813
3814
  };
3814
3815
  /**
@@ -3838,10 +3839,9 @@ export interface RetryStageExecutionInput {
3838
3839
  pipelineExecutionId: string | undefined;
3839
3840
  /**
3840
3841
  * @public
3841
- * <p>The scope of the retry attempt. Currently, the only supported value is
3842
- * FAILED_ACTIONS.</p>
3842
+ * <p>The scope of the retry attempt.</p>
3843
3843
  */
3844
- retryMode: StageRetryMode | string | undefined;
3844
+ retryMode: StageRetryMode | undefined;
3845
3845
  }
3846
3846
  /**
3847
3847
  * @public
@@ -15,7 +15,7 @@ export declare const JobStatus: {
15
15
  };
16
16
  export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
17
17
  export interface AcknowledgeJobOutput {
18
- status?: JobStatus | string;
18
+ status?: JobStatus;
19
19
  }
20
20
  export declare class InvalidNonceException extends __BaseException {
21
21
  readonly name: "InvalidNonceException";
@@ -44,7 +44,7 @@ export interface AcknowledgeThirdPartyJobInput {
44
44
  clientToken: string | undefined;
45
45
  }
46
46
  export interface AcknowledgeThirdPartyJobOutput {
47
- status?: JobStatus | string;
47
+ status?: JobStatus;
48
48
  }
49
49
  export declare class InvalidClientTokenException extends __BaseException {
50
50
  readonly name: "InvalidClientTokenException";
@@ -80,7 +80,7 @@ export interface ActionConfigurationProperty {
80
80
  secret: boolean | undefined;
81
81
  queryable?: boolean;
82
82
  description?: string;
83
- type?: ActionConfigurationPropertyType | string;
83
+ type?: ActionConfigurationPropertyType;
84
84
  }
85
85
  export interface ActionContext {
86
86
  name?: string;
@@ -93,8 +93,8 @@ export declare const ActionOwner: {
93
93
  };
94
94
  export type ActionOwner = (typeof ActionOwner)[keyof typeof ActionOwner];
95
95
  export interface ActionTypeId {
96
- category: ActionCategory | string | undefined;
97
- owner: ActionOwner | string | undefined;
96
+ category: ActionCategory | undefined;
97
+ owner: ActionOwner | undefined;
98
98
  provider: string | undefined;
99
99
  version: string | undefined;
100
100
  }
@@ -129,7 +129,7 @@ export type ActionExecutionStatus =
129
129
  (typeof ActionExecutionStatus)[keyof typeof ActionExecutionStatus];
130
130
  export interface ActionExecution {
131
131
  actionExecutionId?: string;
132
- status?: ActionExecutionStatus | string;
132
+ status?: ActionExecutionStatus;
133
133
  summary?: string;
134
134
  lastStatusChange?: Date;
135
135
  token?: string;
@@ -174,7 +174,7 @@ export interface ActionExecutionDetail {
174
174
  actionName?: string;
175
175
  startTime?: Date;
176
176
  lastUpdateTime?: Date;
177
- status?: ActionExecutionStatus | string;
177
+ status?: ActionExecutionStatus;
178
178
  input?: ActionExecutionInput;
179
179
  output?: ActionExecutionOutput;
180
180
  }
@@ -239,12 +239,12 @@ export declare const ExecutorType: {
239
239
  export type ExecutorType = (typeof ExecutorType)[keyof typeof ExecutorType];
240
240
  export interface ActionTypeExecutor {
241
241
  configuration: ExecutorConfiguration | undefined;
242
- type: ExecutorType | string | undefined;
242
+ type: ExecutorType | undefined;
243
243
  policyStatementsTemplate?: string;
244
244
  jobTimeout?: number;
245
245
  }
246
246
  export interface ActionTypeIdentifier {
247
- category: ActionCategory | string | undefined;
247
+ category: ActionCategory | undefined;
248
248
  owner: string | undefined;
249
249
  provider: string | undefined;
250
250
  version: string | undefined;
@@ -301,7 +301,7 @@ export type ApprovalStatus =
301
301
  (typeof ApprovalStatus)[keyof typeof ApprovalStatus];
302
302
  export interface ApprovalResult {
303
303
  summary: string | undefined;
304
- status: ApprovalStatus | string | undefined;
304
+ status: ApprovalStatus | undefined;
305
305
  }
306
306
  export interface S3ArtifactLocation {
307
307
  bucketName: string | undefined;
@@ -313,7 +313,7 @@ export declare const ArtifactLocationType: {
313
313
  export type ArtifactLocationType =
314
314
  (typeof ArtifactLocationType)[keyof typeof ArtifactLocationType];
315
315
  export interface ArtifactLocation {
316
- type?: ArtifactLocationType | string;
316
+ type?: ArtifactLocationType;
317
317
  s3Location?: S3ArtifactLocation;
318
318
  }
319
319
  export interface Artifact {
@@ -336,7 +336,7 @@ export type EncryptionKeyType =
336
336
  (typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
337
337
  export interface EncryptionKey {
338
338
  id: string | undefined;
339
- type: EncryptionKeyType | string | undefined;
339
+ type: EncryptionKeyType | undefined;
340
340
  }
341
341
  export declare const ArtifactStoreType: {
342
342
  readonly S3: "S3";
@@ -344,7 +344,7 @@ export declare const ArtifactStoreType: {
344
344
  export type ArtifactStoreType =
345
345
  (typeof ArtifactStoreType)[keyof typeof ArtifactStoreType];
346
346
  export interface ArtifactStore {
347
- type: ArtifactStoreType | string | undefined;
347
+ type: ArtifactStoreType | undefined;
348
348
  location: string | undefined;
349
349
  encryptionKey?: EncryptionKey;
350
350
  }
@@ -359,7 +359,7 @@ export declare const BlockerType: {
359
359
  export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
360
360
  export interface BlockerDeclaration {
361
361
  name: string | undefined;
362
- type: BlockerType | string | undefined;
362
+ type: BlockerType | undefined;
363
363
  }
364
364
  export declare class ConcurrentModificationException extends __BaseException {
365
365
  readonly name: "ConcurrentModificationException";
@@ -376,7 +376,7 @@ export interface Tag {
376
376
  value: string | undefined;
377
377
  }
378
378
  export interface CreateCustomActionTypeInput {
379
- category: ActionCategory | string | undefined;
379
+ category: ActionCategory | undefined;
380
380
  provider: string | undefined;
381
381
  version: string | undefined;
382
382
  settings?: ActionTypeSettings;
@@ -476,7 +476,7 @@ export declare class PipelineNameInUseException extends __BaseException {
476
476
  );
477
477
  }
478
478
  export interface DeleteCustomActionTypeInput {
479
- category: ActionCategory | string | undefined;
479
+ category: ActionCategory | undefined;
480
480
  provider: string | undefined;
481
481
  version: string | undefined;
482
482
  }
@@ -507,7 +507,7 @@ export type StageTransitionType =
507
507
  export interface DisableStageTransitionInput {
508
508
  pipelineName: string | undefined;
509
509
  stageName: string | undefined;
510
- transitionType: StageTransitionType | string | undefined;
510
+ transitionType: StageTransitionType | undefined;
511
511
  reason: string | undefined;
512
512
  }
513
513
  export declare class PipelineNotFoundException extends __BaseException {
@@ -527,10 +527,10 @@ export declare class StageNotFoundException extends __BaseException {
527
527
  export interface EnableStageTransitionInput {
528
528
  pipelineName: string | undefined;
529
529
  stageName: string | undefined;
530
- transitionType: StageTransitionType | string | undefined;
530
+ transitionType: StageTransitionType | undefined;
531
531
  }
532
532
  export interface GetActionTypeInput {
533
- category: ActionCategory | string | undefined;
533
+ category: ActionCategory | undefined;
534
534
  owner: string | undefined;
535
535
  provider: string | undefined;
536
536
  version: string | undefined;
@@ -612,7 +612,7 @@ export interface PipelineExecution {
612
612
  pipelineName?: string;
613
613
  pipelineVersion?: number;
614
614
  pipelineExecutionId?: string;
615
- status?: PipelineExecutionStatus | string;
615
+ status?: PipelineExecutionStatus;
616
616
  statusSummary?: string;
617
617
  artifactRevisions?: ArtifactRevision[];
618
618
  }
@@ -644,7 +644,7 @@ export type StageExecutionStatus =
644
644
  (typeof StageExecutionStatus)[keyof typeof StageExecutionStatus];
645
645
  export interface StageExecution {
646
646
  pipelineExecutionId: string | undefined;
647
- status: StageExecutionStatus | string | undefined;
647
+ status: StageExecutionStatus | undefined;
648
648
  }
649
649
  export interface TransitionState {
650
650
  enabled?: boolean;
@@ -713,7 +713,7 @@ export interface ListActionExecutionsOutput {
713
713
  nextToken?: string;
714
714
  }
715
715
  export interface ListActionTypesInput {
716
- actionOwnerFilter?: ActionOwner | string;
716
+ actionOwnerFilter?: ActionOwner;
717
717
  nextToken?: string;
718
718
  regionFilter?: string;
719
719
  }
@@ -745,12 +745,12 @@ export declare const TriggerType: {
745
745
  };
746
746
  export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
747
747
  export interface ExecutionTrigger {
748
- triggerType?: TriggerType | string;
748
+ triggerType?: TriggerType;
749
749
  triggerDetail?: string;
750
750
  }
751
751
  export interface PipelineExecutionSummary {
752
752
  pipelineExecutionId?: string;
753
- status?: PipelineExecutionStatus | string;
753
+ status?: PipelineExecutionStatus;
754
754
  startTime?: Date;
755
755
  lastUpdateTime?: Date;
756
756
  sourceRevisions?: SourceRevision[];
@@ -822,7 +822,7 @@ export interface WebhookDefinition {
822
822
  targetPipeline: string | undefined;
823
823
  targetAction: string | undefined;
824
824
  filters: WebhookFilterRule[] | undefined;
825
- authentication: WebhookAuthenticationType | string | undefined;
825
+ authentication: WebhookAuthenticationType | undefined;
826
826
  authenticationConfiguration: WebhookAuthConfiguration | undefined;
827
827
  }
828
828
  export interface ListWebhookItem {
@@ -907,7 +907,7 @@ export declare const FailureType: {
907
907
  };
908
908
  export type FailureType = (typeof FailureType)[keyof typeof FailureType];
909
909
  export interface FailureDetails {
910
- type: FailureType | string | undefined;
910
+ type: FailureType | undefined;
911
911
  message: string | undefined;
912
912
  externalExecutionId?: string;
913
913
  }
@@ -1002,6 +1002,7 @@ export declare class NotLatestPipelineExecutionException extends __BaseException
1002
1002
  );
1003
1003
  }
1004
1004
  export declare const StageRetryMode: {
1005
+ readonly ALL_ACTIONS: "ALL_ACTIONS";
1005
1006
  readonly FAILED_ACTIONS: "FAILED_ACTIONS";
1006
1007
  };
1007
1008
  export type StageRetryMode =
@@ -1010,7 +1011,7 @@ export interface RetryStageExecutionInput {
1010
1011
  pipelineName: string | undefined;
1011
1012
  stageName: string | undefined;
1012
1013
  pipelineExecutionId: string | undefined;
1013
- retryMode: StageRetryMode | string | undefined;
1014
+ retryMode: StageRetryMode | undefined;
1014
1015
  }
1015
1016
  export interface RetryStageExecutionOutput {
1016
1017
  pipelineExecutionId?: string;
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.428.0",
4
+ "version": "3.430.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",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",