@aws-sdk/client-codepipeline 3.620.1 → 3.621.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.
Files changed (38) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +374 -71
  3. package/dist-es/CodePipeline.js +6 -0
  4. package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
  5. package/dist-es/commands/ListRuleTypesCommand.js +24 -0
  6. package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +82 -39
  9. package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +1 -0
  11. package/dist-es/protocols/Aws_json1_1.js +198 -14
  12. package/dist-types/CodePipeline.d.ts +22 -0
  13. package/dist-types/CodePipelineClient.d.ts +5 -2
  14. package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
  15. package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
  16. package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
  17. package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
  18. package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
  19. package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
  20. package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
  21. package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
  22. package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
  23. package/dist-types/commands/index.d.ts +3 -0
  24. package/dist-types/models/models_0.d.ts +1019 -222
  25. package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
  26. package/dist-types/pagination/index.d.ts +1 -0
  27. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  28. package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
  29. package/dist-types/ts3.4/CodePipelineClient.d.ts +18 -0
  30. package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
  31. package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
  32. package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
  33. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  34. package/dist-types/ts3.4/models/models_0.d.ts +228 -29
  35. package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
  36. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  37. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  38. package/package.json +11 -11
@@ -20,8 +20,11 @@ import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } f
20
20
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "./commands/ListActionTypesCommand";
21
21
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "./commands/ListPipelineExecutionsCommand";
22
22
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
23
+ import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "./commands/ListRuleExecutionsCommand";
24
+ import { ListRuleTypesCommandInput, ListRuleTypesCommandOutput } from "./commands/ListRuleTypesCommand";
23
25
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
24
26
  import { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
27
+ import { OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput } from "./commands/OverrideStageConditionCommand";
25
28
  import { PollForJobsCommandInput, PollForJobsCommandOutput } from "./commands/PollForJobsCommand";
26
29
  import { PollForThirdPartyJobsCommandInput, PollForThirdPartyJobsCommandOutput } from "./commands/PollForThirdPartyJobsCommand";
27
30
  import { PutActionRevisionCommandInput, PutActionRevisionCommandOutput } from "./commands/PutActionRevisionCommand";
@@ -164,6 +167,19 @@ export interface CodePipeline {
164
167
  listPipelines(args: ListPipelinesCommandInput, options?: __HttpHandlerOptions): Promise<ListPipelinesCommandOutput>;
165
168
  listPipelines(args: ListPipelinesCommandInput, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
166
169
  listPipelines(args: ListPipelinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPipelinesCommandOutput) => void): void;
170
+ /**
171
+ * @see {@link ListRuleExecutionsCommand}
172
+ */
173
+ listRuleExecutions(args: ListRuleExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleExecutionsCommandOutput>;
174
+ listRuleExecutions(args: ListRuleExecutionsCommandInput, cb: (err: any, data?: ListRuleExecutionsCommandOutput) => void): void;
175
+ listRuleExecutions(args: ListRuleExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleExecutionsCommandOutput) => void): void;
176
+ /**
177
+ * @see {@link ListRuleTypesCommand}
178
+ */
179
+ listRuleTypes(): Promise<ListRuleTypesCommandOutput>;
180
+ listRuleTypes(args: ListRuleTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListRuleTypesCommandOutput>;
181
+ listRuleTypes(args: ListRuleTypesCommandInput, cb: (err: any, data?: ListRuleTypesCommandOutput) => void): void;
182
+ listRuleTypes(args: ListRuleTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRuleTypesCommandOutput) => void): void;
167
183
  /**
168
184
  * @see {@link ListTagsForResourceCommand}
169
185
  */
@@ -177,6 +193,12 @@ export interface CodePipeline {
177
193
  listWebhooks(args: ListWebhooksCommandInput, options?: __HttpHandlerOptions): Promise<ListWebhooksCommandOutput>;
178
194
  listWebhooks(args: ListWebhooksCommandInput, cb: (err: any, data?: ListWebhooksCommandOutput) => void): void;
179
195
  listWebhooks(args: ListWebhooksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWebhooksCommandOutput) => void): void;
196
+ /**
197
+ * @see {@link OverrideStageConditionCommand}
198
+ */
199
+ overrideStageCondition(args: OverrideStageConditionCommandInput, options?: __HttpHandlerOptions): Promise<OverrideStageConditionCommandOutput>;
200
+ overrideStageCondition(args: OverrideStageConditionCommandInput, cb: (err: any, data?: OverrideStageConditionCommandOutput) => void): void;
201
+ overrideStageCondition(args: OverrideStageConditionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OverrideStageConditionCommandOutput) => void): void;
180
202
  /**
181
203
  * @see {@link PollForJobsCommand}
182
204
  */
@@ -27,8 +27,11 @@ import { ListActionExecutionsCommandInput, ListActionExecutionsCommandOutput } f
27
27
  import { ListActionTypesCommandInput, ListActionTypesCommandOutput } from "./commands/ListActionTypesCommand";
28
28
  import { ListPipelineExecutionsCommandInput, ListPipelineExecutionsCommandOutput } from "./commands/ListPipelineExecutionsCommand";
29
29
  import { ListPipelinesCommandInput, ListPipelinesCommandOutput } from "./commands/ListPipelinesCommand";
30
+ import { ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput } from "./commands/ListRuleExecutionsCommand";
31
+ import { ListRuleTypesCommandInput, ListRuleTypesCommandOutput } from "./commands/ListRuleTypesCommand";
30
32
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
31
33
  import { ListWebhooksCommandInput, ListWebhooksCommandOutput } from "./commands/ListWebhooksCommand";
34
+ import { OverrideStageConditionCommandInput, OverrideStageConditionCommandOutput } from "./commands/OverrideStageConditionCommand";
32
35
  import { PollForJobsCommandInput, PollForJobsCommandOutput } from "./commands/PollForJobsCommand";
33
36
  import { PollForThirdPartyJobsCommandInput, PollForThirdPartyJobsCommandOutput } from "./commands/PollForThirdPartyJobsCommand";
34
37
  import { PutActionRevisionCommandInput, PutActionRevisionCommandOutput } from "./commands/PutActionRevisionCommand";
@@ -53,11 +56,11 @@ export { __Client };
53
56
  /**
54
57
  * @public
55
58
  */
56
- export type ServiceInputTypes = AcknowledgeJobCommandInput | AcknowledgeThirdPartyJobCommandInput | CreateCustomActionTypeCommandInput | CreatePipelineCommandInput | DeleteCustomActionTypeCommandInput | DeletePipelineCommandInput | DeleteWebhookCommandInput | DeregisterWebhookWithThirdPartyCommandInput | DisableStageTransitionCommandInput | EnableStageTransitionCommandInput | GetActionTypeCommandInput | GetJobDetailsCommandInput | GetPipelineCommandInput | GetPipelineExecutionCommandInput | GetPipelineStateCommandInput | GetThirdPartyJobDetailsCommandInput | ListActionExecutionsCommandInput | ListActionTypesCommandInput | ListPipelineExecutionsCommandInput | ListPipelinesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | PollForJobsCommandInput | PollForThirdPartyJobsCommandInput | PutActionRevisionCommandInput | PutApprovalResultCommandInput | PutJobFailureResultCommandInput | PutJobSuccessResultCommandInput | PutThirdPartyJobFailureResultCommandInput | PutThirdPartyJobSuccessResultCommandInput | PutWebhookCommandInput | RegisterWebhookWithThirdPartyCommandInput | RetryStageExecutionCommandInput | RollbackStageCommandInput | StartPipelineExecutionCommandInput | StopPipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTypeCommandInput | UpdatePipelineCommandInput;
59
+ export type ServiceInputTypes = AcknowledgeJobCommandInput | AcknowledgeThirdPartyJobCommandInput | CreateCustomActionTypeCommandInput | CreatePipelineCommandInput | DeleteCustomActionTypeCommandInput | DeletePipelineCommandInput | DeleteWebhookCommandInput | DeregisterWebhookWithThirdPartyCommandInput | DisableStageTransitionCommandInput | EnableStageTransitionCommandInput | GetActionTypeCommandInput | GetJobDetailsCommandInput | GetPipelineCommandInput | GetPipelineExecutionCommandInput | GetPipelineStateCommandInput | GetThirdPartyJobDetailsCommandInput | ListActionExecutionsCommandInput | ListActionTypesCommandInput | ListPipelineExecutionsCommandInput | ListPipelinesCommandInput | ListRuleExecutionsCommandInput | ListRuleTypesCommandInput | ListTagsForResourceCommandInput | ListWebhooksCommandInput | OverrideStageConditionCommandInput | PollForJobsCommandInput | PollForThirdPartyJobsCommandInput | PutActionRevisionCommandInput | PutApprovalResultCommandInput | PutJobFailureResultCommandInput | PutJobSuccessResultCommandInput | PutThirdPartyJobFailureResultCommandInput | PutThirdPartyJobSuccessResultCommandInput | PutWebhookCommandInput | RegisterWebhookWithThirdPartyCommandInput | RetryStageExecutionCommandInput | RollbackStageCommandInput | StartPipelineExecutionCommandInput | StopPipelineExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTypeCommandInput | UpdatePipelineCommandInput;
57
60
  /**
58
61
  * @public
59
62
  */
60
- export type ServiceOutputTypes = AcknowledgeJobCommandOutput | AcknowledgeThirdPartyJobCommandOutput | CreateCustomActionTypeCommandOutput | CreatePipelineCommandOutput | DeleteCustomActionTypeCommandOutput | DeletePipelineCommandOutput | DeleteWebhookCommandOutput | DeregisterWebhookWithThirdPartyCommandOutput | DisableStageTransitionCommandOutput | EnableStageTransitionCommandOutput | GetActionTypeCommandOutput | GetJobDetailsCommandOutput | GetPipelineCommandOutput | GetPipelineExecutionCommandOutput | GetPipelineStateCommandOutput | GetThirdPartyJobDetailsCommandOutput | ListActionExecutionsCommandOutput | ListActionTypesCommandOutput | ListPipelineExecutionsCommandOutput | ListPipelinesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | PollForJobsCommandOutput | PollForThirdPartyJobsCommandOutput | PutActionRevisionCommandOutput | PutApprovalResultCommandOutput | PutJobFailureResultCommandOutput | PutJobSuccessResultCommandOutput | PutThirdPartyJobFailureResultCommandOutput | PutThirdPartyJobSuccessResultCommandOutput | PutWebhookCommandOutput | RegisterWebhookWithThirdPartyCommandOutput | RetryStageExecutionCommandOutput | RollbackStageCommandOutput | StartPipelineExecutionCommandOutput | StopPipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTypeCommandOutput | UpdatePipelineCommandOutput;
63
+ export type ServiceOutputTypes = AcknowledgeJobCommandOutput | AcknowledgeThirdPartyJobCommandOutput | CreateCustomActionTypeCommandOutput | CreatePipelineCommandOutput | DeleteCustomActionTypeCommandOutput | DeletePipelineCommandOutput | DeleteWebhookCommandOutput | DeregisterWebhookWithThirdPartyCommandOutput | DisableStageTransitionCommandOutput | EnableStageTransitionCommandOutput | GetActionTypeCommandOutput | GetJobDetailsCommandOutput | GetPipelineCommandOutput | GetPipelineExecutionCommandOutput | GetPipelineStateCommandOutput | GetThirdPartyJobDetailsCommandOutput | ListActionExecutionsCommandOutput | ListActionTypesCommandOutput | ListPipelineExecutionsCommandOutput | ListPipelinesCommandOutput | ListRuleExecutionsCommandOutput | ListRuleTypesCommandOutput | ListTagsForResourceCommandOutput | ListWebhooksCommandOutput | OverrideStageConditionCommandOutput | PollForJobsCommandOutput | PollForThirdPartyJobsCommandOutput | PutActionRevisionCommandOutput | PutApprovalResultCommandOutput | PutJobFailureResultCommandOutput | PutJobSuccessResultCommandOutput | PutThirdPartyJobFailureResultCommandOutput | PutThirdPartyJobSuccessResultCommandOutput | PutWebhookCommandOutput | RegisterWebhookWithThirdPartyCommandOutput | RetryStageExecutionCommandOutput | RollbackStageCommandOutput | StartPipelineExecutionCommandOutput | StopPipelineExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTypeCommandOutput | UpdatePipelineCommandOutput;
61
64
  /**
62
65
  * @public
63
66
  */
@@ -101,7 +101,92 @@ declare const CreatePipelineCommand_base: {
101
101
  * },
102
102
  * ],
