@aws-sdk/client-codepipeline 3.433.0 → 3.435.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/models/models_0.js +18 -10
- package/dist-cjs/protocols/Aws_json1_1.js +4 -0
- package/dist-es/models/models_0.js +16 -8
- package/dist-es/protocols/Aws_json1_1.js +4 -0
- package/dist-types/commands/CreatePipelineCommand.d.ts +56 -0
- package/dist-types/commands/GetPipelineCommand.d.ts +28 -0
- package/dist-types/commands/GetPipelineExecutionCommand.d.ts +10 -0
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -0
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +6 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +56 -0
- package/dist-types/models/models_0.d.ts +282 -35
- package/dist-types/ts3.4/models/models_0.d.ts +59 -13
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.PollForJobsOutputFilterSensitiveLog = exports.JobFilterSensitiveLog = exports.GetThirdPartyJobDetailsOutputFilterSensitiveLog = exports.ThirdPartyJobDetailsFilterSensitiveLog = exports.ThirdPartyJobDataFilterSensitiveLog = exports.GetJobDetailsOutputFilterSensitiveLog = exports.JobDetailsFilterSensitiveLog = exports.JobDataFilterSensitiveLog = exports.AWSSessionCredentialsFilterSensitiveLog = exports.RequestFailedException = exports.PipelineExecutionNotStoppableException = exports.DuplicatedStopRequestException = exports.StageNotRetryableException = void 0;
|
|
3
|
+
exports.ConflictException = exports.InvalidWebhookFilterPatternException = exports.InvalidWebhookAuthenticationParametersException = exports.OutputVariablesSizeExceededException = exports.FailureType = exports.InvalidJobStateException = exports.InvalidApprovalTokenException = exports.WebhookAuthenticationType = exports.ResourceNotFoundException = exports.InvalidArnException = exports.InvalidNextTokenException = exports.InvalidJobException = exports.StageExecutionStatus = exports.PipelineExecutionNotFoundException = exports.TriggerType = exports.PipelineExecutionStatus = exports.PipelineVersionNotFoundException = exports.StageNotFoundException = exports.PipelineNotFoundException = exports.StageTransitionType = exports.WebhookNotFoundException = exports.PipelineNameInUseException = exports.InvalidStructureException = exports.InvalidStageDeclarationException = exports.InvalidBlockerDeclarationException = exports.InvalidActionDeclarationException = exports.PipelineTriggerProviderType = exports.PipelineType = exports.TooManyTagsException = exports.LimitExceededException = exports.InvalidTagsException = exports.ConcurrentModificationException = exports.BlockerType = exports.ArtifactStoreType = exports.EncryptionKeyType = exports.ArtifactLocationType = exports.ApprovalStatus = exports.ApprovalAlreadyCompletedException = exports.ActionTypeNotFoundException = exports.ExecutorType = exports.ActionNotFoundException = exports.ActionExecutionStatus = exports.ActionOwner = exports.ActionConfigurationPropertyType = exports.ActionCategory = exports.InvalidClientTokenException = exports.ValidationException = exports.JobNotFoundException = exports.InvalidNonceException = exports.JobStatus = void 0;
|
|
4
|
+
exports.PollForJobsOutputFilterSensitiveLog = exports.JobFilterSensitiveLog = exports.GetThirdPartyJobDetailsOutputFilterSensitiveLog = exports.ThirdPartyJobDetailsFilterSensitiveLog = exports.ThirdPartyJobDataFilterSensitiveLog = exports.GetJobDetailsOutputFilterSensitiveLog = exports.JobDetailsFilterSensitiveLog = exports.JobDataFilterSensitiveLog = exports.AWSSessionCredentialsFilterSensitiveLog = exports.RequestFailedException = exports.PipelineExecutionNotStoppableException = exports.DuplicatedStopRequestException = exports.StageNotRetryableException = exports.StageRetryMode = exports.NotLatestPipelineExecutionException = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const CodePipelineServiceException_1 = require("./CodePipelineServiceException");
|
|
7
7
|
exports.JobStatus = {
|
|
@@ -200,6 +200,13 @@ class TooManyTagsException extends CodePipelineServiceException_1.CodePipelineSe
|
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
exports.TooManyTagsException = TooManyTagsException;
|
|
203
|
+
exports.PipelineType = {
|
|
204
|
+
V1: "V1",
|
|
205
|
+
V2: "V2",
|
|
206
|
+
};
|
|
207
|
+
exports.PipelineTriggerProviderType = {
|
|
208
|
+
CodeStarSourceConnection: "CodeStarSourceConnection",
|
|
209
|
+
};
|
|
203
210
|
class InvalidActionDeclarationException extends CodePipelineServiceException_1.CodePipelineServiceException {
|
|
204
211
|
constructor(opts) {
|
|
205
212
|
super({
|
|
@@ -330,6 +337,15 @@ exports.PipelineExecutionStatus = {
|
|
|
330
337
|
Succeeded: "Succeeded",
|
|
331
338
|
Superseded: "Superseded",
|
|
332
339
|
};
|
|
340
|
+
exports.TriggerType = {
|
|
341
|
+
CloudWatchEvent: "CloudWatchEvent",
|
|
342
|
+
CreatePipeline: "CreatePipeline",
|
|
343
|
+
PollForSourceChanges: "PollForSourceChanges",
|
|
344
|
+
PutActionRevision: "PutActionRevision",
|
|
345
|
+
StartPipelineExecution: "StartPipelineExecution",
|
|
346
|
+
Webhook: "Webhook",
|
|
347
|
+
WebhookV2: "WebhookV2",
|
|
348
|
+
};
|
|
333
349
|
class PipelineExecutionNotFoundException extends CodePipelineServiceException_1.CodePipelineServiceException {
|
|
334
350
|
constructor(opts) {
|
|
335
351
|
super({
|
|
@@ -377,14 +393,6 @@ class InvalidNextTokenException extends CodePipelineServiceException_1.CodePipel
|
|
|
377
393
|
}
|
|
378
394
|
}
|
|
379
395
|
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
380
|
-
exports.TriggerType = {
|
|
381
|
-
CloudWatchEvent: "CloudWatchEvent",
|
|
382
|
-
CreatePipeline: "CreatePipeline",
|
|
383
|
-
PollForSourceChanges: "PollForSourceChanges",
|
|
384
|
-
PutActionRevision: "PutActionRevision",
|
|
385
|
-
StartPipelineExecution: "StartPipelineExecution",
|
|
386
|
-
Webhook: "Webhook",
|
|
387
|
-
};
|
|
388
396
|
class InvalidArnException extends CodePipelineServiceException_1.CodePipelineServiceException {
|
|
389
397
|
constructor(opts) {
|
|
390
398
|
super({
|
|
@@ -2218,6 +2218,7 @@ const se_StartPipelineExecutionInput = (input, context) => {
|
|
|
2218
2218
|
return (0, smithy_client_1.take)(input, {
|
|
2219
2219
|
clientRequestToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2220
2220
|
name: [],
|
|
2221
|
+
variables: smithy_client_1._json,
|
|
2221
2222
|
});
|
|
2222
2223
|
};
|
|
2223
2224
|
const de_ActionExecution = (output, context) => {
|
|
@@ -2361,6 +2362,8 @@ const de_PipelineExecution = (output, context) => {
|
|
|
2361
2362
|
pipelineVersion: smithy_client_1.expectInt32,
|
|
2362
2363
|
status: smithy_client_1.expectString,
|
|
2363
2364
|
statusSummary: smithy_client_1.expectString,
|
|
2365
|
+
trigger: smithy_client_1._json,
|
|
2366
|
+
variables: smithy_client_1._json,
|
|
2364
2367
|
});
|
|
2365
2368
|
};
|
|
2366
2369
|
const de_PipelineExecutionSummary = (output, context) => {
|
|
@@ -2402,6 +2405,7 @@ const de_PipelineSummary = (output, context) => {
|
|
|
2402
2405
|
return (0, smithy_client_1.take)(output, {
|
|
2403
2406
|
created: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2404
2407
|
name: smithy_client_1.expectString,
|
|
2408
|
+
pipelineType: smithy_client_1.expectString,
|
|
2405
2409
|
updated: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
2406
2410
|
version: smithy_client_1.expectInt32,
|
|
2407
2411
|
});
|
|
@@ -185,6 +185,13 @@ export class TooManyTagsException extends __BaseException {
|
|
|
185
185
|
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
|
+
export const PipelineType = {
|
|
189
|
+
V1: "V1",
|
|
190
|
+
V2: "V2",
|
|
191
|
+
};
|
|
192
|
+
export const PipelineTriggerProviderType = {
|
|
193
|
+
CodeStarSourceConnection: "CodeStarSourceConnection",
|
|
194
|
+
};
|
|
188
195
|
export class InvalidActionDeclarationException extends __BaseException {
|
|
189
196
|
constructor(opts) {
|
|
190
197
|
super({
|
|
@@ -306,6 +313,15 @@ export const PipelineExecutionStatus = {
|
|
|
306
313
|
Succeeded: "Succeeded",
|
|
307
314
|
Superseded: "Superseded",
|
|
308
315
|
};
|
|
316
|
+
export const TriggerType = {
|
|
317
|
+
CloudWatchEvent: "CloudWatchEvent",
|
|
318
|
+
CreatePipeline: "CreatePipeline",
|
|
319
|
+
PollForSourceChanges: "PollForSourceChanges",
|
|
320
|
+
PutActionRevision: "PutActionRevision",
|
|
321
|
+
StartPipelineExecution: "StartPipelineExecution",
|
|
322
|
+
Webhook: "Webhook",
|
|
323
|
+
WebhookV2: "WebhookV2",
|
|
324
|
+
};
|
|
309
325
|
export class PipelineExecutionNotFoundException extends __BaseException {
|
|
310
326
|
constructor(opts) {
|
|
311
327
|
super({
|
|
@@ -350,14 +366,6 @@ export class InvalidNextTokenException extends __BaseException {
|
|
|
350
366
|
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
351
367
|
}
|
|
352
368
|
}
|
|
353
|
-
export const TriggerType = {
|
|
354
|
-
CloudWatchEvent: "CloudWatchEvent",
|
|
355
|
-
CreatePipeline: "CreatePipeline",
|
|
356
|
-
PollForSourceChanges: "PollForSourceChanges",
|
|
357
|
-
PutActionRevision: "PutActionRevision",
|
|
358
|
-
StartPipelineExecution: "StartPipelineExecution",
|
|
359
|
-
Webhook: "Webhook",
|
|
360
|
-
};
|
|
361
369
|
export class InvalidArnException extends __BaseException {
|
|
362
370
|
constructor(opts) {
|
|
363
371
|
super({
|
|
@@ -2136,6 +2136,7 @@ const se_StartPipelineExecutionInput = (input, context) => {
|
|
|
2136
2136
|
return take(input, {
|
|
2137
2137
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
2138
2138
|
name: [],
|
|
2139
|
+
variables: _json,
|
|
2139
2140
|
});
|
|
2140
2141
|
};
|
|
2141
2142
|
const de_ActionExecution = (output, context) => {
|
|
@@ -2279,6 +2280,8 @@ const de_PipelineExecution = (output, context) => {
|
|
|
2279
2280
|
pipelineVersion: __expectInt32,
|
|
2280
2281
|
status: __expectString,
|
|
2281
2282
|
statusSummary: __expectString,
|
|
2283
|
+
trigger: _json,
|
|
2284
|
+
variables: _json,
|
|
2282
2285
|
});
|
|
2283
2286
|
};
|
|
2284
2287
|
const de_PipelineExecutionSummary = (output, context) => {
|
|
@@ -2320,6 +2323,7 @@ const de_PipelineSummary = (output, context) => {
|
|
|
2320
2323
|
return take(output, {
|
|
2321
2324
|
created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2322
2325
|
name: __expectString,
|
|
2326
|
+
pipelineType: __expectString,
|
|
2323
2327
|
updated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2324
2328
|
version: __expectInt32,
|
|
2325
2329
|
});
|
|
@@ -98,6 +98,34 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
|
|
|
98
98
|
* },
|
|
99
99
|
* ],
|
|
100
100
|
* version: Number("int"),
|
|
101
|
+
* pipelineType: "V1" || "V2",
|
|
102
|
+
* triggers: [ // PipelineTriggerDeclarationList
|
|
103
|
+
* { // PipelineTriggerDeclaration
|
|
104
|
+
* providerType: "CodeStarSourceConnection", // required
|
|
105
|
+
* gitConfiguration: { // GitConfiguration
|
|
106
|
+
* sourceActionName: "STRING_VALUE", // required
|
|
107
|
+
* push: [ // GitPushFilterList
|
|
108
|
+
* { // GitPushFilter
|
|
109
|
+
* tags: { // GitTagFilterCriteria
|
|
110
|
+
* includes: [ // GitTagPatternList
|
|
111
|
+
* "STRING_VALUE",
|
|
112
|
+
* ],
|
|
113
|
+
* excludes: [
|
|
114
|
+
* "STRING_VALUE",
|
|
115
|
+
* ],
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* },
|
|
120
|
+
* },
|
|
121
|
+
* ],
|
|
122
|
+
* variables: [ // PipelineVariableDeclarationList
|
|
123
|
+
* { // PipelineVariableDeclaration
|
|
124
|
+
* name: "STRING_VALUE", // required
|
|
125
|
+
* defaultValue: "STRING_VALUE",
|
|
126
|
+
* description: "STRING_VALUE",
|
|
127
|
+
* },
|
|
128
|
+
* ],
|
|
101
129
|
* },
|
|
102
130
|
* tags: [ // TagList
|
|
103
131
|
* { // Tag
|
|
@@ -170,6 +198,34 @@ export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __Met
|
|
|
170
198
|
* // },
|
|
171
199
|
* // ],
|
|
172
200
|
* // version: Number("int"),
|
|
201
|
+
* // pipelineType: "V1" || "V2",
|
|
202
|
+
* // triggers: [ // PipelineTriggerDeclarationList
|
|
203
|
+
* // { // PipelineTriggerDeclaration
|
|
204
|
+
* // providerType: "CodeStarSourceConnection", // required
|
|
205
|
+
* // gitConfiguration: { // GitConfiguration
|
|
206
|
+
* // sourceActionName: "STRING_VALUE", // required
|
|
207
|
+
* // push: [ // GitPushFilterList
|
|
208
|
+
* // { // GitPushFilter
|
|
209
|
+
* // tags: { // GitTagFilterCriteria
|
|
210
|
+
* // includes: [ // GitTagPatternList
|
|
211
|
+
* // "STRING_VALUE",
|
|
212
|
+
* // ],
|
|
213
|
+
* // excludes: [
|
|
214
|
+
* // "STRING_VALUE",
|
|
215
|
+
* // ],
|
|
216
|
+
* // },
|
|
217
|
+
* // },
|
|
218
|
+
* // ],
|
|
219
|
+
* // },
|
|
220
|
+
* // },
|
|
221
|
+
* // ],
|
|
222
|
+
* // variables: [ // PipelineVariableDeclarationList
|
|
223
|
+
* // { // PipelineVariableDeclaration
|
|
224
|
+
* // name: "STRING_VALUE", // required
|
|
225
|
+
* // defaultValue: "STRING_VALUE",
|
|
226
|
+
* // description: "STRING_VALUE",
|
|
227
|
+
* // },
|
|
228
|
+
* // ],
|
|
173
229
|
* // },
|
|
174
230
|
* // tags: [ // TagList
|
|
175
231
|
* // { // Tag
|
|
@@ -100,6 +100,34 @@ export interface GetPipelineCommandOutput extends GetPipelineOutput, __MetadataB
|
|
|
100
100
|
* // },
|
|
101
101
|
* // ],
|
|
102
102
|
* // version: Number("int"),
|
|
103
|
+
* // pipelineType: "V1" || "V2",
|
|
104
|
+
* // triggers: [ // PipelineTriggerDeclarationList
|
|
105
|
+
* // { // PipelineTriggerDeclaration
|
|
106
|
+
* // providerType: "CodeStarSourceConnection", // required
|
|
107
|
+
* // gitConfiguration: { // GitConfiguration
|
|
108
|
+
* // sourceActionName: "STRING_VALUE", // required
|
|
109
|
+
* // push: [ // GitPushFilterList
|
|
110
|
+
* // { // GitPushFilter
|
|
111
|
+
* // tags: { // GitTagFilterCriteria
|
|
112
|
+
* // includes: [ // GitTagPatternList
|
|
113
|
+
* // "STRING_VALUE",
|
|
114
|
+
* // ],
|
|
115
|
+
* // excludes: [
|
|
116
|
+
* // "STRING_VALUE",
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // },
|
|
120
|
+
* // ],
|
|
121
|
+
* // },
|
|
122
|
+
* // },
|
|
123
|
+
* // ],
|
|
124
|
+
* // variables: [ // PipelineVariableDeclarationList
|
|
125
|
+
* // { // PipelineVariableDeclaration
|
|
126
|
+
* // name: "STRING_VALUE", // required
|
|
127
|
+
* // defaultValue: "STRING_VALUE",
|
|
128
|
+
* // description: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
103
131
|
* // },
|
|
104
132
|
* // metadata: { // PipelineMetadata
|
|
105
133
|
* // pipelineArn: "STRING_VALUE",
|
|
@@ -55,6 +55,16 @@ export interface GetPipelineExecutionCommandOutput extends GetPipelineExecutionO
|
|
|
55
55
|
* // revisionUrl: "STRING_VALUE",
|
|
56
56
|
* // },
|
|
57
57
|
* // ],
|
|
58
|
+
* // trigger: { // ExecutionTrigger
|
|
59
|
+
* // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision" || "WebhookV2",
|
|
60
|
+
* // triggerDetail: "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // variables: [ // ResolvedPipelineVariableList
|
|
63
|
+
* // { // ResolvedPipelineVariable
|
|
64
|
+
* // name: "STRING_VALUE",
|
|
65
|
+
* // resolvedValue: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
58
68
|
* // },
|
|
59
69
|
* // };
|
|
60
70
|
*
|
|
@@ -53,7 +53,7 @@ export interface ListPipelineExecutionsCommandOutput extends ListPipelineExecuti
|
|
|
53
53
|
* // },
|
|
54
54
|
* // ],
|
|
55
55
|
* // trigger: { // ExecutionTrigger
|
|
56
|
-
* // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision",
|
|
56
|
+
* // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision" || "WebhookV2",
|
|
57
57
|
* // triggerDetail: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
59
|
* // stopTrigger: { // StopExecutionTrigger
|
|
@@ -41,6 +41,7 @@ export interface ListPipelinesCommandOutput extends ListPipelinesOutput, __Metad
|
|
|
41
41
|
* // { // PipelineSummary
|
|
42
42
|
* // name: "STRING_VALUE",
|
|
43
43
|
* // version: Number("int"),
|
|
44
|
+
* // pipelineType: "V1" || "V2",
|
|
44
45
|
* // created: new Date("TIMESTAMP"),
|
|
45
46
|
* // updated: new Date("TIMESTAMP"),
|
|
46
47
|
* // },
|
|
@@ -33,6 +33,12 @@ export interface StartPipelineExecutionCommandOutput extends StartPipelineExecut
|
|
|
33
33
|
* const client = new CodePipelineClient(config);
|
|
34
34
|
* const input = { // StartPipelineExecutionInput
|
|
35
35
|
* name: "STRING_VALUE", // required
|
|
36
|
+
* variables: [ // PipelineVariableList
|
|
37
|
+
* { // PipelineVariable
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
36
42
|
* clientRequestToken: "STRING_VALUE",
|
|
37
43
|
* };
|
|
38
44
|
* const command = new StartPipelineExecutionCommand(input);
|
|
@@ -95,6 +95,34 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
95
95
|
* },
|
|
96
96
|
* ],
|
|
97
97
|
* version: Number("int"),
|
|
98
|
+
* pipelineType: "V1" || "V2",
|
|
99
|
+
* triggers: [ // PipelineTriggerDeclarationList
|
|
100
|
+
* { // PipelineTriggerDeclaration
|
|
101
|
+
* providerType: "CodeStarSourceConnection", // required
|
|
102
|
+
* gitConfiguration: { // GitConfiguration
|
|
103
|
+
* sourceActionName: "STRING_VALUE", // required
|
|
104
|
+
* push: [ // GitPushFilterList
|
|
105
|
+
* { // GitPushFilter
|
|
106
|
+
* tags: { // GitTagFilterCriteria
|
|
107
|
+
* includes: [ // GitTagPatternList
|
|
108
|
+
* "STRING_VALUE",
|
|
109
|
+
* ],
|
|
110
|
+
* excludes: [
|
|
111
|
+
* "STRING_VALUE",
|
|
112
|
+
* ],
|
|
113
|
+
* },
|
|
114
|
+
* },
|
|
115
|
+
* ],
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* variables: [ // PipelineVariableDeclarationList
|
|
120
|
+
* { // PipelineVariableDeclaration
|
|
121
|
+
* name: "STRING_VALUE", // required
|
|
122
|
+
* defaultValue: "STRING_VALUE",
|
|
123
|
+
* description: "STRING_VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
98
126
|
* },
|
|
99
127
|
* };
|
|
100
128
|
* const command = new UpdatePipelineCommand(input);
|
|
@@ -161,6 +189,34 @@ export interface UpdatePipelineCommandOutput extends UpdatePipelineOutput, __Met
|
|
|
161
189
|
* // },
|
|
162
190
|
* // ],
|
|
163
191
|
* // version: Number("int"),
|
|
192
|
+
* // pipelineType: "V1" || "V2",
|
|
193
|
+
* // triggers: [ // PipelineTriggerDeclarationList
|
|
194
|
+
* // { // PipelineTriggerDeclaration
|
|
195
|
+
* // providerType: "CodeStarSourceConnection", // required
|
|
196
|
+
* // gitConfiguration: { // GitConfiguration
|
|
197
|
+
* // sourceActionName: "STRING_VALUE", // required
|
|
198
|
+
* // push: [ // GitPushFilterList
|
|
199
|
+
* // { // GitPushFilter
|
|
200
|
+
* // tags: { // GitTagFilterCriteria
|
|
201
|
+
* // includes: [ // GitTagPatternList
|
|
202
|
+
* // "STRING_VALUE",
|
|
203
|
+
* // ],
|
|
204
|
+
* // excludes: [
|
|
205
|
+
* // "STRING_VALUE",
|
|
206
|
+
* // ],
|
|
207
|
+
* // },
|
|
208
|
+
* // },
|
|
209
|
+
* // ],
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // ],
|
|
213
|
+
* // variables: [ // PipelineVariableDeclarationList
|
|
214
|
+
* // { // PipelineVariableDeclaration
|
|
215
|
+
* // name: "STRING_VALUE", // required
|
|
216
|
+
* // defaultValue: "STRING_VALUE",
|
|
217
|
+
* // description: "STRING_VALUE",
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
164
220
|
* // },
|
|
165
221
|
* // };
|
|
166
222
|
*
|
|
@@ -1604,6 +1604,18 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
1604
1604
|
*/
|
|
1605
1605
|
constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
|
|
1606
1606
|
}
|
|
1607
|
+
/**
|
|
1608
|
+
* @public
|
|
1609
|
+
* @enum
|
|
1610
|
+
*/
|
|
1611
|
+
export declare const PipelineType: {
|
|
1612
|
+
readonly V1: "V1";
|
|
1613
|
+
readonly V2: "V2";
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* @public
|
|
1617
|
+
*/
|
|
1618
|
+
export type PipelineType = (typeof PipelineType)[keyof typeof PipelineType];
|
|
1607
1619
|
/**
|
|
1608
1620
|
* @public
|
|
1609
1621
|
* <p>Represents information about a stage and its definition.</p>
|
|
@@ -1625,6 +1637,126 @@ export interface StageDeclaration {
|
|
|
1625
1637
|
*/
|
|
1626
1638
|
actions: ActionDeclaration[] | undefined;
|
|
1627
1639
|
}
|
|
1640
|
+
/**
|
|
1641
|
+
* @public
|
|
1642
|
+
* <p>The Git tags specified as filter criteria for whether a Git tag repository event
|
|
1643
|
+
* will start the pipeline.</p>
|
|
1644
|
+
*/
|
|
1645
|
+
export interface GitTagFilterCriteria {
|
|
1646
|
+
/**
|
|
1647
|
+
* @public
|
|
1648
|
+
* <p>The list of patterns of Git tags that, when pushed, are to be included as criteria
|
|
1649
|
+
* that starts the pipeline.</p>
|
|
1650
|
+
*/
|
|
1651
|
+
includes?: string[];
|
|
1652
|
+
/**
|
|
1653
|
+
* @public
|
|
1654
|
+
* <p>The list of patterns of Git tags that, when pushed, are to be excluded from
|
|
1655
|
+
* starting the pipeline.</p>
|
|
1656
|
+
*/
|
|
1657
|
+
excludes?: string[];
|
|
1658
|
+
}
|
|
1659
|
+
/**
|
|
1660
|
+
* @public
|
|
1661
|
+
* <p>The event criteria that specify when a specified repository event will start the pipeline for the specified trigger configuration, such as the lists of Git tags to include and exclude.</p>
|
|
1662
|
+
*/
|
|
1663
|
+
export interface GitPushFilter {
|
|
1664
|
+
/**
|
|
1665
|
+
* @public
|
|
1666
|
+
* <p>The field that contains the details for the Git tags trigger
|
|
1667
|
+
* configuration.</p>
|
|
1668
|
+
*/
|
|
1669
|
+
tags?: GitTagFilterCriteria;
|
|
1670
|
+
}
|
|
1671
|
+
/**
|
|
1672
|
+
* @public
|
|
1673
|
+
* <p>A type of trigger configuration for Git-based source actions.</p>
|
|
1674
|
+
* <note>
|
|
1675
|
+
* <p>You can specify the Git configuration trigger type for all third-party
|
|
1676
|
+
* Git-based source actions that are supported by the
|
|
1677
|
+
* <code>CodeStarSourceConnection</code> action type.</p>
|
|
1678
|
+
* </note>
|
|
1679
|
+
*/
|
|
1680
|
+
export interface GitConfiguration {
|
|
1681
|
+
/**
|
|
1682
|
+
* @public
|
|
1683
|
+
* <p>The name of the pipeline source action where the trigger configuration, such as Git
|
|
1684
|
+
* tags, is specified. The trigger configuration will start the pipeline upon the specified
|
|
1685
|
+
* change only.</p>
|
|
1686
|
+
* <note>
|
|
1687
|
+
* <p>You can only specify one trigger configuration per source action.</p>
|
|
1688
|
+
* </note>
|
|
1689
|
+
*/
|
|
1690
|
+
sourceActionName: string | undefined;
|
|
1691
|
+
/**
|
|
1692
|
+
* @public
|
|
1693
|
+
* <p>The field where the repository event that will start the pipeline, such as pushing
|
|
1694
|
+
* Git tags, is specified with details.</p>
|
|
1695
|
+
* <note>
|
|
1696
|
+
* <p>Git tags is the only supported event type.</p>
|
|
1697
|
+
* </note>
|
|
1698
|
+
*/
|
|
1699
|
+
push?: GitPushFilter[];
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
* @public
|
|
1703
|
+
* @enum
|
|
1704
|
+
*/
|
|
1705
|
+
export declare const PipelineTriggerProviderType: {
|
|
1706
|
+
readonly CodeStarSourceConnection: "CodeStarSourceConnection";
|
|
1707
|
+
};
|
|
1708
|
+
/**
|
|
1709
|
+
* @public
|
|
1710
|
+
*/
|
|
1711
|
+
export type PipelineTriggerProviderType = (typeof PipelineTriggerProviderType)[keyof typeof PipelineTriggerProviderType];
|
|
1712
|
+
/**
|
|
1713
|
+
* @public
|
|
1714
|
+
* <p>Represents information about the specified trigger configuration, such as the
|
|
1715
|
+
* filter criteria and the source stage for the action that contains the trigger.</p>
|
|
1716
|
+
* <note>
|
|
1717
|
+
* <p>This is only supported for the <code>CodeStarSourceConnection</code> action
|
|
1718
|
+
* type.</p>
|
|
1719
|
+
* </note>
|
|
1720
|
+
* <note>
|
|
1721
|
+
* <p>When a trigger configuration is specified, default change detection for
|
|
1722
|
+
* repository and branch commits is disabled.</p>
|
|
1723
|
+
* </note>
|
|
1724
|
+
*/
|
|
1725
|
+
export interface PipelineTriggerDeclaration {
|
|
1726
|
+
/**
|
|
1727
|
+
* @public
|
|
1728
|
+
* <p>The source provider for the event, such as connections configured for a repository
|
|
1729
|
+
* with Git tags, for the specified trigger configuration.</p>
|
|
1730
|
+
*/
|
|
1731
|
+
providerType: PipelineTriggerProviderType | undefined;
|
|
1732
|
+
/**
|
|
1733
|
+
* @public
|
|
1734
|
+
* <p>Provides the filter criteria and the source stage for the repository event that
|
|
1735
|
+
* starts the pipeline, such as Git tags.</p>
|
|
1736
|
+
*/
|
|
1737
|
+
gitConfiguration: GitConfiguration | undefined;
|
|
1738
|
+
}
|
|
1739
|
+
/**
|
|
1740
|
+
* @public
|
|
1741
|
+
* <p>A variable declared at the pipeline level.</p>
|
|
1742
|
+
*/
|
|
1743
|
+
export interface PipelineVariableDeclaration {
|
|
1744
|
+
/**
|
|
1745
|
+
* @public
|
|
1746
|
+
* <p>The name of a pipeline-level variable.</p>
|
|
1747
|
+
*/
|
|
1748
|
+
name: string | undefined;
|
|
1749
|
+
/**
|
|
1750
|
+
* @public
|
|
1751
|
+
* <p>The value of a pipeline-level variable.</p>
|
|
1752
|
+
*/
|
|
1753
|
+
defaultValue?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* @public
|
|
1756
|
+
* <p>The description of a pipeline-level variable. It's used to add additional context about the variable, and not being used at time when pipeline executes.</p>
|
|
1757
|
+
*/
|
|
1758
|
+
description?: string;
|
|
1759
|
+
}
|
|
1628
1760
|
/**
|
|
1629
1761
|
* @public
|
|
1630
1762
|
* <p>Represents the structure of actions and stages to be performed in the
|
|
@@ -1678,6 +1810,47 @@ export interface PipelineDeclaration {
|
|
|
1678
1810
|
* 1. This number is incremented when a pipeline is updated.</p>
|
|
1679
1811
|
*/
|
|
1680
1812
|
version?: number;
|
|
1813
|
+
/**
|
|
1814
|
+
* @public
|
|
1815
|
+
* <p>CodePipeline provides the following pipeline types, which differ in characteristics and
|
|
1816
|
+
* price, so that you can tailor your pipeline features and cost to the needs of your
|
|
1817
|
+
* applications.</p>
|
|
1818
|
+
* <ul>
|
|
1819
|
+
* <li>
|
|
1820
|
+
* <p>V1 type pipelines have a JSON structure that contains standard pipeline,
|
|
1821
|
+
* stage, and action-level parameters.</p>
|
|
1822
|
+
* </li>
|
|
1823
|
+
* <li>
|
|
1824
|
+
* <p>V2 type pipelines have the same structure as a V1 type, along with additional
|
|
1825
|
+
* parameters for release safety and trigger configuration.</p>
|
|
1826
|
+
* </li>
|
|
1827
|
+
* </ul>
|
|
1828
|
+
* <important>
|
|
1829
|
+
* <p>Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when
|
|
1830
|
+
* creating or updating a pipeline will result in the pipeline having the V2 type of
|
|
1831
|
+
* pipeline and the associated costs.</p>
|
|
1832
|
+
* </important>
|
|
1833
|
+
* <p>For information about pricing for CodePipeline, see <a href="https://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
|
|
1834
|
+
* <p>
|
|
1835
|
+
* For information about which type of pipeline to choose, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html">What type of pipeline is right for me?</a>.</p>
|
|
1836
|
+
*/
|
|
1837
|
+
pipelineType?: PipelineType;
|
|
1838
|
+
/**
|
|
1839
|
+
* @public
|
|
1840
|
+
* <p>The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.</p>
|
|
1841
|
+
* <note>
|
|
1842
|
+
* <p>When a trigger configuration is specified, default change detection for
|
|
1843
|
+
* repository and branch commits is disabled.</p>
|
|
1844
|
+
* </note>
|
|
1845
|
+
*/
|
|
1846
|
+
triggers?: PipelineTriggerDeclaration[];
|
|
1847
|
+
/**
|
|
1848
|
+
* @public
|
|
1849
|
+
* <p>A list that defines the pipeline variables for a pipeline resource. Variable names can
|
|
1850
|
+
* have alphanumeric and underscore characters, and the values must match
|
|
1851
|
+
* <code>[A-Za-z0-9@\-_]+</code>.</p>
|
|
1852
|
+
*/
|
|
1853
|
+
variables?: PipelineVariableDeclaration[];
|
|
1681
1854
|
}
|
|
1682
1855
|
/**
|
|
1683
1856
|
* @public
|
|
@@ -2284,6 +2457,58 @@ export declare const PipelineExecutionStatus: {
|
|
|
2284
2457
|
* @public
|
|
2285
2458
|
*/
|
|
2286
2459
|
export type PipelineExecutionStatus = (typeof PipelineExecutionStatus)[keyof typeof PipelineExecutionStatus];
|
|
2460
|
+
/**
|
|
2461
|
+
* @public
|
|
2462
|
+
* @enum
|
|
2463
|
+
*/
|
|
2464
|
+
export declare const TriggerType: {
|
|
2465
|
+
readonly CloudWatchEvent: "CloudWatchEvent";
|
|
2466
|
+
readonly CreatePipeline: "CreatePipeline";
|
|
2467
|
+
readonly PollForSourceChanges: "PollForSourceChanges";
|
|
2468
|
+
readonly PutActionRevision: "PutActionRevision";
|
|
2469
|
+
readonly StartPipelineExecution: "StartPipelineExecution";
|
|
2470
|
+
readonly Webhook: "Webhook";
|
|
2471
|
+
readonly WebhookV2: "WebhookV2";
|
|
2472
|
+
};
|
|
2473
|
+
/**
|
|
2474
|
+
* @public
|
|
2475
|
+
*/
|
|
2476
|
+
export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
|
|
2477
|
+
/**
|
|
2478
|
+
* @public
|
|
2479
|
+
* <p>The interaction or event that started a pipeline execution.</p>
|
|
2480
|
+
*/
|
|
2481
|
+
export interface ExecutionTrigger {
|
|
2482
|
+
/**
|
|
2483
|
+
* @public
|
|
2484
|
+
* <p>The type of change-detection method, command, or user interaction that started a
|
|
2485
|
+
* pipeline execution.</p>
|
|
2486
|
+
*/
|
|
2487
|
+
triggerType?: TriggerType;
|
|
2488
|
+
/**
|
|
2489
|
+
* @public
|
|
2490
|
+
* <p>Detail related to the event that started a pipeline execution, such as the webhook ARN
|
|
2491
|
+
* of the webhook that triggered the pipeline execution or the user ARN for a
|
|
2492
|
+
* user-initiated <code>start-pipeline-execution</code> CLI command.</p>
|
|
2493
|
+
*/
|
|
2494
|
+
triggerDetail?: string;
|
|
2495
|
+
}
|
|
2496
|
+
/**
|
|
2497
|
+
* @public
|
|
2498
|
+
* <p>A pipeline-level variable used for a pipeline execution.</p>
|
|
2499
|
+
*/
|
|
2500
|
+
export interface ResolvedPipelineVariable {
|
|
2501
|
+
/**
|
|
2502
|
+
* @public
|
|
2503
|
+
* <p>The name of a pipeline-level variable.</p>
|
|
2504
|
+
*/
|
|
2505
|
+
name?: string;
|
|
2506
|
+
/**
|
|
2507
|
+
* @public
|
|
2508
|
+
* <p>The resolved value of a pipeline-level variable.</p>
|
|
2509
|
+
*/
|
|
2510
|
+
resolvedValue?: string;
|
|
2511
|
+
}
|
|
2287
2512
|
/**
|
|
2288
2513
|
* @public
|
|
2289
2514
|
* <p>Represents information about an execution of a pipeline.</p>
|
|
@@ -2349,6 +2574,16 @@ export interface PipelineExecution {
|
|
|
2349
2574
|
* execution.</p>
|
|
2350
2575
|
*/
|
|
2351
2576
|
artifactRevisions?: ArtifactRevision[];
|
|
2577
|
+
/**
|
|
2578
|
+
* @public
|
|
2579
|
+
* <p>The interaction or event that started a pipeline execution.</p>
|
|
2580
|
+
*/
|
|
2581
|
+
trigger?: ExecutionTrigger;
|
|
2582
|
+
/**
|
|
2583
|
+
* @public
|
|
2584
|
+
* <p>A list of pipeline variables used for the pipeline execution.</p>
|
|
2585
|
+
*/
|
|
2586
|
+
variables?: ResolvedPipelineVariable[];
|
|
2352
2587
|
}
|
|
2353
2588
|
/**
|
|
2354
2589
|
* @public
|
|
@@ -2818,41 +3053,6 @@ export interface StopExecutionTrigger {
|
|
|
2818
3053
|
*/
|
|
2819
3054
|
reason?: string;
|
|
2820
3055
|
}
|
|
2821
|
-
/**
|
|
2822
|
-
* @public
|
|
2823
|
-
* @enum
|
|
2824
|
-
*/
|
|
2825
|
-
export declare const TriggerType: {
|
|
2826
|
-
readonly CloudWatchEvent: "CloudWatchEvent";
|
|
2827
|
-
readonly CreatePipeline: "CreatePipeline";
|
|
2828
|
-
readonly PollForSourceChanges: "PollForSourceChanges";
|
|
2829
|
-
readonly PutActionRevision: "PutActionRevision";
|
|
2830
|
-
readonly StartPipelineExecution: "StartPipelineExecution";
|
|
2831
|
-
readonly Webhook: "Webhook";
|
|
2832
|
-
};
|
|
2833
|
-
/**
|
|
2834
|
-
* @public
|
|
2835
|
-
*/
|
|
2836
|
-
export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
|
|
2837
|
-
/**
|
|
2838
|
-
* @public
|
|
2839
|
-
* <p>The interaction or event that started a pipeline execution.</p>
|
|
2840
|
-
*/
|
|
2841
|
-
export interface ExecutionTrigger {
|
|
2842
|
-
/**
|
|
2843
|
-
* @public
|
|
2844
|
-
* <p>The type of change-detection method, command, or user interaction that started a
|
|
2845
|
-
* pipeline execution.</p>
|
|
2846
|
-
*/
|
|
2847
|
-
triggerType?: TriggerType;
|
|
2848
|
-
/**
|
|
2849
|
-
* @public
|
|
2850
|
-
* <p>Detail related to the event that started a pipeline execution, such as the webhook ARN
|
|
2851
|
-
* of the webhook that triggered the pipeline execution or the user ARN for a
|
|
2852
|
-
* user-initiated <code>start-pipeline-execution</code> CLI command.</p>
|
|
2853
|
-
*/
|
|
2854
|
-
triggerDetail?: string;
|
|
2855
|
-
}
|
|
2856
3056
|
/**
|
|
2857
3057
|
* @public
|
|
2858
3058
|
* <p>Summary information about a pipeline execution.</p>
|
|
@@ -2974,6 +3174,31 @@ export interface PipelineSummary {
|
|
|
2974
3174
|
* <p>The version number of the pipeline.</p>
|
|
2975
3175
|
*/
|
|
2976
3176
|
version?: number;
|
|
3177
|
+
/**
|
|
3178
|
+
* @public
|
|
3179
|
+
* <p>CodePipeline provides the following pipeline types, which differ in characteristics and
|
|
3180
|
+
* price, so that you can tailor your pipeline features and cost to the needs of your
|
|
3181
|
+
* applications.</p>
|
|
3182
|
+
* <ul>
|
|
3183
|
+
* <li>
|
|
3184
|
+
* <p>V1 type pipelines have a JSON structure that contains standard pipeline,
|
|
3185
|
+
* stage, and action-level parameters.</p>
|
|
3186
|
+
* </li>
|
|
3187
|
+
* <li>
|
|
3188
|
+
* <p>V2 type pipelines have the same structure as a V1 type, along with additional
|
|
3189
|
+
* parameters for release safety and trigger configuration.</p>
|
|
3190
|
+
* </li>
|
|
3191
|
+
* </ul>
|
|
3192
|
+
* <important>
|
|
3193
|
+
* <p>Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when
|
|
3194
|
+
* creating or updating a pipeline will result in the pipeline having the V2 type of
|
|
3195
|
+
* pipeline and the associated costs.</p>
|
|
3196
|
+
* </important>
|
|
3197
|
+
* <p>For information about pricing for CodePipeline, see <a href="https://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
|
|
3198
|
+
* <p>
|
|
3199
|
+
* For information about which type of pipeline to choose, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types-planning.html">What type of pipeline is right for me?</a>.</p>
|
|
3200
|
+
*/
|
|
3201
|
+
pipelineType?: PipelineType;
|
|
2977
3202
|
/**
|
|
2978
3203
|
* @public
|
|
2979
3204
|
* <p>The date and time the pipeline was created, in timestamp format.</p>
|
|
@@ -3868,6 +4093,22 @@ export declare class StageNotRetryableException extends __BaseException {
|
|
|
3868
4093
|
*/
|
|
3869
4094
|
constructor(opts: __ExceptionOptionType<StageNotRetryableException, __BaseException>);
|
|
3870
4095
|
}
|
|
4096
|
+
/**
|
|
4097
|
+
* @public
|
|
4098
|
+
* <p>A pipeline-level variable used for a pipeline execution.</p>
|
|
4099
|
+
*/
|
|
4100
|
+
export interface PipelineVariable {
|
|
4101
|
+
/**
|
|
4102
|
+
* @public
|
|
4103
|
+
* <p>The name of a pipeline-level variable.</p>
|
|
4104
|
+
*/
|
|
4105
|
+
name: string | undefined;
|
|
4106
|
+
/**
|
|
4107
|
+
* @public
|
|
4108
|
+
* <p>The value of a pipeline-level variable.</p>
|
|
4109
|
+
*/
|
|
4110
|
+
value: string | undefined;
|
|
4111
|
+
}
|
|
3871
4112
|
/**
|
|
3872
4113
|
* @public
|
|
3873
4114
|
* <p>Represents the input of a <code>StartPipelineExecution</code> action.</p>
|
|
@@ -3878,6 +4119,12 @@ export interface StartPipelineExecutionInput {
|
|
|
3878
4119
|
* <p>The name of the pipeline to start.</p>
|
|
3879
4120
|
*/
|
|
3880
4121
|
name: string | undefined;
|
|
4122
|
+
/**
|
|
4123
|
+
* @public
|
|
4124
|
+
* <p>A list that overrides pipeline variables for a pipeline execution that's being started. Variable names must match <code>[A-Za-z0-9@\-_]+</code>,
|
|
4125
|
+
* and the values can be anything except an empty string.</p>
|
|
4126
|
+
*/
|
|
4127
|
+
variables?: PipelineVariable[];
|
|
3881
4128
|
/**
|
|
3882
4129
|
* @public
|
|
3883
4130
|
* <p>The system-generated unique ID used to identify a unique execution
|
|
@@ -410,11 +410,41 @@ export declare class TooManyTagsException extends __BaseException {
|
|
|
410
410
|
opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
|
|
411
411
|
);
|
|
412
412
|
}
|
|
413
|
+
export declare const PipelineType: {
|
|
414
|
+
readonly V1: "V1";
|
|
415
|
+
readonly V2: "V2";
|
|
416
|
+
};
|
|
417
|
+
export type PipelineType = (typeof PipelineType)[keyof typeof PipelineType];
|
|
413
418
|
export interface StageDeclaration {
|
|
414
419
|
name: string | undefined;
|
|
415
420
|
blockers?: BlockerDeclaration[];
|
|
416
421
|
actions: ActionDeclaration[] | undefined;
|
|
417
422
|
}
|
|
423
|
+
export interface GitTagFilterCriteria {
|
|
424
|
+
includes?: string[];
|
|
425
|
+
excludes?: string[];
|
|
426
|
+
}
|
|
427
|
+
export interface GitPushFilter {
|
|
428
|
+
tags?: GitTagFilterCriteria;
|
|
429
|
+
}
|
|
430
|
+
export interface GitConfiguration {
|
|
431
|
+
sourceActionName: string | undefined;
|
|
432
|
+
push?: GitPushFilter[];
|
|
433
|
+
}
|
|
434
|
+
export declare const PipelineTriggerProviderType: {
|
|
435
|
+
readonly CodeStarSourceConnection: "CodeStarSourceConnection";
|
|
436
|
+
};
|
|
437
|
+
export type PipelineTriggerProviderType =
|
|
438
|
+
(typeof PipelineTriggerProviderType)[keyof typeof PipelineTriggerProviderType];
|
|
439
|
+
export interface PipelineTriggerDeclaration {
|
|
440
|
+
providerType: PipelineTriggerProviderType | undefined;
|
|
441
|
+
gitConfiguration: GitConfiguration | undefined;
|
|
442
|
+
}
|
|
443
|
+
export interface PipelineVariableDeclaration {
|
|
444
|
+
name: string | undefined;
|
|
445
|
+
defaultValue?: string;
|
|
446
|
+
description?: string;
|
|
447
|
+
}
|
|
418
448
|
export interface PipelineDeclaration {
|
|
419
449
|
name: string | undefined;
|
|
420
450
|
roleArn: string | undefined;
|
|
@@ -422,6 +452,9 @@ export interface PipelineDeclaration {
|
|
|
422
452
|
artifactStores?: Record<string, ArtifactStore>;
|
|
423
453
|
stages: StageDeclaration[] | undefined;
|
|
424
454
|
version?: number;
|
|
455
|
+
pipelineType?: PipelineType;
|
|
456
|
+
triggers?: PipelineTriggerDeclaration[];
|
|
457
|
+
variables?: PipelineVariableDeclaration[];
|
|
425
458
|
}
|
|
426
459
|
export interface CreatePipelineInput {
|
|
427
460
|
pipeline: PipelineDeclaration | undefined;
|
|
@@ -608,6 +641,24 @@ export declare const PipelineExecutionStatus: {
|
|
|
608
641
|
};
|
|
609
642
|
export type PipelineExecutionStatus =
|
|
610
643
|
(typeof PipelineExecutionStatus)[keyof typeof PipelineExecutionStatus];
|
|
644
|
+
export declare const TriggerType: {
|
|
645
|
+
readonly CloudWatchEvent: "CloudWatchEvent";
|
|
646
|
+
readonly CreatePipeline: "CreatePipeline";
|
|
647
|
+
readonly PollForSourceChanges: "PollForSourceChanges";
|
|
648
|
+
readonly PutActionRevision: "PutActionRevision";
|
|
649
|
+
readonly StartPipelineExecution: "StartPipelineExecution";
|
|
650
|
+
readonly Webhook: "Webhook";
|
|
651
|
+
readonly WebhookV2: "WebhookV2";
|
|
652
|
+
};
|
|
653
|
+
export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
|
|
654
|
+
export interface ExecutionTrigger {
|
|
655
|
+
triggerType?: TriggerType;
|
|
656
|
+
triggerDetail?: string;
|
|
657
|
+
}
|
|
658
|
+
export interface ResolvedPipelineVariable {
|
|
659
|
+
name?: string;
|
|
660
|
+
resolvedValue?: string;
|
|
661
|
+
}
|
|
611
662
|
export interface PipelineExecution {
|
|
612
663
|
pipelineName?: string;
|
|
613
664
|
pipelineVersion?: number;
|
|
@@ -615,6 +666,8 @@ export interface PipelineExecution {
|
|
|
615
666
|
status?: PipelineExecutionStatus;
|
|
616
667
|
statusSummary?: string;
|
|
617
668
|
artifactRevisions?: ArtifactRevision[];
|
|
669
|
+
trigger?: ExecutionTrigger;
|
|
670
|
+
variables?: ResolvedPipelineVariable[];
|
|
618
671
|
}
|
|
619
672
|
export interface GetPipelineExecutionOutput {
|
|
620
673
|
pipelineExecution?: PipelineExecution;
|
|
@@ -735,19 +788,6 @@ export interface SourceRevision {
|
|
|
735
788
|
export interface StopExecutionTrigger {
|
|
736
789
|
reason?: string;
|
|
737
790
|
}
|
|
738
|
-
export declare const TriggerType: {
|
|
739
|
-
readonly CloudWatchEvent: "CloudWatchEvent";
|
|
740
|
-
readonly CreatePipeline: "CreatePipeline";
|
|
741
|
-
readonly PollForSourceChanges: "PollForSourceChanges";
|
|
742
|
-
readonly PutActionRevision: "PutActionRevision";
|
|
743
|
-
readonly StartPipelineExecution: "StartPipelineExecution";
|
|
744
|
-
readonly Webhook: "Webhook";
|
|
745
|
-
};
|
|
746
|
-
export type TriggerType = (typeof TriggerType)[keyof typeof TriggerType];
|
|
747
|
-
export interface ExecutionTrigger {
|
|
748
|
-
triggerType?: TriggerType;
|
|
749
|
-
triggerDetail?: string;
|
|
750
|
-
}
|
|
751
791
|
export interface PipelineExecutionSummary {
|
|
752
792
|
pipelineExecutionId?: string;
|
|
753
793
|
status?: PipelineExecutionStatus;
|
|
@@ -768,6 +808,7 @@ export interface ListPipelinesInput {
|
|
|
768
808
|
export interface PipelineSummary {
|
|
769
809
|
name?: string;
|
|
770
810
|
version?: number;
|
|
811
|
+
pipelineType?: PipelineType;
|
|
771
812
|
created?: Date;
|
|
772
813
|
updated?: Date;
|
|
773
814
|
}
|
|
@@ -1023,8 +1064,13 @@ export declare class StageNotRetryableException extends __BaseException {
|
|
|
1023
1064
|
opts: __ExceptionOptionType<StageNotRetryableException, __BaseException>
|
|
1024
1065
|
);
|
|
1025
1066
|
}
|
|
1067
|
+
export interface PipelineVariable {
|
|
1068
|
+
name: string | undefined;
|
|
1069
|
+
value: string | undefined;
|
|
1070
|
+
}
|
|
1026
1071
|
export interface StartPipelineExecutionInput {
|
|
1027
1072
|
name: string | undefined;
|
|
1073
|
+
variables?: PipelineVariable[];
|
|
1028
1074
|
clientRequestToken?: string;
|
|
1029
1075
|
}
|
|
1030
1076
|
export interface StartPipelineExecutionOutput {
|
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.435.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.435.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.435.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|