@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 CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-codepipeline
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-codepipeline
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-codepipeline
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-codepipeline
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -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.28.0",
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.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
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.23.0",
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.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -4299,7 +4299,7 @@ const deserializeAws_json1_1ActionDeclaration = (output, context) => {
4299
4299
  : undefined,
4300
4300
  region: smithy_client_1.expectString(output.region),
4301
4301
  roleArn: smithy_client_1.expectString(output.roleArn),
4302
- runOrder: smithy_client_1.expectInt(output.runOrder),
4302
+ runOrder: smithy_client_1.expectInt32(output.runOrder),
4303
4303
  };
4304
4304
  };
4305
4305
  const deserializeAws_json1_1ActionExecution = (output, context) => {
@@ -4311,10 +4311,10 @@ const deserializeAws_json1_1ActionExecution = (output, context) => {
4311
4311
  externalExecutionId: smithy_client_1.expectString(output.externalExecutionId),
4312
4312
  externalExecutionUrl: smithy_client_1.expectString(output.externalExecutionUrl),
4313
4313
  lastStatusChange: output.lastStatusChange !== undefined && output.lastStatusChange !== null
4314
- ? new Date(Math.round(output.lastStatusChange * 1000))
4314
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastStatusChange)))
4315
4315
  : undefined,
4316
4316
  lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
4317
- percentComplete: smithy_client_1.expectInt(output.percentComplete),
4317
+ percentComplete: smithy_client_1.expectInt32(output.percentComplete),
4318
4318
  status: smithy_client_1.expectString(output.status),
4319
4319
  summary: smithy_client_1.expectString(output.summary),
4320
4320
  token: smithy_client_1.expectString(output.token),
@@ -4328,16 +4328,16 @@ const deserializeAws_json1_1ActionExecutionDetail = (output, context) => {
4328
4328
  ? deserializeAws_json1_1ActionExecutionInput(output.input, context)
4329
4329
  : undefined,
4330
4330
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
4331
- ? new Date(Math.round(output.lastUpdateTime * 1000))
4331
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
4332
4332
  : undefined,
4333
4333
  output: output.output !== undefined && output.output !== null
4334
4334
  ? deserializeAws_json1_1ActionExecutionOutput(output.output, context)
4335
4335
  : undefined,
4336
4336
  pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
4337
- pipelineVersion: smithy_client_1.expectInt(output.pipelineVersion),
4337
+ pipelineVersion: smithy_client_1.expectInt32(output.pipelineVersion),
4338
4338
  stageName: smithy_client_1.expectString(output.stageName),
4339
4339
  startTime: output.startTime !== undefined && output.startTime !== null
4340
- ? new Date(Math.round(output.startTime * 1000))
4340
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
4341
4341
  : undefined,
4342
4342
  status: smithy_client_1.expectString(output.status),
4343
4343
  };
@@ -4398,7 +4398,9 @@ const deserializeAws_json1_1ActionNotFoundException = (output, context) => {
4398
4398
  };