103
103
  * onFailure: { // FailureConditions
104
- * result: "ROLLBACK",
104
+ * result: "ROLLBACK" || "FAIL",
105
+ * conditions: [ // ConditionList
106
+ * { // Condition
107
+ * result: "ROLLBACK" || "FAIL",
108
+ * rules: [ // RuleDeclarationList
109
+ * { // RuleDeclaration
110
+ * name: "STRING_VALUE", // required
111
+ * ruleTypeId: { // RuleTypeId
112
+ * category: "Rule", // required
113
+ * owner: "AWS",
114
+ * provider: "STRING_VALUE", // required
115
+ * version: "STRING_VALUE",
116
+ * },
117
+ * configuration: { // RuleConfigurationMap
118
+ * "<keys>": "STRING_VALUE",
119
+ * },
120
+ * inputArtifacts: [
121
+ * {
122
+ * name: "STRING_VALUE", // required
123
+ * },
124
+ * ],
125
+ * roleArn: "STRING_VALUE",
126
+ * region: "STRING_VALUE",
127
+ * timeoutInMinutes: Number("int"),
128
+ * },
129
+ * ],
130
+ * },
131
+ * ],
132
+ * },
133
+ * onSuccess: { // SuccessConditions
134
+ * conditions: [ // required
135
+ * {
136
+ * result: "ROLLBACK" || "FAIL",
137
+ * rules: [
138
+ * {
139
+ * name: "STRING_VALUE", // required
140
+ * ruleTypeId: {
141
+ * category: "Rule", // required
142
+ * owner: "AWS",
143
+ * provider: "STRING_VALUE", // required
144
+ * version: "STRING_VALUE",
145
+ * },
146
+ * configuration: {
147
+ * "<keys>": "STRING_VALUE",
148
+ * },
149
+ * inputArtifacts: [
150
+ * {
151
+ * name: "STRING_VALUE", // required
152
+ * },
153
+ * ],
154
+ * roleArn: "STRING_VALUE",
155
+ * region: "STRING_VALUE",
156
+ * timeoutInMinutes: Number("int"),
157
+ * },
158
+ * ],
159
+ * },
160
+ * ],
161
+ * },
162
+ * beforeEntry: { // BeforeEntryConditions
163
+ * conditions: [ // required
164
+ * {
165
+ * result: "ROLLBACK" || "FAIL",
166
+ * rules: [
167
+ * {
168
+ * name: "STRING_VALUE", // required
169
+ * ruleTypeId: {
170
+ * category: "Rule", // required
171
+ * owner: "AWS",
172
+ * provider: "STRING_VALUE", // required
173
+ * version: "STRING_VALUE",
174
+ * },
175
+ * configuration: {
176
+ * "<keys>": "STRING_VALUE",
177
+ * },
178
+ * inputArtifacts: [
179
+ * {
180
+ * name: "STRING_VALUE", // required
181
+ * },
182
+ * ],
183
+ * roleArn: "STRING_VALUE",
184
+ * region: "STRING_VALUE",
185
+ * timeoutInMinutes: Number("int"),
186
+ * },
187
+ * ],
188
+ * },
189
+ * ],
105
190
  * },
