@aws-sdk/client-codepipeline 3.507.0 → 3.510.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -39,6 +39,7 @@ __export(src_exports, {
39
39
  CodePipelineClient: () => CodePipelineClient,
40
40
  CodePipelineServiceException: () => CodePipelineServiceException,
41
41
  ConcurrentModificationException: () => ConcurrentModificationException,
42
+ ConcurrentPipelineExecutionsLimitExceededException: () => ConcurrentPipelineExecutionsLimitExceededException,
42
43
  ConflictException: () => ConflictException,
43
44
  CreateCustomActionTypeCommand: () => CreateCustomActionTypeCommand,
44
45
  CreatePipelineCommand: () => CreatePipelineCommand,
@@ -50,6 +51,7 @@ __export(src_exports, {
50
51
  DuplicatedStopRequestException: () => DuplicatedStopRequestException,
51
52
  EnableStageTransitionCommand: () => EnableStageTransitionCommand,
52
53
  EncryptionKeyType: () => EncryptionKeyType,
54
+ ExecutionMode: () => ExecutionMode,
53
55
  ExecutorType: () => ExecutorType,
54
56
  FailureType: () => FailureType,
55
57
  GetActionTypeCommand: () => GetActionTypeCommand,
@@ -60,6 +62,7 @@ __export(src_exports, {
60
62
  GetPipelineStateCommand: () => GetPipelineStateCommand,
61
63
  GetThirdPartyJobDetailsCommand: () => GetThirdPartyJobDetailsCommand,
62
64
  GetThirdPartyJobDetailsOutputFilterSensitiveLog: () => GetThirdPartyJobDetailsOutputFilterSensitiveLog,
65
+ GitPullRequestEventType: () => GitPullRequestEventType,
63
66
  InvalidActionDeclarationException: () => InvalidActionDeclarationException,
64
67
  InvalidApprovalTokenException: () => InvalidApprovalTokenException,
65
68
  InvalidArnException: () => InvalidArnException,
@@ -117,6 +120,7 @@ __export(src_exports, {
117
120
  StageRetryMode: () => StageRetryMode,
118
121
  StageTransitionType: () => StageTransitionType,
119
122
  StartPipelineExecutionCommand: () => StartPipelineExecutionCommand,
123
+ StartTimeRange: () => StartTimeRange,
120
124
  StopPipelineExecutionCommand: () => StopPipelineExecutionCommand,
121
125
  TagResourceCommand: () => TagResourceCommand,
122
126
  ThirdPartyJobDataFilterSensitiveLog: () => ThirdPartyJobDataFilterSensitiveLog,
@@ -355,6 +359,10 @@ var ActionExecutionStatus = {
355
359
  InProgress: "InProgress",
356
360
  Succeeded: "Succeeded"
357
361
  };
362
+ var StartTimeRange = {
363
+ All: "All",
364
+ Latest: "Latest"
365
+ };
358
366
  var _ActionNotFoundException = class _ActionNotFoundException extends CodePipelineServiceException {
359
367
  /**
360
368
  * @internal
@@ -494,10 +502,20 @@ var _TooManyTagsException = class _TooManyTagsException extends CodePipelineServ
494
502
  };
495
503
  __name(_TooManyTagsException, "TooManyTagsException");
496
504
  var TooManyTagsException = _TooManyTagsException;
505
+ var ExecutionMode = {
506
+ PARALLEL: "PARALLEL",
507
+ QUEUED: "QUEUED",
508
+ SUPERSEDED: "SUPERSEDED"
509
+ };
497
510
  var PipelineType = {
498
511
  V1: "V1",
499
512
  V2: "V2"
500
513
  };
514
+ var GitPullRequestEventType = {
515
+ CLOSED: "CLOSED",
516
+ OPEN: "OPEN",
517
+ UPDATED: "UPDATED"
518
+ };
501
519
  var PipelineTriggerProviderType = {
502
520
  CodeStarSourceConnection: "CodeStarSourceConnection"
503
521
  };
@@ -922,6 +940,23 @@ var _StageNotRetryableException = class _StageNotRetryableException extends Code
922
940
  };
923
941
  __name(_StageNotRetryableException, "StageNotRetryableException");
924
942
  var StageNotRetryableException = _StageNotRetryableException;
943
+ var _ConcurrentPipelineExecutionsLimitExceededException = class _ConcurrentPipelineExecutionsLimitExceededException extends CodePipelineServiceException {
944
+ /**
945
+ * @internal
946
+ */
947
+ constructor(opts) {
948
+ super({
949
+ name: "ConcurrentPipelineExecutionsLimitExceededException",
950
+ $fault: "client",
951
+ ...opts
952
+ });
953
+ this.name = "ConcurrentPipelineExecutionsLimitExceededException";
954
+ this.$fault = "client";
955
+ Object.setPrototypeOf(this, _ConcurrentPipelineExecutionsLimitExceededException.prototype);
956
+ }
957
+ };
958
+ __name(_ConcurrentPipelineExecutionsLimitExceededException, "ConcurrentPipelineExecutionsLimitExceededException");
959
+ var ConcurrentPipelineExecutionsLimitExceededException = _ConcurrentPipelineExecutionsLimitExceededException;
925
960
  var SourceRevisionType = {
926
961
  COMMIT_ID: "COMMIT_ID",
927
962
  IMAGE_DIGEST: "IMAGE_DIGEST",
@@ -1838,6 +1873,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1838
1873
  case "StageNotRetryableException":
1839
1874
  case "com.amazonaws.codepipeline#StageNotRetryableException":
1840
1875
  throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
1876
+ case "ConcurrentPipelineExecutionsLimitExceededException":
1877
+ case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
1878
+ throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
1841
1879
  case "DuplicatedStopRequestException":
1842
1880
  case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
1843
1881
  throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
@@ -1892,6 +1930,15 @@ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsed
1892
1930
  });
1893
1931
  return (0, import_smithy_client.decorateServiceException)(exception, body);
1894
1932
  }, "de_ConcurrentModificationExceptionRes");
1933
+ var de_ConcurrentPipelineExecutionsLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1934
+ const body = parsedOutput.body;
1935
+ const deserialized = (0, import_smithy_client._json)(body);
1936
+ const exception = new ConcurrentPipelineExecutionsLimitExceededException({
1937
+ $metadata: deserializeMetadata(parsedOutput),
1938
+ ...deserialized
1939
+ });
1940
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1941
+ }, "de_ConcurrentPipelineExecutionsLimitExceededExceptionRes");
1895
1942
  var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1896
1943
  const body = parsedOutput.body;
1897
1944
  const deserialized = (0, import_smithy_client._json)(body);
@@ -2254,7 +2301,8 @@ var de_ActionExecutionDetail = /* @__PURE__ */ __name((output, context) => {
2254
2301
  pipelineVersion: import_smithy_client.expectInt32,
2255
2302
  stageName: import_smithy_client.expectString,
2256
2303
  startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2257
- status: import_smithy_client.expectString
2304
+ status: import_smithy_client.expectString,
2305
+ updatedBy: import_smithy_client.expectString
2258
2306
  });
2259
2307
  }, "de_ActionExecutionDetail");
2260
2308
  var de_ActionExecutionDetailList = /* @__PURE__ */ __name((output, context) => {
@@ -2359,6 +2407,7 @@ var de_ListWebhooksOutput = /* @__PURE__ */ __name((output, context) => {
2359
2407
  var de_PipelineExecution = /* @__PURE__ */ __name((output, context) => {
2360
2408
  return (0, import_smithy_client.take)(output, {
2361
2409
  artifactRevisions: (_) => de_ArtifactRevisionList(_, context),
2410
+ executionMode: import_smithy_client.expectString,
2362
2411
  pipelineExecutionId: import_smithy_client.expectString,
2363
2412
  pipelineName: import_smithy_client.expectString,
2364
2413
  pipelineVersion: import_smithy_client.expectInt32,
@@ -2370,6 +2419,7 @@ var de_PipelineExecution = /* @__PURE__ */ __name((output, context) => {
2370
2419
  }, "de_PipelineExecution");
2371
2420
  var de_PipelineExecutionSummary = /* @__PURE__ */ __name((output, context) => {
2372
2421
  return (0, import_smithy_client.take)(output, {
2422
+ executionMode: import_smithy_client.expectString,
2373
2423
  lastUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2374
2424
  pipelineExecutionId: import_smithy_client.expectString,
2375
2425
  sourceRevisions: import_smithy_client._json,
@@ -2402,6 +2452,7 @@ var de_PipelineMetadata = /* @__PURE__ */ __name((output, context) => {
2402
2452
  var de_PipelineSummary = /* @__PURE__ */ __name((output, context) => {
2403
2453
  return (0, import_smithy_client.take)(output, {
2404
2454
  created: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2455
+ executionMode: import_smithy_client.expectString,
2405
2456
  name: import_smithy_client.expectString,
2406
2457
  pipelineType: import_smithy_client.expectString,
2407
2458
  updated: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
@@ -2422,6 +2473,7 @@ var de_StageState = /* @__PURE__ */ __name((output, context) => {
2422
2473
  return (0, import_smithy_client.take)(output, {
2423
2474
  actionStates: (_) => de_ActionStateList(_, context),
2424
2475
  inboundExecution: import_smithy_client._json,
2476
+ inboundExecutions: import_smithy_client._json,
2425
2477
  inboundTransitionState: (_) => de_TransitionState(_, context),
2426
2478
  latestExecution: import_smithy_client._json,
2427
2479
  stageName: import_smithy_client.expectString
@@ -3316,6 +3368,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3316
3368
  ActionConfigurationPropertyType,
3317
3369
  ActionOwner,
3318
3370
  ActionExecutionStatus,
3371
+ StartTimeRange,
3319
3372
  ActionNotFoundException,
3320
3373
  ExecutorType,
3321
3374
  ActionTypeNotFoundException,
@@ -3329,7 +3382,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3329
3382
  InvalidTagsException,
3330
3383
  LimitExceededException,
3331
3384
  TooManyTagsException,
3385
+ ExecutionMode,
3332
3386
  PipelineType,
3387
+ GitPullRequestEventType,
3333
3388
  PipelineTriggerProviderType,
3334
3389
  InvalidActionDeclarationException,
3335
3390
  InvalidBlockerDeclarationException,
@@ -3360,6 +3415,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
3360
3415
  NotLatestPipelineExecutionException,
3361
3416
  StageRetryMode,
3362
3417
  StageNotRetryableException,
3418
+ ConcurrentPipelineExecutionsLimitExceededException,
3363
3419
  SourceRevisionType,
3364
3420
  DuplicatedStopRequestException,
3365
3421
  PipelineExecutionNotStoppableException,
@@ -81,6 +81,10 @@ export const ActionExecutionStatus = {
81
81
  InProgress: "InProgress",
82
82
  Succeeded: "Succeeded",
83
83
  };
84
+ export const StartTimeRange = {
85
+ All: "All",
86
+ Latest: "Latest",
87
+ };
84
88
  export class ActionNotFoundException extends __BaseException {
85
89
  constructor(opts) {
86
90
  super({
@@ -185,10 +189,20 @@ export class TooManyTagsException extends __BaseException {
185
189
  Object.setPrototypeOf(this, TooManyTagsException.prototype);
186
190
  }
187
191
  }
192
+ export const ExecutionMode = {
193
+ PARALLEL: "PARALLEL",
194
+ QUEUED: "QUEUED",
195
+ SUPERSEDED: "SUPERSEDED",
196
+ };
188
197
  export const PipelineType = {
189
198
  V1: "V1",
190
199
  V2: "V2",
191
200
  };
201
+ export const GitPullRequestEventType = {
202
+ CLOSED: "CLOSED",
203
+ OPEN: "OPEN",
204
+ UPDATED: "UPDATED",
205
+ };
192
206
  export const PipelineTriggerProviderType = {
193
207
  CodeStarSourceConnection: "CodeStarSourceConnection",
194
208
  };
@@ -503,6 +517,18 @@ export class StageNotRetryableException extends __BaseException {
503
517
  Object.setPrototypeOf(this, StageNotRetryableException.prototype);
504
518
  }
505
519
  }
520
+ export class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
521
+ constructor(opts) {
522
+ super({
523
+ name: "ConcurrentPipelineExecutionsLimitExceededException",
524
+ $fault: "client",
525
+ ...opts,
526
+ });
527
+ this.name = "ConcurrentPipelineExecutionsLimitExceededException";
528
+ this.$fault = "client";
529
+ Object.setPrototypeOf(this, ConcurrentPipelineExecutionsLimitExceededException.prototype);
530
+ }
531
+ }
506
532
  export const SourceRevisionType = {
507
533
  COMMIT_ID: "COMMIT_ID",
508
534
  IMAGE_DIGEST: "IMAGE_DIGEST",
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
2
  import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
3
3
  import { v4 as generateIdempotencyToken } from "uuid";
4
4
  import { CodePipelineServiceException as __BaseException } from "../models/CodePipelineServiceException";
5
- import { ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
5
+ import { ActionNotFoundException, ActionTypeNotFoundException, ApprovalAlreadyCompletedException, ConcurrentModificationException, ConcurrentPipelineExecutionsLimitExceededException, ConflictException, DuplicatedStopRequestException, InvalidActionDeclarationException, InvalidApprovalTokenException, InvalidArnException, InvalidBlockerDeclarationException, InvalidClientTokenException, InvalidJobException, InvalidJobStateException, InvalidNextTokenException, InvalidNonceException, InvalidStageDeclarationException, InvalidStructureException, InvalidTagsException, InvalidWebhookAuthenticationParametersException, InvalidWebhookFilterPatternException, JobNotFoundException, LimitExceededException, NotLatestPipelineExecutionException, OutputVariablesSizeExceededException, PipelineExecutionNotFoundException, PipelineExecutionNotStoppableException, PipelineNameInUseException, PipelineNotFoundException, PipelineVersionNotFoundException, RequestFailedException, ResourceNotFoundException, StageNotFoundException, StageNotRetryableException, TooManyTagsException, ValidationException, WebhookNotFoundException, } from "../models/models_0";
6
6
  export const se_AcknowledgeJobCommand = async (input, context) => {
7
7
  const headers = sharedHeaders("AcknowledgeJob");
8
8
  let body;
@@ -823,6 +823,9 @@ const de_CommandError = async (output, context) => {
823
823
  case "StageNotRetryableException":
824
824
  case "com.amazonaws.codepipeline#StageNotRetryableException":
825
825
  throw await de_StageNotRetryableExceptionRes(parsedOutput, context);
826
+ case "ConcurrentPipelineExecutionsLimitExceededException":
827
+ case "com.amazonaws.codepipeline#ConcurrentPipelineExecutionsLimitExceededException":
828
+ throw await de_ConcurrentPipelineExecutionsLimitExceededExceptionRes(parsedOutput, context);
826
829
  case "DuplicatedStopRequestException":
827
830
  case "com.amazonaws.codepipeline#DuplicatedStopRequestException":
828
831
  throw await de_DuplicatedStopRequestExceptionRes(parsedOutput, context);
@@ -877,6 +880,15 @@ const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
877
880
  });
878
881
  return __decorateServiceException(exception, body);
879
882
  };
883
+ const de_ConcurrentPipelineExecutionsLimitExceededExceptionRes = async (parsedOutput, context) => {
884
+ const body = parsedOutput.body;
885
+ const deserialized = _json(body);
886
+ const exception = new ConcurrentPipelineExecutionsLimitExceededException({
887
+ $metadata: deserializeMetadata(parsedOutput),
888
+ ...deserialized,
889
+ });
890
+ return __decorateServiceException(exception, body);
891
+ };
880
892
  const de_ConflictExceptionRes = async (parsedOutput, context) => {
881
893
  const body = parsedOutput.body;
882
894
  const deserialized = _json(body);
@@ -1240,6 +1252,7 @@ const de_ActionExecutionDetail = (output, context) => {
1240
1252
  stageName: __expectString,
1241
1253
  startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1242
1254
  status: __expectString,
1255
+ updatedBy: __expectString,
1243
1256
  });
1244
1257
  };
1245
1258
  const de_ActionExecutionDetailList = (output, context) => {
@@ -1350,6 +1363,7 @@ const de_ListWebhooksOutput = (output, context) => {
1350
1363
  const de_PipelineExecution = (output, context) => {
1351
1364
  return take(output, {
1352
1365
  artifactRevisions: (_) => de_ArtifactRevisionList(_, context),
1366
+ executionMode: __expectString,
1353
1367
  pipelineExecutionId: __expectString,
1354
1368
  pipelineName: __expectString,
1355
1369
  pipelineVersion: __expectInt32,
@@ -1361,6 +1375,7 @@ const de_PipelineExecution = (output, context) => {
1361
1375
  };
1362
1376
  const de_PipelineExecutionSummary = (output, context) => {
1363
1377
  return take(output, {
1378
+ executionMode: __expectString,
1364
1379
  lastUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1365
1380
  pipelineExecutionId: __expectString,
1366
1381
  sourceRevisions: _json,
@@ -1397,6 +1412,7 @@ const de_PipelineMetadata = (output, context) => {
1397
1412
  const de_PipelineSummary = (output, context) => {
1398
1413
  return take(output, {
1399
1414
  created: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1415
+ executionMode: __expectString,
1400
1416
  name: __expectString,
1401
1417
  pipelineType: __expectString,
1402
1418
  updated: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -1417,6 +1433,7 @@ const de_StageState = (output, context) => {
1417
1433
  return take(output, {
1418
1434
  actionStates: (_) => de_ActionStateList(_, context),
1419
1435
  inboundExecution: _json,
1436
+ inboundExecutions: _json,
1420
1437
  inboundTransitionState: (_) => de_TransitionState(_, context),
1421
1438
  latestExecution: _json,
1422
1439
  stageName: __expectString,
@@ -101,7 +101,15 @@ declare const CreatePipelineCommand_base: {
101
101
  * },
102
102
  * ],
103
103
  * version: Number("int"),
104
+ * executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
104
105
  * pipelineType: "V1" || "V2",
106
+ * variables: [ // PipelineVariableDeclarationList
107
+ * { // PipelineVariableDeclaration
108
+ * name: "STRING_VALUE", // required
109
+ * defaultValue: "STRING_VALUE",
110
+ * description: "STRING_VALUE",
111
+ * },
112
+ * ],
105
113
  * triggers: [ // PipelineTriggerDeclarationList
106
114
  * { // PipelineTriggerDeclaration
107
115
  * providerType: "CodeStarSourceConnection", // required
@@ -117,18 +125,50 @@ declare const CreatePipelineCommand_base: {
117
125
  * "STRING_VALUE",
118
126
  * ],
119
127
  * },
128
+ * branches: { // GitBranchFilterCriteria
129
+ * includes: [ // GitBranchPatternList
130
+ * "STRING_VALUE",
131
+ * ],
132
+ * excludes: [
133
+ * "STRING_VALUE",
134
+ * ],
135
+ * },
136
+ * filePaths: { // GitFilePathFilterCriteria
137
+ * includes: [ // GitFilePathPatternList
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * excludes: [
141
+ * "STRING_VALUE",
142
+ * ],
143
+ * },
144
+ * },
145
+ * ],
146
+ * pullRequest: [ // GitPullRequestFilterList
147
+ * { // GitPullRequestFilter
148
+ * events: [ // GitPullRequestEventTypeList
149
+ * "OPEN" || "UPDATED" || "CLOSED",
150
+ * ],
151
+ * branches: {
152
+ * includes: [
153
+ * "STRING_VALUE",
154
+ * ],
155
+ * excludes: [
156
+ * "STRING_VALUE",
157
+ * ],
158
+ * },
159
+ * filePaths: {
160
+ * includes: [
161
+ * "STRING_VALUE",
162
+ * ],
163
+ * excludes: [
164
+ * "STRING_VALUE",
165
+ * ],
166
+ * },
120
167
  * },
121
168
  * ],
122
169
  * },
123
170
  * },
124
171
  * ],
125
- * variables: [ // PipelineVariableDeclarationList
126
- * { // PipelineVariableDeclaration
127
- * name: "STRING_VALUE", // required
128
- * defaultValue: "STRING_VALUE",
129
- * description: "STRING_VALUE",
130
- * },
131
- * ],
132
172
  * },
133
173
  * tags: [ // TagList
134
174
  * { // Tag
@@ -201,7 +241,15 @@ declare const CreatePipelineCommand_base: {
201
241
  * // },
202
242
  * // ],
203
243
  * // version: Number("int"),
244
+ * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
204
245
  * // pipelineType: "V1" || "V2",
246
+ * // variables: [ // PipelineVariableDeclarationList
247
+ * // { // PipelineVariableDeclaration
248
+ * // name: "STRING_VALUE", // required
249
+ * // defaultValue: "STRING_VALUE",
250
+ * // description: "STRING_VALUE",
251
+ * // },
252
+ * // ],
205
253
  * // triggers: [ // PipelineTriggerDeclarationList
206
254
  * // { // PipelineTriggerDeclaration
207
255
  * // providerType: "CodeStarSourceConnection", // required
@@ -217,18 +265,50 @@ declare const CreatePipelineCommand_base: {
217
265
  * // "STRING_VALUE",
218
266
  * // ],
219
267
  * // },
268
+ * // branches: { // GitBranchFilterCriteria
269
+ * // includes: [ // GitBranchPatternList
270
+ * // "STRING_VALUE",
271
+ * // ],
272
+ * // excludes: [
273
+ * // "STRING_VALUE",
274
+ * // ],
275
+ * // },
276
+ * // filePaths: { // GitFilePathFilterCriteria
277
+ * // includes: [ // GitFilePathPatternList
278
+ * // "STRING_VALUE",
279
+ * // ],
280
+ * // excludes: [
281
+ * // "STRING_VALUE",
282
+ * // ],
283
+ * // },
284
+ * // },
285
+ * // ],
286
+ * // pullRequest: [ // GitPullRequestFilterList
287
+ * // { // GitPullRequestFilter
288
+ * // events: [ // GitPullRequestEventTypeList
289
+ * // "OPEN" || "UPDATED" || "CLOSED",
290
+ * // ],
291
+ * // branches: {
292
+ * // includes: [
293
+ * // "STRING_VALUE",
294
+ * // ],
295
+ * // excludes: [
296
+ * // "STRING_VALUE",
297
+ * // ],
298
+ * // },
299
+ * // filePaths: {
300
+ * // includes: [
301
+ * // "STRING_VALUE",
302
+ * // ],
303
+ * // excludes: [
304
+ * // "STRING_VALUE",
305
+ * // ],
306
+ * // },
220
307
  * // },
221
308
  * // ],
222
309
  * // },
223
310
  * // },
224
311
  * // ],
225
- * // variables: [ // PipelineVariableDeclarationList
226
- * // { // PipelineVariableDeclaration
227
- * // name: "STRING_VALUE", // required
228
- * // defaultValue: "STRING_VALUE",
229
- * // description: "STRING_VALUE",
230
- * // },
231
- * // ],
232
312
  * // },
233
313
  * // tags: [ // TagList
234
314
  * // { // Tag
@@ -103,7 +103,15 @@ declare const GetPipelineCommand_base: {
103
103
  * // },
104
104
  * // ],
105
105
  * // version: Number("int"),
106
+ * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
106
107
  * // pipelineType: "V1" || "V2",
108
+ * // variables: [ // PipelineVariableDeclarationList
109
+ * // { // PipelineVariableDeclaration
110
+ * // name: "STRING_VALUE", // required
111
+ * // defaultValue: "STRING_VALUE",
112
+ * // description: "STRING_VALUE",
113
+ * // },
114
+ * // ],
107
115
  * // triggers: [ // PipelineTriggerDeclarationList
108
116
  * // { // PipelineTriggerDeclaration
109
117
  * // providerType: "CodeStarSourceConnection", // required
@@ -119,18 +127,50 @@ declare const GetPipelineCommand_base: {
119
127
  * // "STRING_VALUE",
120
128
  * // ],
121
129
  * // },
130
+ * // branches: { // GitBranchFilterCriteria
131
+ * // includes: [ // GitBranchPatternList
132
+ * // "STRING_VALUE",
133
+ * // ],
134
+ * // excludes: [
135
+ * // "STRING_VALUE",
136
+ * // ],
137
+ * // },
138
+ * // filePaths: { // GitFilePathFilterCriteria
139
+ * // includes: [ // GitFilePathPatternList
140
+ * // "STRING_VALUE",
141
+ * // ],
142
+ * // excludes: [
143
+ * // "STRING_VALUE",
144
+ * // ],
145
+ * // },
146
+ * // },
147
+ * // ],
148
+ * // pullRequest: [ // GitPullRequestFilterList
149
+ * // { // GitPullRequestFilter
150
+ * // events: [ // GitPullRequestEventTypeList
151
+ * // "OPEN" || "UPDATED" || "CLOSED",
152
+ * // ],
153
+ * // branches: {
154
+ * // includes: [
155
+ * // "STRING_VALUE",
156
+ * // ],
157
+ * // excludes: [
158
+ * // "STRING_VALUE",
159
+ * // ],
160
+ * // },
161
+ * // filePaths: {
162
+ * // includes: [
163
+ * // "STRING_VALUE",
164
+ * // ],
165
+ * // excludes: [
166
+ * // "STRING_VALUE",
167
+ * // ],
168
+ * // },
122
169
  * // },
123
170
  * // ],
124
171
  * // },
125
172
  * // },
126
173
  * // ],
127
- * // variables: [ // PipelineVariableDeclarationList
128
- * // { // PipelineVariableDeclaration
129
- * // name: "STRING_VALUE", // required
130
- * // defaultValue: "STRING_VALUE",
131
- * // description: "STRING_VALUE",
132
- * // },
133
- * // ],
134
174
  * // },
135
175
  * // metadata: { // PipelineMetadata
136
176
  * // pipelineArn: "STRING_VALUE",
@@ -58,16 +58,17 @@ declare const GetPipelineExecutionCommand_base: {
58
58
  * // revisionUrl: "STRING_VALUE",
59
59
  * // },
60
60
  * // ],
61
- * // trigger: { // ExecutionTrigger
62
- * // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision" || "WebhookV2",
63
- * // triggerDetail: "STRING_VALUE",
64
- * // },
65
61
  * // variables: [ // ResolvedPipelineVariableList
66
62
  * // { // ResolvedPipelineVariable
67
63
  * // name: "STRING_VALUE",
68
64
  * // resolvedValue: "STRING_VALUE",
69
65
  * // },
70
66
  * // ],
67
+ * // trigger: { // ExecutionTrigger
68
+ * // triggerType: "CreatePipeline" || "StartPipelineExecution" || "PollForSourceChanges" || "Webhook" || "CloudWatchEvent" || "PutActionRevision" || "WebhookV2",
69
+ * // triggerDetail: "STRING_VALUE",
70
+ * // },
71
+ * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
71
72
  * // },
72
73
  * // };
73
74
  *
@@ -54,6 +54,12 @@ declare const GetPipelineStateCommand_base: {
54
54
  * // pipelineExecutionId: "STRING_VALUE", // required
55
55
  * // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
56
56
  * // },
57
+ * // inboundExecutions: [ // StageExecutionList
58
+ * // {
59
+ * // pipelineExecutionId: "STRING_VALUE", // required
60
+ * // status: "Cancelled" || "InProgress" || "Failed" || "Stopped" || "Stopping" || "Succeeded", // required
61
+ * // },
62
+ * // ],
57
63
  * // inboundTransitionState: { // TransitionState
58
64
  * // enabled: true || false,
59
65
  * // lastChangedBy: "STRING_VALUE",
@@ -37,6 +37,10 @@ declare const ListActionExecutionsCommand_base: {
37
37
  * pipelineName: "STRING_VALUE", // required
38
38
  * filter: { // ActionExecutionFilter
39
39
  * pipelineExecutionId: "STRING_VALUE",
40
+ * latestInPipelineExecution: { // LatestInPipelineExecutionFilter
41
+ * pipelineExecutionId: "STRING_VALUE", // required
42
+ * startTimeRange: "Latest" || "All", // required
43
+ * },
40
44
  * },
41
45
  * maxResults: Number("int"),
42
46
  * nextToken: "STRING_VALUE",
@@ -53,6 +57,7 @@ declare const ListActionExecutionsCommand_base: {
53
57
  * // actionName: "STRING_VALUE",
54
58
  * // startTime: new Date("TIMESTAMP"),
55
59
  * // lastUpdateTime: new Date("TIMESTAMP"),
60
+ * // updatedBy: "STRING_VALUE",
56
61
  * // status: "InProgress" || "Abandoned" || "Succeeded" || "Failed",
57
62
  * // input: { // ActionExecutionInput
58
63
  * // actionTypeId: { // ActionTypeId
@@ -94,6 +99,10 @@ declare const ListActionExecutionsCommand_base: {
94
99
  * // externalExecutionId: "STRING_VALUE",
95
100
  * // externalExecutionSummary: "STRING_VALUE",
96
101
  * // externalExecutionUrl: "STRING_VALUE",
102
+ * // errorDetails: { // ErrorDetails
103
+ * // code: "STRING_VALUE",
104
+ * // message: "STRING_VALUE",
105
+ * // },
97
106
  * // },
98
107
  * // outputVariables: { // OutputVariablesMap
99
108
  * // "<keys>": "STRING_VALUE",
@@ -62,6 +62,7 @@ declare const ListPipelineExecutionsCommand_base: {
62
62
  * // stopTrigger: { // StopExecutionTrigger
63
63
  * // reason: "STRING_VALUE",
64
64
  * // },
65
+ * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
65
66
  * // },
66
67
  * // ],
67
68
  * // nextToken: "STRING_VALUE",
@@ -45,6 +45,7 @@ declare const ListPipelinesCommand_base: {
45
45
  * // name: "STRING_VALUE",
46
46
  * // version: Number("int"),
47
47
  * // pipelineType: "V1" || "V2",
48
+ * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
48
49
  * // created: new Date("TIMESTAMP"),
49
50
  * // updated: new Date("TIMESTAMP"),
50
51
  * // },
@@ -65,6 +65,9 @@ declare const StartPipelineExecutionCommand_base: {
65
65
  * @see {@link StartPipelineExecutionCommandOutput} for command's `response` shape.
66
66
  * @see {@link CodePipelineClientResolvedConfig | config} for CodePipelineClient's `config` shape.
67
67
  *
68
+ * @throws {@link ConcurrentPipelineExecutionsLimitExceededException} (client fault)
69
+ * <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
70
+ *
68
71
  * @throws {@link ConflictException} (client fault)
69
72
  * <p>Your request cannot be handled because the pipeline is busy handling ongoing
70
73
  * activities. Try again later.</p>
@@ -98,7 +98,15 @@ declare const UpdatePipelineCommand_base: {
98
98
  * },
99
99
  * ],
100
100
  * version: Number("int"),
101
+ * executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
101
102
  * pipelineType: "V1" || "V2",
103
+ * variables: [ // PipelineVariableDeclarationList
104
+ * { // PipelineVariableDeclaration
105
+ * name: "STRING_VALUE", // required
106
+ * defaultValue: "STRING_VALUE",
107
+ * description: "STRING_VALUE",
108
+ * },
109
+ * ],
102
110
  * triggers: [ // PipelineTriggerDeclarationList
103
111
  * { // PipelineTriggerDeclaration
104
112
  * providerType: "CodeStarSourceConnection", // required
@@ -114,18 +122,50 @@ declare const UpdatePipelineCommand_base: {
114
122
  * "STRING_VALUE",
115
123
  * ],
116
124
  * },
125
+ * branches: { // GitBranchFilterCriteria
126
+ * includes: [ // GitBranchPatternList
127
+ * "STRING_VALUE",
128
+ * ],
129
+ * excludes: [
130
+ * "STRING_VALUE",
131
+ * ],
132
+ * },
133
+ * filePaths: { // GitFilePathFilterCriteria
134
+ * includes: [ // GitFilePathPatternList
135
+ * "STRING_VALUE",
136
+ * ],
137
+ * excludes: [
138
+ * "STRING_VALUE",
139
+ * ],
140
+ * },
141
+ * },
142
+ * ],
143
+ * pullRequest: [ // GitPullRequestFilterList
144
+ * { // GitPullRequestFilter
145
+ * events: [ // GitPullRequestEventTypeList
146
+ * "OPEN" || "UPDATED" || "CLOSED",
147
+ * ],
148
+ * branches: {
149
+ * includes: [
150
+ * "STRING_VALUE",
151
+ * ],
152
+ * excludes: [
153
+ * "STRING_VALUE",
154
+ * ],
155
+ * },
156
+ * filePaths: {
157
+ * includes: [
158
+ * "STRING_VALUE",
159
+ * ],
160
+ * excludes: [
161
+ * "STRING_VALUE",
162
+ * ],
163
+ * },
117
164
  * },
118
165
  * ],
119
166
  * },
120
167
  * },
121
168
  * ],
122
- * variables: [ // PipelineVariableDeclarationList
123
- * { // PipelineVariableDeclaration
124
- * name: "STRING_VALUE", // required
125
- * defaultValue: "STRING_VALUE",
126
- * description: "STRING_VALUE",
127
- * },
128
- * ],
129
169
  * },
130
170
  * };
131
171
  * const command = new UpdatePipelineCommand(input);
@@ -192,7 +232,15 @@ declare const UpdatePipelineCommand_base: {
192
232
  * // },
193
233
  * // ],
194
234
  * // version: Number("int"),
235
+ * // executionMode: "QUEUED" || "SUPERSEDED" || "PARALLEL",
195
236
  * // pipelineType: "V1" || "V2",
237
+ * // variables: [ // PipelineVariableDeclarationList
238
+ * // { // PipelineVariableDeclaration
239
+ * // name: "STRING_VALUE", // required
240
+ * // defaultValue: "STRING_VALUE",
241
+ * // description: "STRING_VALUE",
242
+ * // },
243
+ * // ],
196
244
  * // triggers: [ // PipelineTriggerDeclarationList
197
245
  * // { // PipelineTriggerDeclaration
198
246
  * // providerType: "CodeStarSourceConnection", // required
@@ -208,18 +256,50 @@ declare const UpdatePipelineCommand_base: {
208
256
  * // "STRING_VALUE",
209
257
  * // ],
210
258
  * // },
259
+ * // branches: { // GitBranchFilterCriteria
260
+ * // includes: [ // GitBranchPatternList
261
+ * // "STRING_VALUE",
262
+ * // ],
263
+ * // excludes: [
264
+ * // "STRING_VALUE",
265
+ * // ],
266
+ * // },
267
+ * // filePaths: { // GitFilePathFilterCriteria
268
+ * // includes: [ // GitFilePathPatternList
269
+ * // "STRING_VALUE",
270
+ * // ],
271
+ * // excludes: [
272
+ * // "STRING_VALUE",
273
+ * // ],
274
+ * // },
275
+ * // },
276
+ * // ],
277
+ * // pullRequest: [ // GitPullRequestFilterList
278
+ * // { // GitPullRequestFilter
279
+ * // events: [ // GitPullRequestEventTypeList
280
+ * // "OPEN" || "UPDATED" || "CLOSED",
281
+ * // ],
282
+ * // branches: {
283
+ * // includes: [
284
+ * // "STRING_VALUE",
285
+ * // ],
286
+ * // excludes: [
287
+ * // "STRING_VALUE",
288
+ * // ],
289
+ * // },
290
+ * // filePaths: {
291
+ * // includes: [
292
+ * // "STRING_VALUE",
293
+ * // ],
294
+ * // excludes: [
295
+ * // "STRING_VALUE",
296
+ * // ],
297
+ * // },
211
298
  * // },
212
299
  * // ],
213
300
  * // },
214
301
  * // },
215
302
  * // ],
216
- * // variables: [ // PipelineVariableDeclarationList
217
- * // { // PipelineVariableDeclaration
218
- * // name: "STRING_VALUE", // required
219
- * // defaultValue: "STRING_VALUE",
220
- * // description: "STRING_VALUE",
221
- * // },
222
- * // ],
223
303
  * // },
224
304
  * // };
225
305
  *
@@ -605,6 +605,11 @@ export interface ActionExecutionResult {
605
605
  * deployment endpoint) that is used when running the action.</p>
606
606
  */
607
607
  externalExecutionUrl?: string;
608
+ /**
609
+ * @public
610
+ * <p>Represents information about an error in CodePipeline.</p>
611
+ */
612
+ errorDetails?: ErrorDetails;
608
613
  }
609
614
  /**
610
615
  * @public
@@ -672,6 +677,11 @@ export interface ActionExecutionDetail {
672
677
  * <p>The last update time of the action execution.</p>
673
678
  */
674
679
  lastUpdateTime?: Date;
680
+ /**
681
+ * @public
682
+ * <p>The ARN of the user who changed the pipeline execution details.</p>
683
+ */
684
+ updatedBy?: string;
675
685
  /**
676
686
  * @public
677
687
  * <p> The status of the action execution. Status categories are <code>InProgress</code>,
@@ -690,6 +700,47 @@ export interface ActionExecutionDetail {
690
700
  */
691
701
  output?: ActionExecutionOutput;
692
702
  }
703
+ /**
704
+ * @public
705
+ * @enum
706
+ */
707
+ export declare const StartTimeRange: {
708
+ readonly All: "All";
709
+ readonly Latest: "Latest";
710
+ };
711
+ /**
712
+ * @public
713
+ */
714
+ export type StartTimeRange = (typeof StartTimeRange)[keyof typeof StartTimeRange];
715
+ /**
716
+ * @public
717
+ * <p>The field that specifies to filter on the latest execution in the pipeline.</p>
718
+ * <note>
719
+ * <p>Filtering on the latest execution is available for executions run on or after
720
+ * February 08, 2024.</p>
721
+ * </note>
722
+ */
723
+ export interface LatestInPipelineExecutionFilter {
724
+ /**
725
+ * @public
726
+ * <p>The execution ID for the latest execution in the pipeline.</p>
727
+ */
728
+ pipelineExecutionId: string | undefined;
729
+ /**
730
+ * @public
731
+ * <p>The start time to filter on for the latest execution in the pipeline. Valid
732
+ * options:</p>
733
+ * <ul>
734
+ * <li>
735
+ * <p>All</p>
736
+ * </li>
737
+ * <li>
738
+ * <p>Latest</p>
739
+ * </li>
740
+ * </ul>
741
+ */
742
+ startTimeRange: StartTimeRange | undefined;
743
+ }
693
744
  /**
694
745
  * @public
695
746
  * <p>Filter values for the action execution.</p>
@@ -700,6 +751,15 @@ export interface ActionExecutionFilter {
700
751
  * <p>The pipeline execution ID used to filter action execution history.</p>
701
752
  */
702
753
  pipelineExecutionId?: string;
754
+ /**
755
+ * @public
756
+ * <p>The latest execution in the pipeline.</p>
757
+ * <note>
758
+ * <p>Filtering on the latest execution is available for executions run on or after
759
+ * February 08, 2024.</p>
760
+ * </note>
761
+ */
762
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
703
763
  }
704
764
  /**
705
765
  * @public
@@ -1604,6 +1664,19 @@ export declare class TooManyTagsException extends __BaseException {
1604
1664
  */
1605
1665
  constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1606
1666
  }
1667
+ /**
1668
+ * @public
1669
+ * @enum
1670
+ */
1671
+ export declare const ExecutionMode: {
1672
+ readonly PARALLEL: "PARALLEL";
1673
+ readonly QUEUED: "QUEUED";
1674
+ readonly SUPERSEDED: "SUPERSEDED";
1675
+ };
1676
+ /**
1677
+ * @public
1678
+ */
1679
+ export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
1607
1680
  /**
1608
1681
  * @public
1609
1682
  * @enum
@@ -1637,6 +1710,72 @@ export interface StageDeclaration {
1637
1710
  */
1638
1711
  actions: ActionDeclaration[] | undefined;
1639
1712
  }
1713
+ /**
1714
+ * @public
1715
+ * <p>The Git repository branches specified as filter criteria to start the pipeline.</p>
1716
+ */
1717
+ export interface GitBranchFilterCriteria {
1718
+ /**
1719
+ * @public
1720
+ * <p>The list of patterns of Git branches that, when a commit is pushed, are to be included as criteria that starts the pipeline.</p>
1721
+ */
1722
+ includes?: string[];
1723
+ /**
1724
+ * @public
1725
+ * <p>The list of patterns of Git branches that, when a commit is pushed, are to be excluded from starting the pipeline.</p>
1726
+ */
1727
+ excludes?: string[];
1728
+ }
1729
+ /**
1730
+ * @public
1731
+ * @enum
1732
+ */
1733
+ export declare const GitPullRequestEventType: {
1734
+ readonly CLOSED: "CLOSED";
1735
+ readonly OPEN: "OPEN";
1736
+ readonly UPDATED: "UPDATED";
1737
+ };
1738
+ /**
1739
+ * @public
1740
+ */
1741
+ export type GitPullRequestEventType = (typeof GitPullRequestEventType)[keyof typeof GitPullRequestEventType];
1742
+ /**
1743
+ * @public
1744
+ * <p>The Git repository file paths specified as filter criteria to start the pipeline.</p>
1745
+ */
1746
+ export interface GitFilePathFilterCriteria {
1747
+ /**
1748
+ * @public
1749
+ * <p>The list of patterns of Git repository file paths that, when a commit is pushed, are to be included as criteria that starts the pipeline.</p>
1750
+ */
1751
+ includes?: string[];
1752
+ /**
1753
+ * @public
1754
+ * <p>The list of patterns of Git repository file paths that, when a commit is pushed, are to be excluded from starting the pipeline.</p>
1755
+ */
1756
+ excludes?: string[];
1757
+ }
1758
+ /**
1759
+ * @public
1760
+ * <p>The event criteria for the pull request trigger configuration, such as the lists of branches or file paths to include and exclude.</p>
1761
+ */
1762
+ export interface GitPullRequestFilter {
1763
+ /**
1764
+ * @public
1765
+ * <p>The field that specifies which pull request events to filter on (opened, updated, closed) for the trigger configuration.</p>
1766
+ */
1767
+ events?: GitPullRequestEventType[];
1768
+ /**
1769
+ * @public
1770
+ * <p>The field that specifies to filter on branches for the pull request trigger configuration.</p>
1771
+ */
1772
+ branches?: GitBranchFilterCriteria;
1773
+ /**
1774
+ * @public
1775
+ * <p>The field that specifies to filter on file paths for the pull request trigger configuration.</p>
1776
+ */
1777
+ filePaths?: GitFilePathFilterCriteria;
1778
+ }
1640
1779
  /**
1641
1780
  * @public
1642
1781
  * <p>The Git tags specified as filter criteria for whether a Git tag repository event
@@ -1667,6 +1806,16 @@ export interface GitPushFilter {
1667
1806
  * configuration.</p>
1668
1807
  */
1669
1808
  tags?: GitTagFilterCriteria;
1809
+ /**
1810
+ * @public
1811
+ * <p>The field that specifies to filter on branches for the push trigger configuration.</p>
1812
+ */
1813
+ branches?: GitBranchFilterCriteria;
1814
+ /**
1815
+ * @public
1816
+ * <p>The field that specifies to filter on file paths for the push trigger configuration.</p>
1817
+ */
1818
+ filePaths?: GitFilePathFilterCriteria;
1670
1819
  }
1671
1820
  /**
1672
1821
  * @public
@@ -1676,11 +1825,6 @@ export interface GitPushFilter {
1676
1825
  * Git-based source actions that are supported by the
1677
1826
  * <code>CodeStarSourceConnection</code> action type.</p>
1678
1827
  * </note>
1679
- * <note>
1680
- * <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
1681
- * are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
1682
- * in the <i>CodePipeline User Guide</i>.</p>
1683
- * </note>
1684
1828
  */
1685
1829
  export interface GitConfiguration {
1686
1830
  /**
@@ -1697,11 +1841,13 @@ export interface GitConfiguration {
1697
1841
  * @public
1698
1842
  * <p>The field where the repository event that will start the pipeline, such as pushing
1699
1843
  * Git tags, is specified with details.</p>
1700
- * <note>
1701
- * <p>Git tags is the only supported event type.</p>
1702
- * </note>
1703
1844
  */
1704
1845
  push?: GitPushFilter[];
1846
+ /**
1847
+ * @public
1848
+ * <p>The field where the repository event that will start the pipeline is specified as pull requests.</p>
1849
+ */
1850
+ pullRequest?: GitPullRequestFilter[];
1705
1851
  }
1706
1852
  /**
1707
1853
  * @public
@@ -1726,11 +1872,6 @@ export type PipelineTriggerProviderType = (typeof PipelineTriggerProviderType)[k
1726
1872
  * <p>When a trigger configuration is specified, default change detection for
1727
1873
  * repository and branch commits is disabled.</p>
1728
1874
  * </note>
1729
- * <note>
1730
- * <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
1731
- * are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
1732
- * in the <i>CodePipeline User Guide</i>.</p>
1733
- * </note>
1734
1875
  */
1735
1876
  export interface PipelineTriggerDeclaration {
1736
1877
  /**
@@ -1749,11 +1890,6 @@ export interface PipelineTriggerDeclaration {
1749
1890
  /**
1750
1891
  * @public
1751
1892
  * <p>A variable declared at the pipeline level.</p>
1752
- * <note>
1753
- * <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
1754
- * are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
1755
- * in the <i>CodePipeline User Guide</i>.</p>
1756
- * </note>
1757
1893
  */
1758
1894
  export interface PipelineVariableDeclaration {
1759
1895
  /**
@@ -1825,6 +1961,11 @@ export interface PipelineDeclaration {
1825
1961
  * 1. This number is incremented when a pipeline is updated.</p>
1826
1962
  */
1827
1963
  version?: number;
1964
+ /**
1965
+ * @public
1966
+ * <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
1967
+ */
1968
+ executionMode?: ExecutionMode;
1828
1969
  /**
1829
1970
  * @public
1830
1971
  * <p>CodePipeline provides the following pipeline types, which differ in characteristics and
@@ -1845,16 +1986,18 @@ export interface PipelineDeclaration {
1845
1986
  * creating or updating a pipeline will result in the pipeline having the V2 type of
1846
1987
  * pipeline and the associated costs.</p>
1847
1988
  * </important>
1848
- * <p>For information about pricing for CodePipeline, see <a href="https://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
1989
+ * <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
1849
1990
  * <p>
1850
1991
  * 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>
1851
- * <note>
1852
- * <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
1853
- * are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
1854
- * in the <i>CodePipeline User Guide</i>.</p>
1855
- * </note>
1856
1992
  */
1857
1993
  pipelineType?: PipelineType;
1994
+ /**
1995
+ * @public
1996
+ * <p>A list that defines the pipeline variables for a pipeline resource. Variable names can
1997
+ * have alphanumeric and underscore characters, and the values must match
1998
+ * <code>[A-Za-z0-9@\-_]+</code>.</p>
1999
+ */
2000
+ variables?: PipelineVariableDeclaration[];
1858
2001
  /**
1859
2002
  * @public
1860
2003
  * <p>The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.</p>
@@ -1864,13 +2007,6 @@ export interface PipelineDeclaration {
1864
2007
  * </note>
1865
2008
  */
1866
2009
  triggers?: PipelineTriggerDeclaration[];
1867
- /**
1868
- * @public
1869
- * <p>A list that defines the pipeline variables for a pipeline resource. Variable names can
1870
- * have alphanumeric and underscore characters, and the values must match
1871
- * <code>[A-Za-z0-9@\-_]+</code>.</p>
1872
- */
1873
- variables?: PipelineVariableDeclaration[];
1874
2010
  }
1875
2011
  /**
1876
2012
  * @public
@@ -2594,6 +2730,11 @@ export interface PipelineExecution {
2594
2730
  * execution.</p>
2595
2731
  */
2596
2732
  artifactRevisions?: ArtifactRevision[];
2733
+ /**
2734
+ * @public
2735
+ * <p>A list of pipeline variables used for the pipeline execution.</p>
2736
+ */
2737
+ variables?: ResolvedPipelineVariable[];
2597
2738
  /**
2598
2739
  * @public
2599
2740
  * <p>The interaction or event that started a pipeline execution.</p>
@@ -2601,9 +2742,9 @@ export interface PipelineExecution {
2601
2742
  trigger?: ExecutionTrigger;
2602
2743
  /**
2603
2744
  * @public
2604
- * <p>A list of pipeline variables used for the pipeline execution.</p>
2745
+ * <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
2605
2746
  */
2606
- variables?: ResolvedPipelineVariable[];
2747
+ executionMode?: ExecutionMode;
2607
2748
  }
2608
2749
  /**
2609
2750
  * @public
@@ -2721,6 +2862,11 @@ export interface StageState {
2721
2862
  * <p>Represents information about the run of a stage.</p>
2722
2863
  */
2723
2864
  inboundExecution?: StageExecution;
2865
+ /**
2866
+ * @public
2867
+ * <p>The inbound executions for a stage.</p>
2868
+ */
2869
+ inboundExecutions?: StageExecution[];
2724
2870
  /**
2725
2871
  * @public
2726
2872
  * <p>The state of the inbound transition, which is either enabled or disabled.</p>
@@ -3141,6 +3287,11 @@ export interface PipelineExecutionSummary {
3141
3287
  * <p>The interaction that stopped a pipeline execution.</p>
3142
3288
  */
3143
3289
  stopTrigger?: StopExecutionTrigger;
3290
+ /**
3291
+ * @public
3292
+ * <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
3293
+ */
3294
+ executionMode?: ExecutionMode;
3144
3295
  }
3145
3296
  /**
3146
3297
  * @public
@@ -3214,16 +3365,16 @@ export interface PipelineSummary {
3214
3365
  * creating or updating a pipeline will result in the pipeline having the V2 type of
3215
3366
  * pipeline and the associated costs.</p>
3216
3367
  * </important>
3217
- * <p>For information about pricing for CodePipeline, see <a href="https://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
3368
+ * <p>For information about pricing for CodePipeline, see <a href="http://aws.amazon.com/codepipeline/pricing/">Pricing</a>.</p>
3218
3369
  * <p>
3219
3370
  * 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>
3220
- * <note>
3221
- * <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
3222
- * are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
3223
- * in the <i>CodePipeline User Guide</i>.</p>
3224
- * </note>
3225
3371
  */
3226
3372
  pipelineType?: PipelineType;
3373
+ /**
3374
+ * @public
3375
+ * <p>The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.</p>
3376
+ */
3377
+ executionMode?: ExecutionMode;
3227
3378
  /**
3228
3379
  * @public
3229
3380
  * <p>The date and time the pipeline was created, in timestamp format.</p>
@@ -4118,6 +4269,18 @@ export declare class StageNotRetryableException extends __BaseException {
4118
4269
  */
4119
4270
  constructor(opts: __ExceptionOptionType<StageNotRetryableException, __BaseException>);
4120
4271
  }
4272
+ /**
4273
+ * @public
4274
+ * <p>The pipeline has reached the limit for concurrent pipeline executions.</p>
4275
+ */
4276
+ export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
4277
+ readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
4278
+ readonly $fault: "client";
4279
+ /**
4280
+ * @internal
4281
+ */
4282
+ constructor(opts: __ExceptionOptionType<ConcurrentPipelineExecutionsLimitExceededException, __BaseException>);
4283
+ }
4121
4284
  /**
4122
4285
  * @public
4123
4286
  * @enum
@@ -4159,11 +4322,6 @@ export interface SourceRevisionOverride {
4159
4322
  /**
4160
4323
  * @public
4161
4324
  * <p>A pipeline-level variable used for a pipeline execution.</p>
4162
- * <note>
4163
- * <p>V2 type pipelines, along with triggers on Git tags and pipeline-level variables,
4164
- * are not currently supported for CloudFormation and CDK resources in CodePipeline. For more information about V2 type pipelines, see <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/pipeline-types.html">Pipeline types</a>
4165
- * in the <i>CodePipeline User Guide</i>.</p>
4166
- * </note>
4167
4325
  */
4168
4326
  export interface PipelineVariable {
4169
4327
  /**
@@ -160,6 +160,7 @@ export interface ActionExecutionResult {
160
160
  externalExecutionId?: string;
161
161
  externalExecutionSummary?: string;
162
162
  externalExecutionUrl?: string;
163
+ errorDetails?: ErrorDetails;
163
164
  }
164
165
  export interface ActionExecutionOutput {
165
166
  outputArtifacts?: ArtifactDetail[];
@@ -174,12 +175,24 @@ export interface ActionExecutionDetail {
174
175
  actionName?: string;
175
176
  startTime?: Date;
176
177
  lastUpdateTime?: Date;
178
+ updatedBy?: string;
177
179
  status?: ActionExecutionStatus;
178
180
  input?: ActionExecutionInput;
179
181
  output?: ActionExecutionOutput;
180
182
  }
183
+ export declare const StartTimeRange: {
184
+ readonly All: "All";
185
+ readonly Latest: "Latest";
186
+ };
187
+ export type StartTimeRange =
188
+ (typeof StartTimeRange)[keyof typeof StartTimeRange];
189
+ export interface LatestInPipelineExecutionFilter {
190
+ pipelineExecutionId: string | undefined;
191
+ startTimeRange: StartTimeRange | undefined;
192
+ }
181
193
  export interface ActionExecutionFilter {
182
194
  pipelineExecutionId?: string;
195
+ latestInPipelineExecution?: LatestInPipelineExecutionFilter;
183
196
  }
184
197
  export declare class ActionNotFoundException extends __BaseException {
185
198
  readonly name: "ActionNotFoundException";
@@ -410,6 +423,12 @@ export declare class TooManyTagsException extends __BaseException {
410
423
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
411
424
  );
412
425
  }
426
+ export declare const ExecutionMode: {
427
+ readonly PARALLEL: "PARALLEL";
428
+ readonly QUEUED: "QUEUED";
429
+ readonly SUPERSEDED: "SUPERSEDED";
430
+ };
431
+ export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode];
413
432
  export declare const PipelineType: {
414
433
  readonly V1: "V1";
415
434
  readonly V2: "V2";
@@ -420,16 +439,39 @@ export interface StageDeclaration {
420
439
  blockers?: BlockerDeclaration[];
421
440
  actions: ActionDeclaration[] | undefined;
422
441
  }
442
+ export interface GitBranchFilterCriteria {
443
+ includes?: string[];
444
+ excludes?: string[];
445
+ }
446
+ export declare const GitPullRequestEventType: {
447
+ readonly CLOSED: "CLOSED";
448
+ readonly OPEN: "OPEN";
449
+ readonly UPDATED: "UPDATED";
450
+ };
451
+ export type GitPullRequestEventType =
452
+ (typeof GitPullRequestEventType)[keyof typeof GitPullRequestEventType];
453
+ export interface GitFilePathFilterCriteria {
454
+ includes?: string[];
455
+ excludes?: string[];
456
+ }
457
+ export interface GitPullRequestFilter {
458
+ events?: GitPullRequestEventType[];
459
+ branches?: GitBranchFilterCriteria;
460
+ filePaths?: GitFilePathFilterCriteria;
461
+ }
423
462
  export interface GitTagFilterCriteria {
424
463
  includes?: string[];
425
464
  excludes?: string[];
426
465
  }
427
466
  export interface GitPushFilter {
428
467
  tags?: GitTagFilterCriteria;
468
+ branches?: GitBranchFilterCriteria;
469
+ filePaths?: GitFilePathFilterCriteria;
429
470
  }
430
471
  export interface GitConfiguration {
431
472
  sourceActionName: string | undefined;
432
473
  push?: GitPushFilter[];
474
+ pullRequest?: GitPullRequestFilter[];
433
475
  }
434
476
  export declare const PipelineTriggerProviderType: {
435
477
  readonly CodeStarSourceConnection: "CodeStarSourceConnection";
@@ -452,9 +494,10 @@ export interface PipelineDeclaration {
452
494
  artifactStores?: Record<string, ArtifactStore>;
453
495
  stages: StageDeclaration[] | undefined;
454
496
  version?: number;
497
+ executionMode?: ExecutionMode;
455
498
  pipelineType?: PipelineType;
456
- triggers?: PipelineTriggerDeclaration[];
457
499
  variables?: PipelineVariableDeclaration[];
500
+ triggers?: PipelineTriggerDeclaration[];
458
501
  }
459
502
  export interface CreatePipelineInput {
460
503
  pipeline: PipelineDeclaration | undefined;
@@ -666,8 +709,9 @@ export interface PipelineExecution {
666
709
  status?: PipelineExecutionStatus;
667
710
  statusSummary?: string;
668
711
  artifactRevisions?: ArtifactRevision[];
669
- trigger?: ExecutionTrigger;
670
712
  variables?: ResolvedPipelineVariable[];
713
+ trigger?: ExecutionTrigger;
714
+ executionMode?: ExecutionMode;
671
715
  }
672
716
  export interface GetPipelineExecutionOutput {
673
717
  pipelineExecution?: PipelineExecution;
@@ -708,6 +752,7 @@ export interface TransitionState {
708
752
  export interface StageState {
709
753
  stageName?: string;
710
754
  inboundExecution?: StageExecution;
755
+ inboundExecutions?: StageExecution[];
711
756
  inboundTransitionState?: TransitionState;
712
757
  actionStates?: ActionState[];
713
758
  latestExecution?: StageExecution;
@@ -796,6 +841,7 @@ export interface PipelineExecutionSummary {
796
841
  sourceRevisions?: SourceRevision[];
797
842
  trigger?: ExecutionTrigger;
798
843
  stopTrigger?: StopExecutionTrigger;
844
+ executionMode?: ExecutionMode;
799
845
  }
800
846
  export interface ListPipelineExecutionsOutput {
801
847
  pipelineExecutionSummaries?: PipelineExecutionSummary[];
@@ -809,6 +855,7 @@ export interface PipelineSummary {
809
855
  name?: string;
810
856
  version?: number;
811
857
  pipelineType?: PipelineType;
858
+ executionMode?: ExecutionMode;
812
859
  created?: Date;
813
860
  updated?: Date;
814
861
  }
@@ -1064,6 +1111,16 @@ export declare class StageNotRetryableException extends __BaseException {
1064
1111
  opts: __ExceptionOptionType<StageNotRetryableException, __BaseException>
1065
1112
  );
1066
1113
  }
1114
+ export declare class ConcurrentPipelineExecutionsLimitExceededException extends __BaseException {
1115
+ readonly name: "ConcurrentPipelineExecutionsLimitExceededException";
1116
+ readonly $fault: "client";
1117
+ constructor(
1118
+ opts: __ExceptionOptionType<
1119
+ ConcurrentPipelineExecutionsLimitExceededException,
1120
+ __BaseException
1121
+ >
1122
+ );
1123
+ }
1067
1124
  export declare const SourceRevisionType: {
1068
1125
  readonly COMMIT_ID: "COMMIT_ID";
1069
1126
  readonly IMAGE_DIGEST: "IMAGE_DIGEST";
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.507.0",
4
+ "version": "3.510.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codepipeline",
@@ -22,7 +22,7 @@
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
23
  "@aws-sdk/client-sts": "3.507.0",
24
24
  "@aws-sdk/core": "3.496.0",
25
- "@aws-sdk/credential-provider-node": "3.507.0",
25
+ "@aws-sdk/credential-provider-node": "3.509.0",
26
26
  "@aws-sdk/middleware-host-header": "3.502.0",
27
27
  "@aws-sdk/middleware-logger": "3.502.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.502.0",