4399
4399
  const deserializeAws_json1_1ActionRevision = (output, context) => {
4400
4400
  return {
4401
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4401
+ created: output.created !== undefined && output.created !== null
4402
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
4403
+ : undefined,
4402
4404
  revisionChangeId: smithy_client_1.expectString(output.revisionChangeId),
4403
4405
  revisionId: smithy_client_1.expectString(output.revisionId),
4404
4406
  };
@@ -4447,8 +4449,8 @@ const deserializeAws_json1_1ActionType = (output, context) => {
4447
4449
  };
4448
4450
  const deserializeAws_json1_1ActionTypeArtifactDetails = (output, context) => {
4449
4451
  return {
4450
- maximumCount: smithy_client_1.expectInt(output.maximumCount),
4451
- minimumCount: smithy_client_1.expectInt(output.minimumCount),
4452
+ maximumCount: smithy_client_1.expectInt32(output.maximumCount),
4453
+ minimumCount: smithy_client_1.expectInt32(output.minimumCount),
4452
4454
  };
4453
4455
  };
4454
4456
  const deserializeAws_json1_1ActionTypeDeclaration = (output, context) => {
@@ -4482,7 +4484,7 @@ const deserializeAws_json1_1ActionTypeExecutor = (output, context) => {
4482
4484
  configuration: output.configuration !== undefined && output.configuration !== null
4483
4485
  ? deserializeAws_json1_1ExecutorConfiguration(output.configuration, context)
4484
4486
  : undefined,
4485
- jobTimeout: smithy_client_1.expectInt(output.jobTimeout),
4487
+ jobTimeout: smithy_client_1.expectInt32(output.jobTimeout),
4486
4488
  policyStatementsTemplate: smithy_client_1.expectString(output.policyStatementsTemplate),
4487
4489
  type: smithy_client_1.expectString(output.type),
4488
4490
  };
@@ -4605,8 +4607,8 @@ const deserializeAws_json1_1ArtifactDetailList = (output, context) => {
4605
4607
  };
4606
4608
  const deserializeAws_json1_1ArtifactDetails = (output, context) => {
4607
4609
  return {
4608
- maximumCount: smithy_client_1.expectInt(output.maximumCount),
4609
- minimumCount: smithy_client_1.expectInt(output.minimumCount),
4610
+ maximumCount: smithy_client_1.expectInt32(output.maximumCount),
4611
+ minimumCount: smithy_client_1.expectInt32(output.minimumCount),
4610
4612
  };
4611
4613
  };
4612
4614
  const deserializeAws_json1_1ArtifactList = (output, context) => {
@@ -4629,7 +4631,9 @@ const deserializeAws_json1_1ArtifactLocation = (output, context) => {
4629
4631
  };
4630
4632
  const deserializeAws_json1_1ArtifactRevision = (output, context) => {
4631
4633
  return {
4632
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4634
+ created: output.created !== undefined && output.created !== null
4635
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
4636
+ : undefined,
4633
4637
  name: smithy_client_1.expectString(output.name),
4634
4638
  revisionChangeIdentifier: smithy_client_1.expectString(output.revisionChangeIdentifier),
4635
4639
  revisionId: smithy_client_1.expectString(output.revisionId),
@@ -4782,13 +4786,17 @@ const deserializeAws_json1_1GetPipelineOutput = (output, context) => {
4782
4786
  };
4783
4787
  const deserializeAws_json1_1GetPipelineStateOutput = (output, context) => {
4784
4788
  return {
4785
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4789
+ created: output.created !== undefined && output.created !== null
4790
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
4791
+ : undefined,
4786
4792
  pipelineName: smithy_client_1.expectString(output.pipelineName),
4787
- pipelineVersion: smithy_client_1.expectInt(output.pipelineVersion),
4793
+ pipelineVersion: smithy_client_1.expectInt32(output.pipelineVersion),
4788
4794
  stageStates: output.stageStates !== undefined && output.stageStates !== null
4789
4795
  ? deserializeAws_json1_1StageStateList(output.stageStates, context)
4790
4796
  : undefined,
4791
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
4797
+ updated: output.updated !== undefined && output.updated !== null
4798
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updated)))
4799
+ : undefined,
4792
4800
  };
4793
4801
  };
4794
4802
  const deserializeAws_json1_1GetThirdPartyJobDetailsOutput = (output, context) => {
@@ -5012,7 +5020,7 @@ const deserializeAws_json1_1ListWebhookItem = (output, context) => {
5012
5020
  errorCode: smithy_client_1.expectString(output.errorCode),
5013
5021
  errorMessage: smithy_client_1.expectString(output.errorMessage),
5014
5022
  lastTriggered: output.lastTriggered !== undefined && output.lastTriggered !== null
5015
- ? new Date(Math.round(output.lastTriggered * 1000))
5023
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastTriggered)))
5016
5024
  : undefined,
5017
5025
  tags: output.tags !== undefined && output.tags !== null
5018
5026
  ? deserializeAws_json1_1TagList(output.tags, context)
@@ -5090,7 +5098,7 @@ const deserializeAws_json1_1PipelineDeclaration = (output, context) => {
5090
5098
  stages: output.stages !== undefined && output.stages !== null
5091
5099
  ? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context)
5092
5100
  : undefined,
5093
- version: smithy_client_1.expectInt(output.version),
5101
+ version: smithy_client_1.expectInt32(output.version),
5094
5102
  };
5095
5103
  };
