@aws-sdk/client-codepipeline 3.620.1 → 3.622.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/dist-cjs/index.js +386 -89
- package/dist-es/CodePipeline.js +6 -0
- package/dist-es/CodePipelineClient.js +12 -18
- package/dist-es/commands/ListRuleExecutionsCommand.js +24 -0
- package/dist-es/commands/ListRuleTypesCommand.js +24 -0
- package/dist-es/commands/OverrideStageConditionCommand.js +24 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +82 -39
- package/dist-es/pagination/ListRuleExecutionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +198 -14
- package/dist-types/CodePipeline.d.ts +22 -0
- package/dist-types/CodePipelineClient.d.ts +7 -6
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/commands/CreatePipelineCommand.d.ts +172 -2
- package/dist-types/commands/GetPipelineCommand.d.ts +86 -1
- package/dist-types/commands/GetPipelineStateCommand.d.ts +123 -0
- package/dist-types/commands/ListRuleExecutionsCommand.d.ts +132 -0
- package/dist-types/commands/ListRuleTypesCommand.d.ts +98 -0
- package/dist-types/commands/OverrideStageConditionCommand.d.ts +85 -0
- package/dist-types/commands/PutActionRevisionCommand.d.ts +3 -0
- package/dist-types/commands/RetryStageExecutionCommand.d.ts +3 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +172 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +1019 -222
- package/dist-types/pagination/ListRuleExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/CodePipeline.d.ts +52 -0
- package/dist-types/ts3.4/CodePipelineClient.d.ts +24 -8
- package/dist-types/ts3.4/commands/ListRuleExecutionsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListRuleTypesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/OverrideStageConditionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +228 -29
- package/dist-types/ts3.4/pagination/ListRuleExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/package.json +11 -11
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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 { ListRuleTypesInput, ListRuleTypesOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListRuleTypesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListRuleTypesCommandInput extends ListRuleTypesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListRuleTypesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRuleTypesCommandOutput extends ListRuleTypesOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListRuleTypesCommand_base: {
|
|
25
|
+
new (input: ListRuleTypesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRuleTypesCommandInput, ListRuleTypesCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListRuleTypesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRuleTypesCommandInput, ListRuleTypesCommandOutput, CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the rules for the condition.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CodePipelineClient, ListRuleTypesCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
35
|
+
* // const { CodePipelineClient, ListRuleTypesCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
36
|
+
* const client = new CodePipelineClient(config);
|
|
37
|
+
* const input = { // ListRuleTypesInput
|
|
38
|
+
* ruleOwnerFilter: "AWS",
|
|
39
|
+
* regionFilter: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListRuleTypesCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListRuleTypesOutput
|
|
44
|
+
* // ruleTypes: [ // RuleTypeList // required
|
|
45
|
+
* // { // RuleType
|
|
46
|
+
* // id: { // RuleTypeId
|
|
47
|
+
* // category: "Rule", // required
|
|
48
|
+
* // owner: "AWS",
|
|
49
|
+
* // provider: "STRING_VALUE", // required
|
|
50
|
+
* // version: "STRING_VALUE",
|
|
51
|
+
* // },
|
|
52
|
+
* // settings: { // RuleTypeSettings
|
|
53
|
+
* // thirdPartyConfigurationUrl: "STRING_VALUE",
|
|
54
|
+
* // entityUrlTemplate: "STRING_VALUE",
|
|
55
|
+
* // executionUrlTemplate: "STRING_VALUE",
|
|
56
|
+
* // revisionUrlTemplate: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // ruleConfigurationProperties: [ // RuleConfigurationPropertyList
|
|
59
|
+
* // { // RuleConfigurationProperty
|
|
60
|
+
* // name: "STRING_VALUE", // required
|
|
61
|
+
* // required: true || false, // required
|
|
62
|
+
* // key: true || false, // required
|
|
63
|
+
* // secret: true || false, // required
|
|
64
|
+
* // queryable: true || false,
|
|
65
|
+
* // description: "STRING_VALUE",
|
|
66
|
+
* // type: "String" || "Number" || "Boolean",
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // inputArtifactDetails: { // ArtifactDetails
|
|
70
|
+
* // minimumCount: Number("int"), // required
|
|
71
|
+
* // maximumCount: Number("int"), // required
|
|
72
|
+
* // },
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // };
|
|
76
|
+
*
|
|
77
|
+
* ```
|
|
78
|
+
*
|
|
79
|
+
* @param ListRuleTypesCommandInput - {@link ListRuleTypesCommandInput}
|
|
80
|
+
* @returns {@link ListRuleTypesCommandOutput}
|
|
81
|
+
* @see {@link ListRuleTypesCommandInput} for command's `input` shape.
|
|
82
|
+
* @see {@link ListRuleTypesCommandOutput} for command's `response` shape.
|
|
83
|
+
* @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape.
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InvalidNextTokenException} (client fault)
|
|
86
|
+
* <p>The next token was specified in an invalid format. Make sure that the next token
|
|
87
|
+
* you provide is the token returned by a previous call.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The validation was specified in an invalid format.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link CodePipelineServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from CodePipeline service.</p>
|
|
94
|
+
*
|
|
95
|
+
* @public
|
|
96
|
+
*/
|
|
97
|
+
export declare class ListRuleTypesCommand extends ListRuleTypesCommand_base {
|
|
98
|
+
}
|