@aws-sdk/client-codepipeline 3.509.0 → 3.511.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 +57 -1
- package/dist-es/models/models_0.js +26 -0
- package/dist-es/protocols/Aws_json1_1.js +18 -1
- package/dist-types/commands/CreatePipelineCommand.d.ts +94 -14
- package/dist-types/commands/GetPipelineCommand.d.ts +47 -7
- package/dist-types/commands/GetPipelineExecutionCommand.d.ts +5 -4
- package/dist-types/commands/GetPipelineStateCommand.d.ts +6 -0
- package/dist-types/commands/ListActionExecutionsCommand.d.ts +9 -0
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -0
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -0
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +3 -0
- package/dist-types/commands/UpdatePipelineCommand.d.ts +94 -14
- package/dist-types/models/models_0.d.ts +202 -44
- package/dist-types/ts3.4/models/models_0.d.ts +59 -2
- package/package.json +14 -14
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",
|
|
@@ -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>
|