5096
5104
  const deserializeAws_json1_1PipelineExecution = (output, context) => {
@@ -5100,7 +5108,7 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
5100
5108
  : undefined,
5101
5109
  pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5102
5110
  pipelineName: smithy_client_1.expectString(output.pipelineName),
5103
- pipelineVersion: smithy_client_1.expectInt(output.pipelineVersion),
5111
+ pipelineVersion: smithy_client_1.expectInt32(output.pipelineVersion),
5104
5112
  status: smithy_client_1.expectString(output.status),
5105
5113
  statusSummary: smithy_client_1.expectString(output.statusSummary),
5106
5114
  };
@@ -5118,14 +5126,14 @@ const deserializeAws_json1_1PipelineExecutionNotStoppableException = (output, co
5118
5126
  const deserializeAws_json1_1PipelineExecutionSummary = (output, context) => {
5119
5127
  return {
5120
5128
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
5121
- ? new Date(Math.round(output.lastUpdateTime * 1000))
5129
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdateTime)))
5122
5130
  : undefined,
5123
5131
  pipelineExecutionId: smithy_client_1.expectString(output.pipelineExecutionId),
5124
5132
  sourceRevisions: output.sourceRevisions !== undefined && output.sourceRevisions !== null
5125
5133
  ? deserializeAws_json1_1SourceRevisionList(output.sourceRevisions, context)
5126
5134
  : undefined,
5127
5135
  startTime: output.startTime !== undefined && output.startTime !== null
5128
- ? new Date(Math.round(output.startTime * 1000))
5136
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
5129
5137
  : undefined,
5130
5138
  status: smithy_client_1.expectString(output.status),
5131
5139
  stopTrigger: output.stopTrigger !== undefined && output.stopTrigger !== null
@@ -5158,9 +5166,13 @@ const deserializeAws_json1_1PipelineList = (output, context) => {
5158
5166
  };
5159
5167
  const deserializeAws_json1_1PipelineMetadata = (output, context) => {
5160
5168
  return {
5161
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
5169
+ created: output.created !== undefined && output.created !== null
5170
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
5171
+ : undefined,
5162
5172
  pipelineArn: smithy_client_1.expectString(output.pipelineArn),
5163
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
5173
+ updated: output.updated !== undefined && output.updated !== null
5174
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updated)))
5175
+ : undefined,
5164
5176
  };
5165
5177
  };
5166
5178
  const deserializeAws_json1_1PipelineNameInUseException = (output, context) => {
@@ -5185,10 +5197,14 @@ const deserializeAws_json1_1PipelineStageDeclarationList = (output, context) =>
5185
5197
  };
5186
5198
  const deserializeAws_json1_1PipelineSummary = (output, context) => {
5187
5199
  return {
5188
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
5200
+ created: output.created !== undefined && output.created !== null
5201
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.created)))
5202
+ : undefined,
5189
5203
  name: smithy_client_1.expectString(output.name),
5190
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
5191
- version: smithy_client_1.expectInt(output.version),
5204
+ updated: output.updated !== undefined && output.updated !== null
5205
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updated)))
5206
+ : undefined,
5207
+ version: smithy_client_1.expectInt32(output.version),
5192
5208
  };
5193
5209
  };
5194
5210
  const deserializeAws_json1_1PipelineVersionNotFoundException = (output, context) => {
@@ -5239,7 +5255,7 @@ const deserializeAws_json1_1PutActionRevisionOutput = (output, context) => {
5239
5255
  const deserializeAws_json1_1PutApprovalResultOutput = (output, context) => {
5240
5256
  return {
5241
5257
  approvedAt: output.approvedAt !== undefined && output.approvedAt !== null
5242
- ? new Date(Math.round(output.approvedAt * 1000))
5258
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.approvedAt)))
5243
5259
  : undefined,
5244
5260
  };
5245
5261
  };
@@ -5483,7 +5499,7 @@ const deserializeAws_json1_1TransitionState = (output, context) => {
5483
5499
  disabledReason: smithy_client_1.expectString(output.disabledReason),
5484
5500
  enabled: smithy_client_1.expectBoolean(output.enabled),
5485
5501
  lastChangedAt: output.lastChangedAt !== undefined && output.lastChangedAt !== null
5486
- ? new Date(Math.round(output.lastChangedAt * 1000))
5502
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastChangedAt)))
5487
5503
  : undefined,
5488
5504
  lastChangedBy: smithy_client_1.expectString(output.lastChangedBy),
5489
5505
  };