@aws-sdk/client-codepipeline 3.28.0 → 3.32.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/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +44 -28
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +45 -29
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +48 -29
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.32.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,39 +27,39 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.32.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.32.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.32.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.32.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.32.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0",
|
|
59
59
|
"uuid": "^8.3.2"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
62
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
63
63
|
"@types/node": "^12.7.5",
|
|
64
64
|
"@types/uuid": "^8.3.0",
|
|
65
65
|
"downlevel-dts": "0.7.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"rimraf": "^3.0.0",
|
|
68
68
|
"ts-jest": "^26.4.1",
|
|
69
69
|
"typedoc": "^0.19.2",
|
|
70
|
-
"typescript": "~4.3.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -275,8 +275,11 @@ import {
|
|
|
275
275
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
276
276
|
import {
|
|
277
277
|
expectBoolean as __expectBoolean,
|
|
278
|
-
|
|
278
|
+
expectInt32 as __expectInt32,
|
|
279
|
+
expectNonNull as __expectNonNull,
|
|
280
|
+
expectNumber as __expectNumber,
|
|
279
281
|
expectString as __expectString,
|
|
282
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
280
283
|
} from "@aws-sdk/smithy-client";
|
|
281
284
|
import {
|
|
282
285
|
Endpoint as __Endpoint,
|
|
@@ -5323,7 +5326,7 @@ const deserializeAws_json1_1ActionDeclaration = (output: any, context: __SerdeCo
|
|
|
5323
5326
|
: undefined,
|
|
5324
5327
|
region: __expectString(output.region),
|
|
5325
5328
|
roleArn: __expectString(output.roleArn),
|
|
5326
|
-
runOrder:
|
|
5329
|
+
runOrder: __expectInt32(output.runOrder),
|
|
5327
5330
|
} as any;
|
|
5328
5331
|
};
|
|
5329
5332
|
|
|
@@ -5338,10 +5341,10 @@ const deserializeAws_json1_1ActionExecution = (output: any, context: __SerdeCont
|
|
|
5338
5341
|
externalExecutionUrl: __expectString(output.externalExecutionUrl),
|
|
5339
5342
|
lastStatusChange:
|
|
5340
5343
|
output.lastStatusChange !== undefined && output.lastStatusChange !== null
|
|
5341
|
-
?
|
|
5344
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChange)))
|
|
5342
5345
|
: undefined,
|
|
5343
5346
|
lastUpdatedBy: __expectString(output.lastUpdatedBy),
|
|
5344
|
-
percentComplete:
|
|
5347
|
+
percentComplete: __expectInt32(output.percentComplete),
|
|
5345
5348
|
status: __expectString(output.status),
|
|
5346
5349
|
summary: __expectString(output.summary),
|
|
5347
5350
|
token: __expectString(output.token),
|
|
@@ -5358,18 +5361,18 @@ const deserializeAws_json1_1ActionExecutionDetail = (output: any, context: __Ser
|
|
|
5358
5361
|
: undefined,
|
|
5359
5362
|
lastUpdateTime:
|
|
5360
5363
|
output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
5361
|
-
?
|
|
5364
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
|
|
5362
5365
|
: undefined,
|
|
5363
5366
|
output:
|
|
5364
5367
|
output.output !== undefined && output.output !== null
|
|
5365
5368
|
? deserializeAws_json1_1ActionExecutionOutput(output.output, context)
|
|
5366
5369
|
: undefined,
|
|
5367
5370
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
5368
|
-
pipelineVersion:
|
|
5371
|
+
pipelineVersion: __expectInt32(output.pipelineVersion),
|
|
5369
5372
|
stageName: __expectString(output.stageName),
|
|
5370
5373
|
startTime:
|
|
5371
5374
|
output.startTime !== undefined && output.startTime !== null
|
|
5372
|
-
?
|
|
5375
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
5373
5376
|
: undefined,
|
|
5374
5377
|
status: __expectString(output.status),
|
|
5375
5378
|
} as any;
|
|
@@ -5450,7 +5453,9 @@ const deserializeAws_json1_1ActionNotFoundException = (
|
|
|
5450
5453
|
const deserializeAws_json1_1ActionRevision = (output: any, context: __SerdeContext): ActionRevision => {
|
|
5451
5454
|
return {
|
|
5452
5455
|
created:
|
|
5453
|
-
output.created !== undefined && output.created !== null
|
|
5456
|
+
output.created !== undefined && output.created !== null
|
|
5457
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
5458
|
+
: undefined,
|
|
5454
5459
|
revisionChangeId: __expectString(output.revisionChangeId),
|
|
5455
5460
|
revisionId: __expectString(output.revisionId),
|
|
5456
5461
|
} as any;
|
|
@@ -5513,8 +5518,8 @@ const deserializeAws_json1_1ActionTypeArtifactDetails = (
|
|
|
5513
5518
|
context: __SerdeContext
|
|
5514
5519
|
): ActionTypeArtifactDetails => {
|
|
5515
5520
|
return {
|
|
5516
|
-
maximumCount:
|
|
5517
|
-
minimumCount:
|
|
5521
|
+
maximumCount: __expectInt32(output.maximumCount),
|
|
5522
|
+
minimumCount: __expectInt32(output.minimumCount),
|
|
5518
5523
|
} as any;
|
|
5519
5524
|
};
|
|
5520
5525
|
|
|
@@ -5558,7 +5563,7 @@ const deserializeAws_json1_1ActionTypeExecutor = (output: any, context: __SerdeC
|
|
|
5558
5563
|
output.configuration !== undefined && output.configuration !== null
|
|
5559
5564
|
? deserializeAws_json1_1ExecutorConfiguration(output.configuration, context)
|
|
5560
5565
|
: undefined,
|
|
5561
|
-
jobTimeout:
|
|
5566
|
+
jobTimeout: __expectInt32(output.jobTimeout),
|
|
5562
5567
|
policyStatementsTemplate: __expectString(output.policyStatementsTemplate),
|
|
5563
5568
|
type: __expectString(output.type),
|
|
5564
5569
|
} as any;
|
|
@@ -5705,8 +5710,8 @@ const deserializeAws_json1_1ArtifactDetailList = (output: any, context: __SerdeC
|
|
|
5705
5710
|
|
|
5706
5711
|
const deserializeAws_json1_1ArtifactDetails = (output: any, context: __SerdeContext): ArtifactDetails => {
|
|
5707
5712
|
return {
|
|
5708
|
-
maximumCount:
|
|
5709
|
-
minimumCount:
|
|
5713
|
+
maximumCount: __expectInt32(output.maximumCount),
|
|
5714
|
+
minimumCount: __expectInt32(output.minimumCount),
|
|
5710
5715
|
} as any;
|
|
5711
5716
|
};
|
|
5712
5717
|
|
|
@@ -5734,7 +5739,9 @@ const deserializeAws_json1_1ArtifactLocation = (output: any, context: __SerdeCon
|
|
|
5734
5739
|
const deserializeAws_json1_1ArtifactRevision = (output: any, context: __SerdeContext): ArtifactRevision => {
|
|
5735
5740
|
return {
|
|
5736
5741
|
created:
|
|
5737
|
-
output.created !== undefined && output.created !== null
|
|
5742
|
+
output.created !== undefined && output.created !== null
|
|
5743
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
5744
|
+
: undefined,
|
|
5738
5745
|
name: __expectString(output.name),
|
|
5739
5746
|
revisionChangeIdentifier: __expectString(output.revisionChangeIdentifier),
|
|
5740
5747
|
revisionId: __expectString(output.revisionId),
|
|
@@ -5939,15 +5946,19 @@ const deserializeAws_json1_1GetPipelineOutput = (output: any, context: __SerdeCo
|
|
|
5939
5946
|
const deserializeAws_json1_1GetPipelineStateOutput = (output: any, context: __SerdeContext): GetPipelineStateOutput => {
|
|
5940
5947
|
return {
|
|
5941
5948
|
created:
|
|
5942
|
-
output.created !== undefined && output.created !== null
|
|
5949
|
+
output.created !== undefined && output.created !== null
|
|
5950
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
5951
|
+
: undefined,
|
|
5943
5952
|
pipelineName: __expectString(output.pipelineName),
|
|
5944
|
-
pipelineVersion:
|
|
5953
|
+
pipelineVersion: __expectInt32(output.pipelineVersion),
|
|
5945
5954
|
stageStates:
|
|
5946
5955
|
output.stageStates !== undefined && output.stageStates !== null
|
|
5947
5956
|
? deserializeAws_json1_1StageStateList(output.stageStates, context)
|
|
5948
5957
|
: undefined,
|
|
5949
5958
|
updated:
|
|
5950
|
-
output.updated !== undefined && output.updated !== null
|
|
5959
|
+
output.updated !== undefined && output.updated !== null
|
|
5960
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
|
|
5961
|
+
: undefined,
|
|
5951
5962
|
} as any;
|
|
5952
5963
|
};
|
|
5953
5964
|
|
|
@@ -6269,7 +6280,7 @@ const deserializeAws_json1_1ListWebhookItem = (output: any, context: __SerdeCont
|
|
|
6269
6280
|
errorMessage: __expectString(output.errorMessage),
|
|
6270
6281
|
lastTriggered:
|
|
6271
6282
|
output.lastTriggered !== undefined && output.lastTriggered !== null
|
|
6272
|
-
?
|
|
6283
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastTriggered)))
|
|
6273
6284
|
: undefined,
|
|
6274
6285
|
tags:
|
|
6275
6286
|
output.tags !== undefined && output.tags !== null
|
|
@@ -6368,7 +6379,7 @@ const deserializeAws_json1_1PipelineDeclaration = (output: any, context: __Serde
|
|
|
6368
6379
|
output.stages !== undefined && output.stages !== null
|
|
6369
6380
|
? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context)
|
|
6370
6381
|
: undefined,
|
|
6371
|
-
version:
|
|
6382
|
+
version: __expectInt32(output.version),
|
|
6372
6383
|
} as any;
|
|
6373
6384
|
};
|
|
6374
6385
|
|
|
@@ -6380,7 +6391,7 @@ const deserializeAws_json1_1PipelineExecution = (output: any, context: __SerdeCo
|
|
|
6380
6391
|
: undefined,
|
|
6381
6392
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
6382
6393
|
pipelineName: __expectString(output.pipelineName),
|
|
6383
|
-
pipelineVersion:
|
|
6394
|
+
pipelineVersion: __expectInt32(output.pipelineVersion),
|
|
6384
6395
|
status: __expectString(output.status),
|
|
6385
6396
|
statusSummary: __expectString(output.statusSummary),
|
|
6386
6397
|
} as any;
|
|
@@ -6411,7 +6422,7 @@ const deserializeAws_json1_1PipelineExecutionSummary = (
|
|
|
6411
6422
|
return {
|
|
6412
6423
|
lastUpdateTime:
|
|
6413
6424
|
output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
|
|
6414
|
-
?
|
|
6425
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
|
|
6415
6426
|
: undefined,
|
|
6416
6427
|
pipelineExecutionId: __expectString(output.pipelineExecutionId),
|
|
6417
6428
|
sourceRevisions:
|
|
@@ -6420,7 +6431,7 @@ const deserializeAws_json1_1PipelineExecutionSummary = (
|
|
|
6420
6431
|
: undefined,
|
|
6421
6432
|
startTime:
|
|
6422
6433
|
output.startTime !== undefined && output.startTime !== null
|
|
6423
|
-
?
|
|
6434
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
|
|
6424
6435
|
: undefined,
|
|
6425
6436
|
status: __expectString(output.status),
|
|
6426
6437
|
stopTrigger:
|
|
@@ -6462,10 +6473,14 @@ const deserializeAws_json1_1PipelineList = (output: any, context: __SerdeContext
|
|
|
6462
6473
|
const deserializeAws_json1_1PipelineMetadata = (output: any, context: __SerdeContext): PipelineMetadata => {
|
|
6463
6474
|
return {
|
|
6464
6475
|
created:
|
|
6465
|
-
output.created !== undefined && output.created !== null
|
|
6476
|
+
output.created !== undefined && output.created !== null
|
|
6477
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
6478
|
+
: undefined,
|
|
6466
6479
|
pipelineArn: __expectString(output.pipelineArn),
|
|
6467
6480
|
updated:
|
|
6468
|
-
output.updated !== undefined && output.updated !== null
|
|
6481
|
+
output.updated !== undefined && output.updated !== null
|
|
6482
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
|
|
6483
|
+
: undefined,
|
|
6469
6484
|
} as any;
|
|
6470
6485
|
};
|
|
6471
6486
|
|
|
@@ -6504,11 +6519,15 @@ const deserializeAws_json1_1PipelineStageDeclarationList = (
|
|
|
6504
6519
|
const deserializeAws_json1_1PipelineSummary = (output: any, context: __SerdeContext): PipelineSummary => {
|
|
6505
6520
|
return {
|
|
6506
6521
|
created:
|
|
6507
|
-
output.created !== undefined && output.created !== null
|
|
6522
|
+
output.created !== undefined && output.created !== null
|
|
6523
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
|
|
6524
|
+
: undefined,
|
|
6508
6525
|
name: __expectString(output.name),
|
|
6509
6526
|
updated:
|
|
6510
|
-
output.updated !== undefined && output.updated !== null
|
|
6511
|
-
|
|
6527
|
+
output.updated !== undefined && output.updated !== null
|
|
6528
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
|
|
6529
|
+
: undefined,
|
|
6530
|
+
version: __expectInt32(output.version),
|
|
6512
6531
|
} as any;
|
|
6513
6532
|
};
|
|
6514
6533
|
|
|
@@ -6581,7 +6600,7 @@ const deserializeAws_json1_1PutApprovalResultOutput = (
|
|
|
6581
6600
|
return {
|
|
6582
6601
|
approvedAt:
|
|
6583
6602
|
output.approvedAt !== undefined && output.approvedAt !== null
|
|
6584
|
-
?
|
|
6603
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.approvedAt)))
|
|
6585
6604
|
: undefined,
|
|
6586
6605
|
} as any;
|
|
6587
6606
|
};
|
|
@@ -6899,7 +6918,7 @@ const deserializeAws_json1_1TransitionState = (output: any, context: __SerdeCont
|
|
|
6899
6918
|
enabled: __expectBoolean(output.enabled),
|
|
6900
6919
|
lastChangedAt:
|
|
6901
6920
|
output.lastChangedAt !== undefined && output.lastChangedAt !== null
|
|
6902
|
-
?
|
|
6921
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastChangedAt)))
|
|
6903
6922
|
: undefined,
|
|
6904
6923
|
lastChangedBy: __expectString(output.lastChangedBy),
|
|
6905
6924
|
} as any;
|