106
191
  * },
107
192
  * ],
@@ -245,7 +330,92 @@ declare const CreatePipelineCommand_base: {
245
330
  * // },
246
331
  * // ],
247
332
  * // onFailure: { // FailureConditions
248
- * // result: "ROLLBACK",
333
+ * // result: "ROLLBACK" || "FAIL",
334
+ * // conditions: [ // ConditionList
335
+ * // { // Condition
336
+ * // result: "ROLLBACK" || "FAIL",
337
+ * // rules: [ // RuleDeclarationList
338
+ * // { // RuleDeclaration
339
+ * // name: "STRING_VALUE", // required
340
+ * // ruleTypeId: { // RuleTypeId
341
+ * // category: "Rule", // required
342
+ * // owner: "AWS",
343
+ * // provider: "STRING_VALUE", // required
344
+ * // version: "STRING_VALUE",
345
+ * // },
346
+ * // configuration: { // RuleConfigurationMap
347
+ * // "<keys>": "STRING_VALUE",
348
+ * // },
349
+ * // inputArtifacts: [
350
+ * // {
351
+ * // name: "STRING_VALUE", // required
352
+ * // },
353
+ * // ],
354
+ * // roleArn: "STRING_VALUE",
355
+ * // region: "STRING_VALUE",
356
+ * // timeoutInMinutes: Number("int"),
357
+ * // },
358
+ * // ],
359
+ * // },
360
+ * // ],
361
+ * // },
362
+ * // onSuccess: { // SuccessConditions
363
+ * // conditions: [ // required
364
+ * // {
365
+ * // result: "ROLLBACK" || "FAIL",
366
+ * // rules: [
367
+ * // {
368
+ * // name: "STRING_VALUE", // required
369
+ * // ruleTypeId: {
370
+ * // category: "Rule", // required
371
+ * // owner: "AWS",
372
+ * // provider: "STRING_VALUE", // required
373
+ * // version: "STRING_VALUE",
374
+ * // },
375
+ * // configuration: {
376
+ * // "<keys>": "STRING_VALUE",
377
+ * // },
378
+ * // inputArtifacts: [
379
+ * // {
380
+ * // name: "STRING_VALUE", // required
381
+ * // },
382
+ * // ],
383
+ * // roleArn: "STRING_VALUE",
384
+ * // region: "STRING_VALUE",
385
+ * // timeoutInMinutes: Number("int"),
386
+ * // },
387
+ * // ],
388
+ * // },
389
+ * // ],
390
+ * // },
391
+ * // beforeEntry: { // BeforeEntryConditions
392
+ * // conditions: [ // required
393
+ * // {
394
+ * // result: "ROLLBACK" || "FAIL",
395
+ * // rules: [
396
+ * // {
397
+ * // name: "STRING_VALUE", // required
398
+ * // ruleTypeId: {
399
+ * // category: "Rule", // required
400
+ * // owner: "AWS",
401
+ * // provider: "STRING_VALUE", // required
402
+ * // version: "STRING_VALUE",
403
+ * // },
404
+ * // configuration: {
405
+ * // "<keys>": "STRING_VALUE",
406
+ * // },
407
+ * // inputArtifacts: [
408
+ * // {
409
+ * // name: "STRING_VALUE", // required
410
+ * // },
411
+ * // ],
412
+ * // roleArn: "STRING_VALUE",
413
+ * // region: "STRING_VALUE",
414
+ * // timeoutInMinutes: Number("int"),
415
+ * // },
416
+ * // ],
417
+ * // },
418
+ * // ],
249
419
  * // },
250
420
  * // },
251
421
  * // ],
@@ -103,7 +103,92 @@ declare const GetPipelineCommand_base: {
103
103
  * // },
104
104
  * // ],
105
105
  * // onFailure: { // FailureConditions
106
- * // result: "ROLLBACK",
106
+ * // result: "ROLLBACK" || "FAIL",
107
+ * // conditions: [ // ConditionList
108
+ * // { // Condition
109
+ * // result: "ROLLBACK" || "FAIL",
110
+ * // rules: [ // RuleDeclarationList
111
+ * // { // RuleDeclaration
112
+ * // name: "STRING_VALUE", // required
113
+ * // ruleTypeId: { // RuleTypeId
114
+ * // category: "Rule", // required
115
+ * // owner: "AWS",
116
+ * // provider: "STRING_VALUE", // required
117
+ * // version: "STRING_VALUE",
118
+ * // },
119
+ * // configuration: { // RuleConfigurationMap
120
+ * // "<keys>": "STRING_VALUE",
121
+ * // },
122
+ * // inputArtifacts: [
123
+ * // {
124
+ * // name: "STRING_VALUE", // required
125
+ * // },
126
+ * // ],
127
+ * // roleArn: "STRING_VALUE",
128
+ * // region: "STRING_VALUE",
129
+ * // timeoutInMinutes: Number("int"),
130
+ * // },
131
+ * // ],
132
+ * // },
133
+ * // ],
134
+ * // },
135
+ * // onSuccess: { // SuccessConditions
136
+ * // conditions: [ // required
137
+ * // {
138
+ * // result: "ROLLBACK" || "FAIL",
139
+ * // rules: [
140
+ * // {
141
+ * // name: "STRING_VALUE", // required
142
+ * // ruleTypeId: {
143
+ * // category: "Rule", // required
144
+ * // owner: "AWS",
145
+ * // provider: "STRING_VALUE", // required
146
+ * // version: "STRING_VALUE",
147
+ * // },
148
+ * // configuration: {
149
+ * // "<keys>": "STRING_VALUE",
150
+ * // },
151
+ * // inputArtifacts: [
152
+ * // {
153
+ * // name: "STRING_VALUE", // required
154
+ * // },
155
+ * // ],
156
+ * // roleArn: "STRING_VALUE",
157
+ * // region: "STRING_VALUE",
158
+ * // timeoutInMinutes: Number("int"),
159
+ * // },
160
+ * // ],
161
+ * // },
162
+ * // ],
163
+ * // },
164
+ * // beforeEntry: { // BeforeEntryConditions
165
+ * // conditions: [ // required
166
+ * // {
167
+ * // result: "ROLLBACK" || "FAIL",
168
+ * // rules: [
169
+ * // {
170
+ * // name: "STRING_VALUE", // required
171
+ * // ruleTypeId: {
172
+ * // category: "Rule", // required
173
+ * // owner: "AWS",
174
+ * // provider: "STRING_VALUE", // required
175
+ * // version: "STRING_VALUE",
176
+ * // },
177
+ * // configuration: {
178
+ * // "<keys>": "STRING_VALUE",
179
+ * // },
180
+ * // inputArtifacts: [
181
+ * // {
182
+ * // name: "STRING_VALUE", // required
183
+ * // },
184
+ * // ],
185
+ * // roleArn: "STRING_VALUE",
186
+ * // region: "STRING_VALUE",
187
+ * // timeoutInMinutes: Number("int"),
188
+ * // },
189
+ * // ],
190
+ * // },
191
+ * // ],
107
192
  * // },
108
193
  * // },
109
194
  * // ],
@@ -101,6 +101,129 @@ declare const GetPipelineStateCommand_base: {
101
101
  * // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
102
102
  * // type: "STANDARD" || "ROLLBACK",
103
103
  * // },
104
+ * // beforeEntryConditionState: { // StageConditionState
105
+ * // latestExecution: { // StageConditionsExecution
106
+ * // status: "InProgress" || "Failed" || "Errored" || "Succeeded" || "Cancelled" || "Abandoned" || "Overridden",
107
+ * // summary: "STRING_VALUE",
108
+ * // },
109
+ * // conditionStates: [ // ConditionStateList
110
+ * // { // ConditionState
111
+ * // latestExecution: { // ConditionExecution
112
+ * // status: "InProgress" || "Failed" || "Errored" || "Succeeded" || "Cancelled" || "Abandoned" || "Overridden",
113
+ * // summary: "STRING_VALUE",
114
+ * // lastStatusChange: new Date("TIMESTAMP"),
115
+ * // },
116
+ * // ruleStates: [ // RuleStateList
117
+ * // { // RuleState
118
+ * // ruleName: "STRING_VALUE",
119
+ * // currentRevision: { // RuleRevision
120
+ * // revisionId: "STRING_VALUE", // required
121
+ * // revisionChangeId: "STRING_VALUE", // required
122
+ * // created: new Date("TIMESTAMP"), // required
123
+ * // },
124
+ * // latestExecution: { // RuleExecution
125
+ * // ruleExecutionId: "STRING_VALUE",
126
+ * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
127
+ * // summary: "STRING_VALUE",
128
+ * // lastStatusChange: new Date("TIMESTAMP"),
129
+ * // token: "STRING_VALUE",
130
+ * // lastUpdatedBy: "STRING_VALUE",
131
+ * // externalExecutionId: "STRING_VALUE",
132
+ * // externalExecutionUrl: "STRING_VALUE",
133
+ * // errorDetails: {
134
+ * // code: "STRING_VALUE",
135
+ * // message: "STRING_VALUE",
136
+ * // },
137
+ * // },
138
+ * // entityUrl: "STRING_VALUE",
139
+ * // revisionUrl: "STRING_VALUE",
140
+ * // },
141
+ * // ],
142
+ * // },
143
+ * // ],
144
+ * // },
145
+ * // onSuccessConditionState: {
146
+ * // latestExecution: {
147
+ * // status: "InProgress" || "Failed" || "Errored" || "Succeeded" || "Cancelled" || "Abandoned" || "Overridden",
148
+ * // summary: "STRING_VALUE",
149
+ * // },
150
+ * // conditionStates: [
151
+ * // {
152
+ * // latestExecution: {
153
+ * // status: "InProgress" || "Failed" || "Errored" || "Succeeded" || "Cancelled" || "Abandoned" || "Overridden",
154
+ * // summary: "STRING_VALUE",
155
+ * // lastStatusChange: new Date("TIMESTAMP"),
156
+ * // },
157
+ * // ruleStates: [
158
+ * // {
159
+ * // ruleName: "STRING_VALUE",
160
+ * // currentRevision: {
161
+ * // revisionId: "STRING_VALUE", // required
162
+ * // revisionChangeId: "STRING_VALUE", // required
163
+ * // created: new Date("TIMESTAMP"), // required
164
+ * // },
165
+ * // latestExecution: {
166
+ * // ruleExecutionId: "STRING_VALUE",
167
+ * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
168
+ * // summary: "STRING_VALUE",
169
+ * // lastStatusChange: new Date("TIMESTAMP"),
170
+ * // token: "STRING_VALUE",
171
+ * // lastUpdatedBy: "STRING_VALUE",
172
+ * // externalExecutionId: "STRING_VALUE",
173
+ * // externalExecutionUrl: "STRING_VALUE",
174
+ * // errorDetails: {
175
+ * // code: "STRING_VALUE",
176
+ * // message: "STRING_VALUE",
177
+ * // },
178
+ * // },
179
+ * // entityUrl: "STRING_VALUE",
180
+ * // revisionUrl: "STRING_VALUE",
181
+ * // },
182
+ * // ],
183
+ * // },
184
+ * // ],
185
+ * // },
186
+ * // onFailureConditionState: {
187
+ * // latestExecution: {
188
+ * // status: "InProgress" || "Failed" || "Errored" || "Succeeded" || "Cancelled" || "Abandoned" || "Overridden",
189
+ * // summary: "STRING_VALUE",
190
+ * // },
191
+ * // conditionStates: [
192
+ * // {
193
+ * // latestExecution: {
194
+ * // status: "InProgress" || "Failed" || "Errored" || "Succeeded" || "Cancelled" || "Abandoned" || "Overridden",
195
+ * // summary: "STRING_VALUE",
196
+ * // lastStatusChange: new Date("TIMESTAMP"),
197
+ * // },
198
+ * // ruleStates: [
199
+ * // {
200
+ * // ruleName: "STRING_VALUE",
201
+ * // currentRevision: {
202
+ * // revisionId: "STRING_VALUE", // required
203
+ * // revisionChangeId: "STRING_VALUE", // required
204
+ * // created: new Date("TIMESTAMP"), // required
205
+ * // },
206
+ * // latestExecution: {
207
+ * // ruleExecutionId: "STRING_VALUE",
208
+ * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
209
+ * // summary: "STRING_VALUE",
210
+ * // lastStatusChange: new Date("TIMESTAMP"),
211
+ * // token: "STRING_VALUE",
212
+ * // lastUpdatedBy: "STRING_VALUE",
213
+ * // externalExecutionId: "STRING_VALUE",
214
+ * // externalExecutionUrl: "STRING_VALUE",
215
+ * // errorDetails: {
216
+ * // code: "STRING_VALUE",
217
+ * // message: "STRING_VALUE",
218
+ * // },
219
+ * // },
220
+ * // entityUrl: "STRING_VALUE",
221
+ * // revisionUrl: "STRING_VALUE",
222
+ * // },
223
+ * // ],
224
+ * // },
225
+ * // ],
226
+ * // },
104
227
  * // },
105
228
  * // ],
106
229
  * // created: new Date("TIMESTAMP"),
@@ -0,0 +1,132 @@
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 { ListRuleExecutionsInput, ListRuleExecutionsOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListRuleExecutionsCommand}.
14
+ */
15
+ export interface ListRuleExecutionsCommandInput extends ListRuleExecutionsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListRuleExecutionsCommand}.
21
+ */
22
+ export interface ListRuleExecutionsCommandOutput extends ListRuleExecutionsOutput, __MetadataBearer {
23
+ }
24
+ declare const ListRuleExecutionsCommand_base: {
25
+ new (input: ListRuleExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListRuleExecutionsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRuleExecutionsCommandInput, ListRuleExecutionsCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the rule executions that have occurred in a pipeline configured for conditions with rules.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CodePipelineClient, ListRuleExecutionsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
35
+ * // const { CodePipelineClient, ListRuleExecutionsCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
36
+ * const client = new CodePipelineClient(config);
37
+ * const input = { // ListRuleExecutionsInput
38
+ * pipelineName: "STRING_VALUE", // required
39
+ * filter: { // RuleExecutionFilter
40
+ * pipelineExecutionId: "STRING_VALUE",
41
+ * latestInPipelineExecution: { // LatestInPipelineExecutionFilter
42
+ * pipelineExecutionId: "STRING_VALUE", // required
43
+ * startTimeRange: "Latest" || "All", // required
44
+ * },
45
+ * },
46
+ * maxResults: Number("int"),
47
+ * nextToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new ListRuleExecutionsCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // ListRuleExecutionsOutput
52
+ * // ruleExecutionDetails: [ // RuleExecutionDetailList
53
+ * // { // RuleExecutionDetail
54
+ * // pipelineExecutionId: "STRING_VALUE",
55
+ * // ruleExecutionId: "STRING_VALUE",
56
+ * // pipelineVersion: Number("int"),
57
+ * // stageName: "STRING_VALUE",
58
+ * // ruleName: "STRING_VALUE",
59
+ * // startTime: new Date("TIMESTAMP"),
60
+ * // lastUpdateTime: new Date("TIMESTAMP"),
61
+ * // updatedBy: "STRING_VALUE",
62
+ * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
63
+ * // input: { // RuleExecutionInput
64
+ * // ruleTypeId: { // RuleTypeId
65
+ * // category: "Rule", // required
66
+ * // owner: "AWS",
67
+ * // provider: "STRING_VALUE", // required
68
+ * // version: "STRING_VALUE",
69
+ * // },
70
+ * // configuration: { // RuleConfigurationMap
71
+ * // "<keys>": "STRING_VALUE",
72
+ * // },
73
+ * // resolvedConfiguration: { // ResolvedRuleConfigurationMap
74
+ * // "<keys>": "STRING_VALUE",
75
+ * // },
76
+ * // roleArn: "STRING_VALUE",
77
+ * // region: "STRING_VALUE",
78
+ * // inputArtifacts: [ // ArtifactDetailList
79
+ * // { // ArtifactDetail
80
+ * // name: "STRING_VALUE",
81
+ * // s3location: { // S3Location
82
+ * // bucket: "STRING_VALUE",
83
+ * // key: "STRING_VALUE",
84
+ * // },
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // output: { // RuleExecutionOutput
89
+ * // executionResult: { // RuleExecutionResult
90
+ * // externalExecutionId: "STRING_VALUE",
91
+ * // externalExecutionSummary: "STRING_VALUE",
92
+ * // externalExecutionUrl: "STRING_VALUE",
93
+ * // errorDetails: { // ErrorDetails
94
+ * // code: "STRING_VALUE",
95
+ * // message: "STRING_VALUE",
96
+ * // },
97
+ * // },
98
+ * // },
99
+ * // },
100
+ * // ],
101
+ * // nextToken: "STRING_VALUE",
102
+ * // };
103
+ *
104
+ * ```
105
+ *
106
+ * @param ListRuleExecutionsCommandInput - {@link ListRuleExecutionsCommandInput}
107
+ * @returns {@link ListRuleExecutionsCommandOutput}
108
+ * @see {@link ListRuleExecutionsCommandInput} for command's `input` shape.
109
+ * @see {@link ListRuleExecutionsCommandOutput} for command's `response` shape.
110
+ * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape.
111
+ *
112
+ * @throws {@link InvalidNextTokenException} (client fault)
113
+ * <p>The next token was specified in an invalid format. Make sure that the next token
114
+ * you provide is the token returned by a previous call.</p>
115
+ *
116
+ * @throws {@link PipelineExecutionNotFoundException} (client fault)
117
+ * <p>The pipeline execution was specified in an invalid format or cannot be found, or an
118
+ * execution ID does not belong to the specified pipeline. </p>
119
+ *
120
+ * @throws {@link PipelineNotFoundException} (client fault)
121
+ * <p>The pipeline was specified in an invalid format or cannot be found.</p>
122
+ *
123
+ * @throws {@link ValidationException} (client fault)
124
+ * <p>The validation was specified in an invalid format.</p>
125
+ *
126
+ * @throws {@link CodePipelineServiceException}
127
+ * <p>Base exception class for all service exceptions from CodePipeline service.</p>
128
+ *
129
+ * @public
130
+ */
131
+ export declare class ListRuleExecutionsCommand extends ListRuleExecutionsCommand_base {
132
+ }