@aws-sdk/client-codepipeline 3.429.0 → 3.431.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-types/commands/RetryStageExecutionCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +1 -0
- package/package.json +11 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet",
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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
|
|
2
|
-
const a = "isSet",
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
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>
|
|
27
|
-
*
|
|
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);
|
|
@@ -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,8 +3839,7 @@ export interface RetryStageExecutionInput {
|
|
|
3838
3839
|
pipelineExecutionId: string | undefined;
|
|
3839
3840
|
/**
|
|
3840
3841
|
* @public
|
|
3841
|
-
* <p>The scope of the retry attempt
|
|
3842
|
-
* FAILED_ACTIONS.</p>
|
|
3842
|
+
* <p>The scope of the retry attempt.</p>
|
|
3843
3843
|
*/
|
|
3844
3844
|
retryMode: StageRetryMode | undefined;
|
|
3845
3845
|
}
|
|
@@ -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 =
|
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.431.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.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.431.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.431.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.431.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.
|
|
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.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
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.
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
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.
|
|
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.
|
|
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",
|