@aws-sdk/client-codepipeline 3.670.0 → 3.671.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 +16 -6
- package/dist-es/models/models_0.js +11 -4
- package/dist-es/protocols/Aws_json1_1.js +1 -0
- package/dist-types/commands/CreatePipelineCommand.d.ts +14 -8
- package/dist-types/commands/GetPipelineCommand.d.ts +7 -4
- package/dist-types/commands/GetPipelineStateCommand.d.ts +8 -3
- package/dist-types/commands/ListRuleExecutionsCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePipelineCommand.d.ts +14 -8
- package/dist-types/models/models_0.d.ts +141 -68
- package/dist-types/ts3.4/models/models_0.d.ts +24 -6
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -122,6 +122,7 @@ __export(src_exports, {
|
|
|
122
122
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
123
123
|
Result: () => Result,
|
|
124
124
|
RetryStageExecutionCommand: () => RetryStageExecutionCommand,
|
|
125
|
+
RetryTrigger: () => RetryTrigger,
|
|
125
126
|
RollbackStageCommand: () => RollbackStageCommand,
|
|
126
127
|
RuleCategory: () => RuleCategory,
|
|
127
128
|
RuleConfigurationPropertyType: () => RuleConfigurationPropertyType,
|
|
@@ -502,7 +503,9 @@ var ArtifactStoreType = {
|
|
|
502
503
|
};
|
|
503
504
|
var Result = {
|
|
504
505
|
FAIL: "FAIL",
|
|
505
|
-
|
|
506
|
+
RETRY: "RETRY",
|
|
507
|
+
ROLLBACK: "ROLLBACK",
|
|
508
|
+
SKIP: "SKIP"
|
|
506
509
|
};
|
|
507
510
|
var RuleCategory = {
|
|
508
511
|
Rule: "Rule"
|
|
@@ -590,6 +593,10 @@ var PipelineType = {
|
|
|
590
593
|
V1: "V1",
|
|
591
594
|
V2: "V2"
|
|
592
595
|
};
|
|
596
|
+
var StageRetryMode = {
|
|
597
|
+
ALL_ACTIONS: "ALL_ACTIONS",
|
|
598
|
+
FAILED_ACTIONS: "FAILED_ACTIONS"
|
|
599
|
+
};
|
|
593
600
|
var GitPullRequestEventType = {
|
|
594
601
|
CLOSED: "CLOSED",
|
|
595
602
|
OPEN: "OPEN",
|
|
@@ -815,10 +822,15 @@ var StageExecutionStatus = {
|
|
|
815
822
|
Cancelled: "Cancelled",
|
|
816
823
|
Failed: "Failed",
|
|
817
824
|
InProgress: "InProgress",
|
|
825
|
+
Skipped: "Skipped",
|
|
818
826
|
Stopped: "Stopped",
|
|
819
827
|
Stopping: "Stopping",
|
|
820
828
|
Succeeded: "Succeeded"
|
|
821
829
|
};
|
|
830
|
+
var RetryTrigger = {
|
|
831
|
+
AutomatedStageRetry: "AutomatedStageRetry",
|
|
832
|
+
ManualStageRetry: "ManualStageRetry"
|
|
833
|
+
};
|
|
822
834
|
var _InvalidJobException = class _InvalidJobException extends CodePipelineServiceException {
|
|
823
835
|
/**
|
|
824
836
|
* @internal
|
|
@@ -1062,10 +1074,6 @@ var _InvalidWebhookFilterPatternException = class _InvalidWebhookFilterPatternEx
|
|
|
1062
1074
|
};
|
|
1063
1075
|
__name(_InvalidWebhookFilterPatternException, "InvalidWebhookFilterPatternException");
|
|
1064
1076
|
var InvalidWebhookFilterPatternException = _InvalidWebhookFilterPatternException;
|
|
1065
|
-
var StageRetryMode = {
|
|
1066
|
-
ALL_ACTIONS: "ALL_ACTIONS",
|
|
1067
|
-
FAILED_ACTIONS: "FAILED_ACTIONS"
|
|
1068
|
-
};
|
|
1069
1077
|
var _StageNotRetryableException = class _StageNotRetryableException extends CodePipelineServiceException {
|
|
1070
1078
|
/**
|
|
1071
1079
|
* @internal
|
|
@@ -2858,6 +2866,7 @@ var de_StageState = /* @__PURE__ */ __name((output, context) => {
|
|
|
2858
2866
|
latestExecution: import_smithy_client._json,
|
|
2859
2867
|
onFailureConditionState: (_) => de_StageConditionState(_, context),
|
|
2860
2868
|
onSuccessConditionState: (_) => de_StageConditionState(_, context),
|
|
2869
|
+
retryStageMetadata: import_smithy_client._json,
|
|
2861
2870
|
stageName: import_smithy_client.expectString
|
|
2862
2871
|
});
|
|
2863
2872
|
}, "de_StageState");
|
|
@@ -3683,6 +3692,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
|
|
|
3683
3692
|
TooManyTagsException,
|
|
3684
3693
|
ExecutionMode,
|
|
3685
3694
|
PipelineType,
|
|
3695
|
+
StageRetryMode,
|
|
3686
3696
|
GitPullRequestEventType,
|
|
3687
3697
|
PipelineTriggerProviderType,
|
|
3688
3698
|
InvalidActionDeclarationException,
|
|
@@ -3702,6 +3712,7 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
|
|
|
3702
3712
|
ConditionExecutionStatus,
|
|
3703
3713
|
RuleExecutionStatus,
|
|
3704
3714
|
StageExecutionStatus,
|
|
3715
|
+
RetryTrigger,
|
|
3705
3716
|
InvalidJobException,
|
|
3706
3717
|
InvalidNextTokenException,
|
|
3707
3718
|
RuleConfigurationPropertyType,
|
|
@@ -3719,7 +3730,6 @@ var paginateListWebhooks = (0, import_core.createPaginator)(CodePipelineClient,
|
|
|
3719
3730
|
OutputVariablesSizeExceededException,
|
|
3720
3731
|
InvalidWebhookAuthenticationParametersException,
|
|
3721
3732
|
InvalidWebhookFilterPatternException,
|
|
3722
|
-
StageRetryMode,
|
|
3723
3733
|
StageNotRetryableException,
|
|
3724
3734
|
PipelineExecutionOutdatedException,
|
|
3725
3735
|
UnableToRollbackStageException,
|
|
@@ -141,7 +141,9 @@ export const ArtifactStoreType = {
|
|
|
141
141
|
};
|
|
142
142
|
export const Result = {
|
|
143
143
|
FAIL: "FAIL",
|
|
144
|
+
RETRY: "RETRY",
|
|
144
145
|
ROLLBACK: "ROLLBACK",
|
|
146
|
+
SKIP: "SKIP",
|
|
145
147
|
};
|
|
146
148
|
export const RuleCategory = {
|
|
147
149
|
Rule: "Rule",
|
|
@@ -209,6 +211,10 @@ export const PipelineType = {
|
|
|
209
211
|
V1: "V1",
|
|
210
212
|
V2: "V2",
|
|
211
213
|
};
|
|
214
|
+
export const StageRetryMode = {
|
|
215
|
+
ALL_ACTIONS: "ALL_ACTIONS",
|
|
216
|
+
FAILED_ACTIONS: "FAILED_ACTIONS",
|
|
217
|
+
};
|
|
212
218
|
export const GitPullRequestEventType = {
|
|
213
219
|
CLOSED: "CLOSED",
|
|
214
220
|
OPEN: "OPEN",
|
|
@@ -384,10 +390,15 @@ export const StageExecutionStatus = {
|
|
|
384
390
|
Cancelled: "Cancelled",
|
|
385
391
|
Failed: "Failed",
|
|
386
392
|
InProgress: "InProgress",
|
|
393
|
+
Skipped: "Skipped",
|
|
387
394
|
Stopped: "Stopped",
|
|
388
395
|
Stopping: "Stopping",
|
|
389
396
|
Succeeded: "Succeeded",
|
|
390
397
|
};
|
|
398
|
+
export const RetryTrigger = {
|
|
399
|
+
AutomatedStageRetry: "AutomatedStageRetry",
|
|
400
|
+
ManualStageRetry: "ManualStageRetry",
|
|
401
|
+
};
|
|
391
402
|
export class InvalidJobException extends __BaseException {
|
|
392
403
|
constructor(opts) {
|
|
393
404
|
super({
|
|
@@ -566,10 +577,6 @@ export class InvalidWebhookFilterPatternException extends __BaseException {
|
|
|
566
577
|
Object.setPrototypeOf(this, InvalidWebhookFilterPatternException.prototype);
|
|
567
578
|
}
|
|
568
579
|
}
|
|
569
|
-
export const StageRetryMode = {
|
|
570
|
-
ALL_ACTIONS: "ALL_ACTIONS",
|
|
571
|
-
FAILED_ACTIONS: "FAILED_ACTIONS",
|
|
572
|
-
};
|
|
573
580
|
export class StageNotRetryableException extends __BaseException {
|
|
574
581
|
constructor(opts) {
|
|
575
582
|
super({
|
|
@@ -1664,6 +1664,7 @@ const de_StageState = (output, context) => {
|
|
|
1664
1664
|
latestExecution: _json,
|
|
1665
1665
|
onFailureConditionState: (_) => de_StageConditionState(_, context),
|
|
1666
1666
|
onSuccessConditionState: (_) => de_StageConditionState(_, context),
|
|
1667
|
+
retryStageMetadata: _json,
|
|
1667
1668
|
stageName: __expectString,
|
|
1668
1669
|
});
|
|
1669
1670
|
};
|
|
@@ -110,10 +110,13 @@ declare const CreatePipelineCommand_base: {
|
|
|
110
110
|
* },
|
|
111
111
|
* ],
|
|
112
112
|
* onFailure: { // FailureConditions
|
|
113
|
-
* result: "ROLLBACK" || "FAIL",
|
|
113
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
114
|
+
* retryConfiguration: { // RetryConfiguration
|
|
115
|
+
* retryMode: "FAILED_ACTIONS" || "ALL_ACTIONS",
|
|
116
|
+
* },
|
|
114
117
|
* conditions: [ // ConditionList
|
|
115
118
|
* { // Condition
|
|
116
|
-
* result: "ROLLBACK" || "FAIL",
|
|
119
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
117
120
|
* rules: [ // RuleDeclarationList
|
|
118
121
|
* { // RuleDeclaration
|
|
119
122
|
* name: "STRING_VALUE", // required
|
|
@@ -142,7 +145,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
142
145
|
* onSuccess: { // SuccessConditions
|
|
143
146
|
* conditions: [ // required
|
|
144
147
|
* {
|
|
145
|
-
* result: "ROLLBACK" || "FAIL",
|
|
148
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
146
149
|
* rules: [
|
|
147
150
|
* {
|
|
148
151
|
* name: "STRING_VALUE", // required
|
|
@@ -171,7 +174,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
171
174
|
* beforeEntry: { // BeforeEntryConditions
|
|
172
175
|
* conditions: [ // required
|
|
173
176
|
* {
|
|
174
|
-
* result: "ROLLBACK" || "FAIL",
|
|
177
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
175
178
|
* rules: [
|
|
176
179
|
* {
|
|
177
180
|
* name: "STRING_VALUE", // required
|
|
@@ -348,10 +351,13 @@ declare const CreatePipelineCommand_base: {
|
|
|
348
351
|
* // },
|
|
349
352
|
* // ],
|
|
350
353
|
* // onFailure: { // FailureConditions
|
|
351
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
354
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
355
|
+
* // retryConfiguration: { // RetryConfiguration
|
|
356
|
+
* // retryMode: "FAILED_ACTIONS" || "ALL_ACTIONS",
|
|
357
|
+
* // },
|
|
352
358
|
* // conditions: [ // ConditionList
|
|
353
359
|
* // { // Condition
|
|
354
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
360
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
355
361
|
* // rules: [ // RuleDeclarationList
|
|
356
362
|
* // { // RuleDeclaration
|
|
357
363
|
* // name: "STRING_VALUE", // required
|
|
@@ -380,7 +386,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
380
386
|
* // onSuccess: { // SuccessConditions
|
|
381
387
|
* // conditions: [ // required
|
|
382
388
|
* // {
|
|
383
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
389
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
384
390
|
* // rules: [
|
|
385
391
|
* // {
|
|
386
392
|
* // name: "STRING_VALUE", // required
|
|
@@ -409,7 +415,7 @@ declare const CreatePipelineCommand_base: {
|
|
|
409
415
|
* // beforeEntry: { // BeforeEntryConditions
|
|
410
416
|
* // conditions: [ // required
|
|
411
417
|
* // {
|
|
412
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
418
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
413
419
|
* // rules: [
|
|
414
420
|
* // {
|
|
415
421
|
* // name: "STRING_VALUE", // required
|
|
@@ -112,10 +112,13 @@ declare const GetPipelineCommand_base: {
|
|
|
112
112
|
* // },
|
|
113
113
|
* // ],
|
|
114
114
|
* // onFailure: { // FailureConditions
|
|
115
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
115
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
116
|
+
* // retryConfiguration: { // RetryConfiguration
|
|
117
|
+
* // retryMode: "FAILED_ACTIONS" || "ALL_ACTIONS",
|
|
118
|
+
* // },
|
|
116
119
|
* // conditions: [ // ConditionList
|
|
117
120
|
* // { // Condition
|
|
118
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
121
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
119
122
|
* // rules: [ // RuleDeclarationList
|
|
120
123
|
* // { // RuleDeclaration
|
|
121
124
|
* // name: "STRING_VALUE", // required
|
|
@@ -144,7 +147,7 @@ declare const GetPipelineCommand_base: {
|
|
|
144
147
|
* // onSuccess: { // SuccessConditions
|
|
145
148
|
* // conditions: [ // required
|
|
146
149
|
* // {
|
|
147
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
150
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
148
151
|
* // rules: [
|
|
149
152
|
* // {
|
|
150
153
|
* // name: "STRING_VALUE", // required
|
|
@@ -173,7 +176,7 @@ declare const GetPipelineCommand_base: {
|
|
|
173
176
|
* // beforeEntry: { // BeforeEntryConditions
|
|
174
177
|
* // conditions: [ // required
|
|
175
178
|
* // {
|
|
176
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
179
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
177
180
|
* // rules: [
|
|
178
181
|
* // {
|
|
179
182
|
* // name: "STRING_VALUE", // required
|
|
@@ -53,13 +53,13 @@ declare const GetPipelineStateCommand_base: {
|
|
|
53
53
|
* // stageName: "STRING_VALUE",
|
|
54
54
|
* // inboundExecution: { // StageExecution
|
|
55
55
|
* // pipelineExecutionId: "STRING_VALUE", // required
|
|
56
|
-
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
|
|
56
|
+
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded" || "Skipped", // required
|
|
57
57
|
* // type: "STANDARD" || "ROLLBACK",
|
|
58
58
|
* // },
|
|
59
59
|
* // inboundExecutions: [ // StageExecutionList
|
|
60
60
|
* // {
|
|
61
61
|
* // pipelineExecutionId: "STRING_VALUE", // required
|
|
62
|
-
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
|
|
62
|
+
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded" || "Skipped", // required
|
|
63
63
|
* // type: "STANDARD" || "ROLLBACK",
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
@@ -98,7 +98,7 @@ declare const GetPipelineStateCommand_base: {
|
|
|
98
98
|
* // ],
|
|
99
99
|
* // latestExecution: {
|
|
100
100
|
* // pipelineExecutionId: "STRING_VALUE", // required
|
|
101
|
-
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
|
|
101
|
+
* // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded" || "Skipped", // required
|
|
102
102
|
* // type: "STANDARD" || "ROLLBACK",
|
|
103
103
|
* // },
|
|
104
104
|
* // beforeEntryConditionState: { // StageConditionState
|
|
@@ -224,6 +224,11 @@ declare const GetPipelineStateCommand_base: {
|
|
|
224
224
|
* // },
|
|
225
225
|
* // ],
|
|
226
226
|
* // },
|
|
227
|
+
* // retryStageMetadata: { // RetryStageMetadata
|
|
228
|
+
* // autoStageRetryAttempt: Number("int"),
|
|
229
|
+
* // manualStageRetryAttempt: Number("int"),
|
|
230
|
+
* // latestRetryTrigger: "AutomatedStageRetry" || "ManualStageRetry",
|
|
231
|
+
* // },
|
|
227
232
|
* // },
|
|
228
233
|
* // ],
|
|
229
234
|
* // created: new Date("TIMESTAMP"),
|
|
@@ -27,7 +27,8 @@ declare const ListRuleExecutionsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the rule executions that have occurred in a pipeline configured for conditions
|
|
30
|
+
* <p>Lists the rule executions that have occurred in a pipeline configured for conditions
|
|
31
|
+
* with rules.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -107,10 +107,13 @@ declare const UpdatePipelineCommand_base: {
|
|
|
107
107
|
* },
|
|
108
108
|
* ],
|
|
109
109
|
* onFailure: { // FailureConditions
|
|
110
|
-
* result: "ROLLBACK" || "FAIL",
|
|
110
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
111
|
+
* retryConfiguration: { // RetryConfiguration
|
|
112
|
+
* retryMode: "FAILED_ACTIONS" || "ALL_ACTIONS",
|
|
113
|
+
* },
|
|
111
114
|
* conditions: [ // ConditionList
|
|
112
115
|
* { // Condition
|
|
113
|
-
* result: "ROLLBACK" || "FAIL",
|
|
116
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
114
117
|
* rules: [ // RuleDeclarationList
|
|
115
118
|
* { // RuleDeclaration
|
|
116
119
|
* name: "STRING_VALUE", // required
|
|
@@ -139,7 +142,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
139
142
|
* onSuccess: { // SuccessConditions
|
|
140
143
|
* conditions: [ // required
|
|
141
144
|
* {
|
|
142
|
-
* result: "ROLLBACK" || "FAIL",
|
|
145
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
143
146
|
* rules: [
|
|
144
147
|
* {
|
|
145
148
|
* name: "STRING_VALUE", // required
|
|
@@ -168,7 +171,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
168
171
|
* beforeEntry: { // BeforeEntryConditions
|
|
169
172
|
* conditions: [ // required
|
|
170
173
|
* {
|
|
171
|
-
* result: "ROLLBACK" || "FAIL",
|
|
174
|
+
* result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
172
175
|
* rules: [
|
|
173
176
|
* {
|
|
174
177
|
* name: "STRING_VALUE", // required
|
|
@@ -339,10 +342,13 @@ declare const UpdatePipelineCommand_base: {
|
|
|
339
342
|
* // },
|
|
340
343
|
* // ],
|
|
341
344
|
* // onFailure: { // FailureConditions
|
|
342
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
345
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
346
|
+
* // retryConfiguration: { // RetryConfiguration
|
|
347
|
+
* // retryMode: "FAILED_ACTIONS" || "ALL_ACTIONS",
|
|
348
|
+
* // },
|
|
343
349
|
* // conditions: [ // ConditionList
|
|
344
350
|
* // { // Condition
|
|
345
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
351
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
346
352
|
* // rules: [ // RuleDeclarationList
|
|
347
353
|
* // { // RuleDeclaration
|
|
348
354
|
* // name: "STRING_VALUE", // required
|
|
@@ -371,7 +377,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
371
377
|
* // onSuccess: { // SuccessConditions
|
|
372
378
|
* // conditions: [ // required
|
|
373
379
|
* // {
|
|
374
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
380
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
375
381
|
* // rules: [
|
|
376
382
|
* // {
|
|
377
383
|
* // name: "STRING_VALUE", // required
|
|
@@ -400,7 +406,7 @@ declare const UpdatePipelineCommand_base: {
|
|
|
400
406
|
* // beforeEntry: { // BeforeEntryConditions
|
|
401
407
|
* // conditions: [ // required
|
|
402
408
|
* // {
|
|
403
|
-
* // result: "ROLLBACK" || "FAIL",
|
|
409
|
+
* // result: "ROLLBACK" || "FAIL" || "RETRY" || "SKIP",
|
|
404
410
|
* // rules: [
|
|
405
411
|
* // {
|
|
406
412
|
* // name: "STRING_VALUE", // required
|
|
@@ -345,7 +345,8 @@ export interface OutputArtifact {
|
|
|
345
345
|
*/
|
|
346
346
|
name: string | undefined;
|
|
347
347
|
/**
|
|
348
|
-
* <p>The files that you want to associate with the output artifact that will be exported
|
|
348
|
+
* <p>The files that you want to associate with the output artifact that will be exported
|
|
349
|
+
* from the compute action.</p>
|
|
349
350
|
* @public
|
|
350
351
|
*/
|
|
351
352
|
files?: string[];
|
|
@@ -388,12 +389,11 @@ export interface ActionDeclaration {
|
|
|
388
389
|
*/
|
|
389
390
|
configuration?: Record<string, string>;
|
|
390
391
|
/**
|
|
391
|
-
* <p>The shell commands to run with your compute action in CodePipeline. All commands
|
|
392
|
-
* supported except multi-line formats. While CodeBuild logs and permissions
|
|
393
|
-
* do not need to create any resources in CodeBuild.</p>
|
|
392
|
+
* <p>The shell commands to run with your compute action in CodePipeline. All commands
|
|
393
|
+
* are supported except multi-line formats. While CodeBuild logs and permissions
|
|
394
|
+
* are used, you do not need to create any resources in CodeBuild.</p>
|
|
394
395
|
* <note>
|
|
395
|
-
* <p>Using compute time for this action will incur separate charges in
|
|
396
|
-
* CodeBuild.</p>
|
|
396
|
+
* <p>Using compute time for this action will incur separate charges in CodeBuild.</p>
|
|
397
397
|
* </note>
|
|
398
398
|
* @public
|
|
399
399
|
*/
|
|
@@ -411,7 +411,8 @@ export interface ActionDeclaration {
|
|
|
411
411
|
*/
|
|
412
412
|
inputArtifacts?: InputArtifact[];
|
|
413
413
|
/**
|
|
414
|
-
* <p>The list of variables that are to be exported from the compute action. This is
|
|
414
|
+
* <p>The list of variables that are to be exported from the compute action. This is
|
|
415
|
+
* specifically CodeBuild environment variables as used for that action.</p>
|
|
415
416
|
* @public
|
|
416
417
|
*/
|
|
417
418
|
outputVariables?: string[];
|
|
@@ -1537,7 +1538,9 @@ export interface AWSSessionCredentials {
|
|
|
1537
1538
|
*/
|
|
1538
1539
|
export declare const Result: {
|
|
1539
1540
|
readonly FAIL: "FAIL";
|
|
1541
|
+
readonly RETRY: "RETRY";
|
|
1540
1542
|
readonly ROLLBACK: "ROLLBACK";
|
|
1543
|
+
readonly SKIP: "SKIP";
|
|
1541
1544
|
};
|
|
1542
1545
|
/**
|
|
1543
1546
|
* @public
|
|
@@ -1566,19 +1569,20 @@ export declare const RuleOwner: {
|
|
|
1566
1569
|
*/
|
|
1567
1570
|
export type RuleOwner = (typeof RuleOwner)[keyof typeof RuleOwner];
|
|
1568
1571
|
/**
|
|
1569
|
-
* <p>The ID for the rule type, which is made up of the combined values for category, owner,
|
|
1572
|
+
* <p>The ID for the rule type, which is made up of the combined values for category, owner,
|
|
1573
|
+
* provider, and version.</p>
|
|
1570
1574
|
* @public
|
|
1571
1575
|
*/
|
|
1572
1576
|
export interface RuleTypeId {
|
|
1573
1577
|
/**
|
|
1574
|
-
* <p>A category defines what kind of rule can be run in the stage, and constrains the
|
|
1575
|
-
* type for the rule. The valid category is <code>Rule</code>. </p>
|
|
1578
|
+
* <p>A category defines what kind of rule can be run in the stage, and constrains the
|
|
1579
|
+
* provider type for the rule. The valid category is <code>Rule</code>. </p>
|
|
1576
1580
|
* @public
|
|
1577
1581
|
*/
|
|
1578
1582
|
category: RuleCategory | undefined;
|
|
1579
1583
|
/**
|
|
1580
|
-
* <p>The creator of the rule being called. The valid value for the
|
|
1581
|
-
*
|
|
1584
|
+
* <p>The creator of the rule being called. The valid value for the <code>Owner</code> field
|
|
1585
|
+
* in the rule category is <code>AWS</code>. </p>
|
|
1582
1586
|
* @public
|
|
1583
1587
|
*/
|
|
1584
1588
|
owner?: RuleOwner;
|
|
@@ -1594,17 +1598,21 @@ export interface RuleTypeId {
|
|
|
1594
1598
|
version?: string;
|
|
1595
1599
|
}
|
|
1596
1600
|
/**
|
|
1597
|
-
* <p>Represents information about the rule to be created for an associated condition. An
|
|
1601
|
+
* <p>Represents information about the rule to be created for an associated condition. An
|
|
1602
|
+
* example would be creating a new rule for an entry condition, such as a rule that checks
|
|
1603
|
+
* for a test result before allowing the run to enter the deployment stage.</p>
|
|
1598
1604
|
* @public
|
|
1599
1605
|
*/
|
|
1600
1606
|
export interface RuleDeclaration {
|
|
1601
1607
|
/**
|
|
1602
|
-
* <p>The name of the rule that is created for the condition, such as
|
|
1608
|
+
* <p>The name of the rule that is created for the condition, such as
|
|
1609
|
+
* CheckAllResults.</p>
|
|
1603
1610
|
* @public
|
|
1604
1611
|
*/
|
|
1605
1612
|
name: string | undefined;
|
|
1606
1613
|
/**
|
|
1607
|
-
* <p>The ID for the rule type, which is made up of the combined values for category, owner,
|
|
1614
|
+
* <p>The ID for the rule type, which is made up of the combined values for category, owner,
|
|
1615
|
+
* provider, and version.</p>
|
|
1608
1616
|
* @public
|
|
1609
1617
|
*/
|
|
1610
1618
|
ruleTypeId: RuleTypeId | undefined;
|
|
@@ -1614,7 +1622,8 @@ export interface RuleDeclaration {
|
|
|
1614
1622
|
*/
|
|
1615
1623
|
configuration?: Record<string, string>;
|
|
1616
1624
|
/**
|
|
1617
|
-
* <p>The input artifacts fields for the rule, such as specifying an input file for the
|
|
1625
|
+
* <p>The input artifacts fields for the rule, such as specifying an input file for the
|
|
1626
|
+
* rule.</p>
|
|
1618
1627
|
* @public
|
|
1619
1628
|
*/
|
|
1620
1629
|
inputArtifacts?: InputArtifact[];
|
|
@@ -1635,12 +1644,14 @@ export interface RuleDeclaration {
|
|
|
1635
1644
|
timeoutInMinutes?: number;
|
|
1636
1645
|
}
|
|
1637
1646
|
/**
|
|
1638
|
-
* <p>The condition for the stage. A condition is made up of the rules and the result for
|
|
1647
|
+
* <p>The condition for the stage. A condition is made up of the rules and the result for
|
|
1648
|
+
* the condition.</p>
|
|
1639
1649
|
* @public
|
|
1640
1650
|
*/
|
|
1641
1651
|
export interface Condition {
|
|
1642
1652
|
/**
|
|
1643
|
-
* <p>The action to be done when the condition is met. For example, rolling back an
|
|
1653
|
+
* <p>The action to be done when the condition is met. For example, rolling back an
|
|
1654
|
+
* execution for a failure condition.</p>
|
|
1644
1655
|
* @public
|
|
1645
1656
|
*/
|
|
1646
1657
|
result?: Result;
|
|
@@ -1849,6 +1860,32 @@ export declare const PipelineType: {
|
|
|
1849
1860
|
* @public
|
|
1850
1861
|
*/
|
|
1851
1862
|
export type PipelineType = (typeof PipelineType)[keyof typeof PipelineType];
|
|
1863
|
+
/**
|
|
1864
|
+
* @public
|
|
1865
|
+
* @enum
|
|
1866
|
+
*/
|
|
1867
|
+
export declare const StageRetryMode: {
|
|
1868
|
+
readonly ALL_ACTIONS: "ALL_ACTIONS";
|
|
1869
|
+
readonly FAILED_ACTIONS: "FAILED_ACTIONS";
|
|
1870
|
+
};
|
|
1871
|
+
/**
|
|
1872
|
+
* @public
|
|
1873
|
+
*/
|
|
1874
|
+
export type StageRetryMode = (typeof StageRetryMode)[keyof typeof StageRetryMode];
|
|
1875
|
+
/**
|
|
1876
|
+
* <p>The retry configuration specifies automatic retry for a failed stage, along with the
|
|
1877
|
+
* configured retry mode.</p>
|
|
1878
|
+
* @public
|
|
1879
|
+
*/
|
|
1880
|
+
export interface RetryConfiguration {
|
|
1881
|
+
/**
|
|
1882
|
+
* <p>The method that you want to configure for automatic stage retry on stage
|
|
1883
|
+
* failure. You can specify to retry only failed action in the stage or all actions in the
|
|
1884
|
+
* stage.</p>
|
|
1885
|
+
* @public
|
|
1886
|
+
*/
|
|
1887
|
+
retryMode?: StageRetryMode;
|
|
1888
|
+
}
|
|
1852
1889
|
/**
|
|
1853
1890
|
* <p>The configuration that specifies the result, such as rollback, to occur upon stage
|
|
1854
1891
|
* failure. </p>
|
|
@@ -1861,6 +1898,12 @@ export interface FailureConditions {
|
|
|
1861
1898
|
* @public
|
|
1862
1899
|
*/
|
|
1863
1900
|
result?: Result;
|
|
1901
|
+
/**
|
|
1902
|
+
* <p>The retry configuration specifies automatic retry for a failed stage, along with the
|
|
1903
|
+
* configured retry mode.</p>
|
|
1904
|
+
* @public
|
|
1905
|
+
*/
|
|
1906
|
+
retryConfiguration?: RetryConfiguration;
|
|
1864
1907
|
/**
|
|
1865
1908
|
* <p>The conditions that are configured as failure conditions.</p>
|
|
1866
1909
|
* @public
|
|
@@ -1906,13 +1949,14 @@ export interface StageDeclaration {
|
|
|
1906
1949
|
*/
|
|
1907
1950
|
onFailure?: FailureConditions;
|
|
1908
1951
|
/**
|
|
1909
|
-
* <p>The method to use when a stage has succeeded. For example,
|
|
1910
|
-
*
|
|
1952
|
+
* <p>The method to use when a stage has succeeded. For example, configuring this field for
|
|
1953
|
+
* conditions will allow the stage to succeed when the conditions are met.</p>
|
|
1911
1954
|
* @public
|
|
1912
1955
|
*/
|
|
1913
1956
|
onSuccess?: SuccessConditions;
|
|
1914
1957
|
/**
|
|
1915
|
-
* <p>The method to use when a stage allows entry. For example, configuring this field for
|
|
1958
|
+
* <p>The method to use when a stage allows entry. For example, configuring this field for
|
|
1959
|
+
* conditions will allow entry to the stage when the conditions are met.</p>
|
|
1916
1960
|
* @public
|
|
1917
1961
|
*/
|
|
1918
1962
|
beforeEntry?: BeforeEntryConditions;
|
|
@@ -3086,20 +3130,19 @@ export interface ConditionExecution {
|
|
|
3086
3130
|
*/
|
|
3087
3131
|
export interface RuleRevision {
|
|
3088
3132
|
/**
|
|
3089
|
-
* <p>The system-generated unique ID that identifies the revision number of the
|
|
3090
|
-
* rule.</p>
|
|
3133
|
+
* <p>The system-generated unique ID that identifies the revision number of the rule.</p>
|
|
3091
3134
|
* @public
|
|
3092
3135
|
*/
|
|
3093
3136
|
revisionId: string | undefined;
|
|
3094
3137
|
/**
|
|
3095
|
-
* <p>The unique identifier of the change that set the state to this revision (for
|
|
3096
|
-
*
|
|
3138
|
+
* <p>The unique identifier of the change that set the state to this revision (for example,
|
|
3139
|
+
* a deployment ID or timestamp).</p>
|
|
3097
3140
|
* @public
|
|
3098
3141
|
*/
|
|
3099
3142
|
revisionChangeId: string | undefined;
|
|
3100
3143
|
/**
|
|
3101
|
-
* <p>The date and time when the most recent version of the rule was created, in
|
|
3102
|
-
*
|
|
3144
|
+
* <p>The date and time when the most recent version of the rule was created, in timestamp
|
|
3145
|
+
* format.</p>
|
|
3103
3146
|
* @public
|
|
3104
3147
|
*/
|
|
3105
3148
|
created: Date | undefined;
|
|
@@ -3119,7 +3162,8 @@ export declare const RuleExecutionStatus: {
|
|
|
3119
3162
|
*/
|
|
3120
3163
|
export type RuleExecutionStatus = (typeof RuleExecutionStatus)[keyof typeof RuleExecutionStatus];
|
|
3121
3164
|
/**
|
|
3122
|
-
* <p>Represents information about each time a rule is run as part of the pipeline execution
|
|
3165
|
+
* <p>Represents information about each time a rule is run as part of the pipeline execution
|
|
3166
|
+
* for a pipeline configured with conditions.</p>
|
|
3123
3167
|
* @public
|
|
3124
3168
|
*/
|
|
3125
3169
|
export interface RuleExecution {
|
|
@@ -3173,7 +3217,8 @@ export interface RuleExecution {
|
|
|
3173
3217
|
/**
|
|
3174
3218
|
* <p>Returns information about the state of a rule.</p>
|
|
3175
3219
|
* <note>
|
|
3176
|
-
* <p>Values returned in the <code>revisionId</code> field indicate the rule revision
|
|
3220
|
+
* <p>Values returned in the <code>revisionId</code> field indicate the rule revision
|
|
3221
|
+
* information, such as the commit ID, for the current state.</p>
|
|
3177
3222
|
* </note>
|
|
3178
3223
|
* @public
|
|
3179
3224
|
*/
|
|
@@ -3195,7 +3240,8 @@ export interface RuleState {
|
|
|
3195
3240
|
*/
|
|
3196
3241
|
latestExecution?: RuleExecution;
|
|
3197
3242
|
/**
|
|
3198
|
-
* <p>A URL link for more information about the state of the action, such as a details
|
|
3243
|
+
* <p>A URL link for more information about the state of the action, such as a details
|
|
3244
|
+
* page.</p>
|
|
3199
3245
|
* @public
|
|
3200
3246
|
*/
|
|
3201
3247
|
entityUrl?: string;
|
|
@@ -3262,6 +3308,7 @@ export declare const StageExecutionStatus: {
|
|
|
3262
3308
|
readonly Cancelled: "Cancelled";
|
|
3263
3309
|
readonly Failed: "Failed";
|
|
3264
3310
|
readonly InProgress: "InProgress";
|
|
3311
|
+
readonly Skipped: "Skipped";
|
|
3265
3312
|
readonly Stopped: "Stopped";
|
|
3266
3313
|
readonly Stopping: "Stopping";
|
|
3267
3314
|
readonly Succeeded: "Succeeded";
|
|
@@ -3326,6 +3373,39 @@ export interface TransitionState {
|
|
|
3326
3373
|
*/
|
|
3327
3374
|
disabledReason?: string;
|
|
3328
3375
|
}
|
|
3376
|
+
/**
|
|
3377
|
+
* @public
|
|
3378
|
+
* @enum
|
|
3379
|
+
*/
|
|
3380
|
+
export declare const RetryTrigger: {
|
|
3381
|
+
readonly AutomatedStageRetry: "AutomatedStageRetry";
|
|
3382
|
+
readonly ManualStageRetry: "ManualStageRetry";
|
|
3383
|
+
};
|
|
3384
|
+
/**
|
|
3385
|
+
* @public
|
|
3386
|
+
*/
|
|
3387
|
+
export type RetryTrigger = (typeof RetryTrigger)[keyof typeof RetryTrigger];
|
|
3388
|
+
/**
|
|
3389
|
+
* <p>The details of a specific automatic retry on stage failure, including the attempt number and trigger.</p>
|
|
3390
|
+
* @public
|
|
3391
|
+
*/
|
|
3392
|
+
export interface RetryStageMetadata {
|
|
3393
|
+
/**
|
|
3394
|
+
* <p>The number of attempts for a specific stage with automatic retry on stage failure. One attempt is allowed for automatic stage retry on failure.</p>
|
|
3395
|
+
* @public
|
|
3396
|
+
*/
|
|
3397
|
+
autoStageRetryAttempt?: number;
|
|
3398
|
+
/**
|
|
3399
|
+
* <p>The number of attempts for a specific stage where manual retries have been made upon stage failure.</p>
|
|
3400
|
+
* @public
|
|
3401
|
+
*/
|
|
3402
|
+
manualStageRetryAttempt?: number;
|
|
3403
|
+
/**
|
|
3404
|
+
* <p>The latest trigger for a specific stage where manual or automatic retries have been made upon stage failure.</p>
|
|
3405
|
+
* @public
|
|
3406
|
+
*/
|
|
3407
|
+
latestRetryTrigger?: RetryTrigger;
|
|
3408
|
+
}
|
|
3329
3409
|
/**
|
|
3330
3410
|
* <p>Represents information about the state of the stage.</p>
|
|
3331
3411
|
* @public
|
|
@@ -3377,6 +3457,11 @@ export interface StageState {
|
|
|
3377
3457
|
* @public
|
|
3378
3458
|
*/
|
|
3379
3459
|
onFailureConditionState?: StageConditionState;
|
|
3460
|
+
/**
|
|
3461
|
+
* <p>he details of a specific automatic retry on stage failure, including the attempt number and trigger.</p>
|
|
3462
|
+
* @public
|
|
3463
|
+
*/
|
|
3464
|
+
retryStageMetadata?: RetryStageMetadata;
|
|
3380
3465
|
}
|
|
3381
3466
|
/**
|
|
3382
3467
|
* <p>Represents the output of a <code>GetPipelineState</code> action.</p>
|
|
@@ -3987,9 +4072,8 @@ export interface ListRuleExecutionsInput {
|
|
|
3987
4072
|
*/
|
|
3988
4073
|
maxResults?: number;
|
|
3989
4074
|
/**
|
|
3990
|
-
* <p>The token that was returned from the previous <code>ListRuleExecutions</code>
|
|
3991
|
-
*
|
|
3992
|
-
* list.</p>
|
|
4075
|
+
* <p>The token that was returned from the previous <code>ListRuleExecutions</code> call,
|
|
4076
|
+
* which can be used to return the next set of rule executions in the list.</p>
|
|
3993
4077
|
* @public
|
|
3994
4078
|
*/
|
|
3995
4079
|
nextToken?: string;
|
|
@@ -4000,12 +4084,14 @@ export interface ListRuleExecutionsInput {
|
|
|
4000
4084
|
*/
|
|
4001
4085
|
export interface RuleExecutionInput {
|
|
4002
4086
|
/**
|
|
4003
|
-
* <p>The ID for the rule type, which is made up of the combined values for category, owner,
|
|
4087
|
+
* <p>The ID for the rule type, which is made up of the combined values for category, owner,
|
|
4088
|
+
* provider, and version.</p>
|
|
4004
4089
|
* @public
|
|
4005
4090
|
*/
|
|
4006
4091
|
ruleTypeId?: RuleTypeId;
|
|
4007
4092
|
/**
|
|
4008
|
-
* <p>Configuration data for a rule execution, such as the resolved values for that
|
|
4093
|
+
* <p>Configuration data for a rule execution, such as the resolved values for that
|
|
4094
|
+
* run.</p>
|
|
4009
4095
|
* @public
|
|
4010
4096
|
*/
|
|
4011
4097
|
configuration?: Record<string, string>;
|
|
@@ -4027,8 +4113,7 @@ export interface RuleExecutionInput {
|
|
|
4027
4113
|
*/
|
|
4028
4114
|
region?: string;
|
|
4029
4115
|
/**
|
|
4030
|
-
* <p>Details of input artifacts of the rule that correspond to the rule
|
|
4031
|
-
* execution.</p>
|
|
4116
|
+
* <p>Details of input artifacts of the rule that correspond to the rule execution.</p>
|
|
4032
4117
|
* @public
|
|
4033
4118
|
*/
|
|
4034
4119
|
inputArtifacts?: ArtifactDetail[];
|
|
@@ -4061,21 +4146,19 @@ export interface RuleExecutionResult {
|
|
|
4061
4146
|
errorDetails?: ErrorDetails;
|
|
4062
4147
|
}
|
|
4063
4148
|
/**
|
|
4064
|
-
* <p>Output details listed for a rule execution, such as the rule execution
|
|
4065
|
-
* result.</p>
|
|
4149
|
+
* <p>Output details listed for a rule execution, such as the rule execution result.</p>
|
|
4066
4150
|
* @public
|
|
4067
4151
|
*/
|
|
4068
4152
|
export interface RuleExecutionOutput {
|
|
4069
4153
|
/**
|
|
4070
|
-
* <p>Execution result information listed in the output details for a rule
|
|
4071
|
-
* execution.</p>
|
|
4154
|
+
* <p>Execution result information listed in the output details for a rule execution.</p>
|
|
4072
4155
|
* @public
|
|
4073
4156
|
*/
|
|
4074
4157
|
executionResult?: RuleExecutionResult;
|
|
4075
4158
|
}
|
|
4076
4159
|
/**
|
|
4077
|
-
* <p>The details of the runs for a rule and the results produced on an artifact as it
|
|
4078
|
-
* through stages in the pipeline.</p>
|
|
4160
|
+
* <p>The details of the runs for a rule and the results produced on an artifact as it
|
|
4161
|
+
* passes through stages in the pipeline.</p>
|
|
4079
4162
|
* @public
|
|
4080
4163
|
*/
|
|
4081
4164
|
export interface RuleExecutionDetail {
|
|
@@ -4123,8 +4206,7 @@ export interface RuleExecutionDetail {
|
|
|
4123
4206
|
updatedBy?: string;
|
|
4124
4207
|
/**
|
|
4125
4208
|
* <p>The status of the rule execution. Status categories are <code>InProgress</code>,
|
|
4126
|
-
* <code>Succeeded</code>, and <code>Failed</code>.
|
|
4127
|
-
* </p>
|
|
4209
|
+
* <code>Succeeded</code>, and <code>Failed</code>. </p>
|
|
4128
4210
|
* @public
|
|
4129
4211
|
*/
|
|
4130
4212
|
status?: RuleExecutionStatus;
|
|
@@ -4150,9 +4232,9 @@ export interface ListRuleExecutionsOutput {
|
|
|
4150
4232
|
*/
|
|
4151
4233
|
ruleExecutionDetails?: RuleExecutionDetail[];
|
|
4152
4234
|
/**
|
|
4153
|
-
* <p>A token that can be used in the next <code>ListRuleExecutions</code> call. To
|
|
4154
|
-
*
|
|
4155
|
-
*
|
|
4235
|
+
* <p>A token that can be used in the next <code>ListRuleExecutions</code> call. To view all
|
|
4236
|
+
* items in the list, continue to call this operation with each subsequent token until no
|
|
4237
|
+
* more nextToken values are returned.</p>
|
|
4156
4238
|
* @public
|
|
4157
4239
|
*/
|
|
4158
4240
|
nextToken?: string;
|
|
@@ -4214,7 +4296,8 @@ export interface RuleConfigurationProperty {
|
|
|
4214
4296
|
secret: boolean | undefined;
|
|
4215
4297
|
/**
|
|
4216
4298
|
* <p>Indicates whether the property can be queried.</p>
|
|
4217
|
-
* <p>If you create a pipeline with a condition and rule, and that rule contains a
|
|
4299
|
+
* <p>If you create a pipeline with a condition and rule, and that rule contains a
|
|
4300
|
+
* queryable property, the value for that configuration property is subject to other
|
|
4218
4301
|
* restrictions. The value must be less than or equal to twenty (20) characters. The value
|
|
4219
4302
|
* can contain only alphanumeric characters, underscores, and hyphens.</p>
|
|
4220
4303
|
* @public
|
|
@@ -4238,8 +4321,8 @@ export interface RuleConfigurationProperty {
|
|
|
4238
4321
|
*/
|
|
4239
4322
|
export interface RuleTypeSettings {
|
|
4240
4323
|
/**
|
|
4241
|
-
* <p>The URL of a sign-up page where users can sign up for an external service and
|
|
4242
|
-
*
|
|
4324
|
+
* <p>The URL of a sign-up page where users can sign up for an external service and perform
|
|
4325
|
+
* initial configuration of the action provided by that service.</p>
|
|
4243
4326
|
* @public
|
|
4244
4327
|
*/
|
|
4245
4328
|
thirdPartyConfigurationUrl?: string;
|
|
@@ -4267,7 +4350,8 @@ export interface RuleTypeSettings {
|
|
|
4267
4350
|
revisionUrlTemplate?: string;
|
|
4268
4351
|
}
|
|
4269
4352
|
/**
|
|
4270
|
-
* <p>The rule type, which is made up of the combined values for category, owner, provider,
|
|
4353
|
+
* <p>The rule type, which is made up of the combined values for category, owner, provider,
|
|
4354
|
+
* and version.</p>
|
|
4271
4355
|
* @public
|
|
4272
4356
|
*/
|
|
4273
4357
|
export interface RuleType {
|
|
@@ -4674,7 +4758,8 @@ export interface OverrideStageConditionInput {
|
|
|
4674
4758
|
*/
|
|
4675
4759
|
pipelineExecutionId: string | undefined;
|
|
4676
4760
|
/**
|
|
4677
|
-
* <p>The type of condition to override for the stage, such as entry conditions, failure
|
|
4761
|
+
* <p>The type of condition to override for the stage, such as entry conditions, failure
|
|
4762
|
+
* conditions, or success conditions.</p>
|
|
4678
4763
|
* @public
|
|
4679
4764
|
*/
|
|
4680
4765
|
conditionType: ConditionType | undefined;
|
|
@@ -5187,18 +5272,6 @@ export interface RegisterWebhookWithThirdPartyInput {
|
|
|
5187
5272
|
*/
|
|
5188
5273
|
export interface RegisterWebhookWithThirdPartyOutput {
|
|
5189
5274
|
}
|
|
5190
|
-
/**
|
|
5191
|
-
* @public
|
|
5192
|
-
* @enum
|
|
5193
|
-
*/
|
|
5194
|
-
export declare const StageRetryMode: {
|
|
5195
|
-
readonly ALL_ACTIONS: "ALL_ACTIONS";
|
|
5196
|
-
readonly FAILED_ACTIONS: "FAILED_ACTIONS";
|
|
5197
|
-
};
|
|
5198
|
-
/**
|
|
5199
|
-
* @public
|
|
5200
|
-
*/
|
|
5201
|
-
export type StageRetryMode = (typeof StageRetryMode)[keyof typeof StageRetryMode];
|
|
5202
5275
|
/**
|
|
5203
5276
|
* <p>Represents the input of a <code>RetryStageExecution</code> action.</p>
|
|
5204
5277
|
* @public
|
|
@@ -5328,9 +5401,9 @@ export type SourceRevisionType = (typeof SourceRevisionType)[keyof typeof Source
|
|
|
5328
5401
|
* execution that's being started. A source revision is the version with all the changes to
|
|
5329
5402
|
* your application code, or source artifact, for the pipeline execution.</p>
|
|
5330
5403
|
* <note>
|
|
5331
|
-
* <p>For the <code>S3_OBJECT_VERSION_ID</code> and <code>S3_OBJECT_KEY</code> types of
|
|
5332
|
-
* of the types can be used independently, or they can be used
|
|
5333
|
-
* source with a specific ObjectKey and VersionID.</p>
|
|
5404
|
+
* <p>For the <code>S3_OBJECT_VERSION_ID</code> and <code>S3_OBJECT_KEY</code> types of
|
|
5405
|
+
* source revisions, either of the types can be used independently, or they can be used
|
|
5406
|
+
* together to override the source with a specific ObjectKey and VersionID.</p>
|
|
5334
5407
|
* </note>
|
|
5335
5408
|
* @public
|
|
5336
5409
|
*/
|
|
@@ -373,7 +373,9 @@ export interface AWSSessionCredentials {
|
|
|
373
373
|
}
|
|
374
374
|
export declare const Result: {
|
|
375
375
|
readonly FAIL: "FAIL";
|
|
376
|
+
readonly RETRY: "RETRY";
|
|
376
377
|
readonly ROLLBACK: "ROLLBACK";
|
|
378
|
+
readonly SKIP: "SKIP";
|
|
377
379
|
};
|
|
378
380
|
export type Result = (typeof Result)[keyof typeof Result];
|
|
379
381
|
export declare const RuleCategory: {
|
|
@@ -474,8 +476,18 @@ export declare const PipelineType: {
|
|
|
474
476
|
readonly V2: "V2";
|
|
475
477
|
};
|
|
476
478
|
export type PipelineType = (typeof PipelineType)[keyof typeof PipelineType];
|
|
479
|
+
export declare const StageRetryMode: {
|
|
480
|
+
readonly ALL_ACTIONS: "ALL_ACTIONS";
|
|
481
|
+
readonly FAILED_ACTIONS: "FAILED_ACTIONS";
|
|
482
|
+
};
|
|
483
|
+
export type StageRetryMode =
|
|
484
|
+
(typeof StageRetryMode)[keyof typeof StageRetryMode];
|
|
485
|
+
export interface RetryConfiguration {
|
|
486
|
+
retryMode?: StageRetryMode;
|
|
487
|
+
}
|
|
477
488
|
export interface FailureConditions {
|
|
478
489
|
result?: Result;
|
|
490
|
+
retryConfiguration?: RetryConfiguration;
|
|
479
491
|
conditions?: Condition[];
|
|
480
492
|
}
|
|
481
493
|
export interface SuccessConditions {
|
|
@@ -854,6 +866,7 @@ export declare const StageExecutionStatus: {
|
|
|
854
866
|
readonly Cancelled: "Cancelled";
|
|
855
867
|
readonly Failed: "Failed";
|
|
856
868
|
readonly InProgress: "InProgress";
|
|
869
|
+
readonly Skipped: "Skipped";
|
|
857
870
|
readonly Stopped: "Stopped";
|
|
858
871
|
readonly Stopping: "Stopping";
|
|
859
872
|
readonly Succeeded: "Succeeded";
|
|
@@ -871,6 +884,16 @@ export interface TransitionState {
|
|
|
871
884
|
lastChangedAt?: Date;
|
|
872
885
|
disabledReason?: string;
|
|
873
886
|
}
|
|
887
|
+
export declare const RetryTrigger: {
|
|
888
|
+
readonly AutomatedStageRetry: "AutomatedStageRetry";
|
|
889
|
+
readonly ManualStageRetry: "ManualStageRetry";
|
|
890
|
+
};
|
|
891
|
+
export type RetryTrigger = (typeof RetryTrigger)[keyof typeof RetryTrigger];
|
|
892
|
+
export interface RetryStageMetadata {
|
|
893
|
+
autoStageRetryAttempt?: number;
|
|
894
|
+
manualStageRetryAttempt?: number;
|
|
895
|
+
latestRetryTrigger?: RetryTrigger;
|
|
896
|
+
}
|
|
874
897
|
export interface StageState {
|
|
875
898
|
stageName?: string;
|
|
876
899
|
inboundExecution?: StageExecution;
|
|
@@ -881,6 +904,7 @@ export interface StageState {
|
|
|
881
904
|
beforeEntryConditionState?: StageConditionState;
|
|
882
905
|
onSuccessConditionState?: StageConditionState;
|
|
883
906
|
onFailureConditionState?: StageConditionState;
|
|
907
|
+
retryStageMetadata?: RetryStageMetadata;
|
|
884
908
|
}
|
|
885
909
|
export interface GetPipelineStateOutput {
|
|
886
910
|
pipelineName?: string;
|
|
@@ -1334,12 +1358,6 @@ export interface RegisterWebhookWithThirdPartyInput {
|
|
|
1334
1358
|
webhookName?: string;
|
|
1335
1359
|
}
|
|
1336
1360
|
export interface RegisterWebhookWithThirdPartyOutput {}
|
|
1337
|
-
export declare const StageRetryMode: {
|
|
1338
|
-
readonly ALL_ACTIONS: "ALL_ACTIONS";
|
|
1339
|
-
readonly FAILED_ACTIONS: "FAILED_ACTIONS";
|
|
1340
|
-
};
|
|
1341
|
-
export type StageRetryMode =
|
|
1342
|
-
(typeof StageRetryMode)[keyof typeof StageRetryMode];
|
|
1343
1361
|
export interface RetryStageExecutionInput {
|
|
1344
1362
|
pipelineName: string | undefined;
|
|
1345
1363
|
stageName: string | undefined;
|
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.671.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codepipeline",
|