@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.
@@ -77,8 +77,7 @@ var partitionHash = {
77
77
  };
78
78
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
79
79
  return __generator(this, function (_a) {
80
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "codepipeline", regionHash: regionHash,
81
- partitionHash: partitionHash }))];
80
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "codepipeline", regionHash: regionHash, partitionHash: partitionHash }))];
82
81
  });
83
82
  }); };
84
83
  //# sourceMappingURL=endpoints.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,mBAAmB,EAAE;QACnB,QAAQ,EAAE,8CAA8C;QACxD,aAAa,EAAE,cAAc;KAC9B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,2CAA2C;QACrD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,2CAA2C;QACrD,aAAa,EAAE,WAAW;KAC3B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,+CAA+C;QACzD,aAAa,EAAE,eAAe;KAC/B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,2CAA2C;QACrD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,2CAA2C;QACrD,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAg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AAc,EAAE,cAAc,EAC9B,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -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"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __read } from "tslib";
2
2
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
3
- import { expectBoolean as __expectBoolean, expectInt as __expectInt, expectString as __expectString, } from "@aws-sdk/smithy-client";
3
+ import { expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  export var serializeAws_json1_1AcknowledgeJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var headers, body;
@@ -4354,7 +4354,7 @@ var deserializeAws_json1_1ActionDeclaration = function (output, context) {
4354
4354
  : undefined,
4355
4355
  region: __expectString(output.region),
4356
4356
  roleArn: __expectString(output.roleArn),
4357
- runOrder: __expectInt(output.runOrder),
4357
+ runOrder: __expectInt32(output.runOrder),
4358
4358
  };
4359
4359
  };
4360
4360
  var deserializeAws_json1_1ActionExecution = function (output, context) {
@@ -4366,10 +4366,10 @@ var deserializeAws_json1_1ActionExecution = function (output, context) {
4366
4366
  externalExecutionId: __expectString(output.externalExecutionId),
4367
4367
  externalExecutionUrl: __expectString(output.externalExecutionUrl),
4368
4368
  lastStatusChange: output.lastStatusChange !== undefined && output.lastStatusChange !== null
4369
- ? new Date(Math.round(output.lastStatusChange * 1000))
4369
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastStatusChange)))
4370
4370
  : undefined,
4371
4371
  lastUpdatedBy: __expectString(output.lastUpdatedBy),
4372
- percentComplete: __expectInt(output.percentComplete),
4372
+ percentComplete: __expectInt32(output.percentComplete),
4373
4373
  status: __expectString(output.status),
4374
4374
  summary: __expectString(output.summary),
4375
4375
  token: __expectString(output.token),
@@ -4383,16 +4383,16 @@ var deserializeAws_json1_1ActionExecutionDetail = function (output, context) {
4383
4383
  ? deserializeAws_json1_1ActionExecutionInput(output.input, context)
4384
4384
  : undefined,
4385
4385
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
4386
- ? new Date(Math.round(output.lastUpdateTime * 1000))
4386
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
4387
4387
  : undefined,
4388
4388
  output: output.output !== undefined && output.output !== null
4389
4389
  ? deserializeAws_json1_1ActionExecutionOutput(output.output, context)
4390
4390
  : undefined,
4391
4391
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
4392
- pipelineVersion: __expectInt(output.pipelineVersion),
4392
+ pipelineVersion: __expectInt32(output.pipelineVersion),
4393
4393
  stageName: __expectString(output.stageName),
4394
4394
  startTime: output.startTime !== undefined && output.startTime !== null
4395
- ? new Date(Math.round(output.startTime * 1000))
4395
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
4396
4396
  : undefined,
4397
4397
  status: __expectString(output.status),
4398
4398
  };
@@ -4453,7 +4453,9 @@ var deserializeAws_json1_1ActionNotFoundException = function (output, context) {
4453
4453
  };
4454
4454
  var deserializeAws_json1_1ActionRevision = function (output, context) {
4455
4455
  return {
4456
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4456
+ created: output.created !== undefined && output.created !== null
4457
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
4458
+ : undefined,
4457
4459
  revisionChangeId: __expectString(output.revisionChangeId),
4458
4460
  revisionId: __expectString(output.revisionId),
4459
4461
  };
@@ -4502,8 +4504,8 @@ var deserializeAws_json1_1ActionType = function (output, context) {
4502
4504
  };
4503
4505
  var deserializeAws_json1_1ActionTypeArtifactDetails = function (output, context) {
4504
4506
  return {
4505
- maximumCount: __expectInt(output.maximumCount),
4506
- minimumCount: __expectInt(output.minimumCount),
4507
+ maximumCount: __expectInt32(output.maximumCount),
4508
+ minimumCount: __expectInt32(output.minimumCount),
4507
4509
  };
4508
4510
  };
4509
4511
  var deserializeAws_json1_1ActionTypeDeclaration = function (output, context) {
@@ -4537,7 +4539,7 @@ var deserializeAws_json1_1ActionTypeExecutor = function (output, context) {
4537
4539
  configuration: output.configuration !== undefined && output.configuration !== null
4538
4540
  ? deserializeAws_json1_1ExecutorConfiguration(output.configuration, context)
4539
4541
  : undefined,
4540
- jobTimeout: __expectInt(output.jobTimeout),
4542
+ jobTimeout: __expectInt32(output.jobTimeout),
4541
4543
  policyStatementsTemplate: __expectString(output.policyStatementsTemplate),
4542
4544
  type: __expectString(output.type),
4543
4545
  };
@@ -4660,8 +4662,8 @@ var deserializeAws_json1_1ArtifactDetailList = function (output, context) {
4660
4662
  };
4661
4663
  var deserializeAws_json1_1ArtifactDetails = function (output, context) {
4662
4664
  return {
4663
- maximumCount: __expectInt(output.maximumCount),
4664
- minimumCount: __expectInt(output.minimumCount),
4665
+ maximumCount: __expectInt32(output.maximumCount),
4666
+ minimumCount: __expectInt32(output.minimumCount),
4665
4667
  };
4666
4668
  };
4667
4669
  var deserializeAws_json1_1ArtifactList = function (output, context) {
@@ -4684,7 +4686,9 @@ var deserializeAws_json1_1ArtifactLocation = function (output, context) {
4684
4686
  };
4685
4687
  var deserializeAws_json1_1ArtifactRevision = function (output, context) {
4686
4688
  return {
4687
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4689
+ created: output.created !== undefined && output.created !== null
4690
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
4691
+ : undefined,
4688
4692
  name: __expectString(output.name),
4689
4693
  revisionChangeIdentifier: __expectString(output.revisionChangeIdentifier),
4690
4694
  revisionId: __expectString(output.revisionId),
@@ -4836,13 +4840,17 @@ var deserializeAws_json1_1GetPipelineOutput = function (output, context) {
4836
4840
  };
4837
4841
  var deserializeAws_json1_1GetPipelineStateOutput = function (output, context) {
4838
4842
  return {
4839
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
4843
+ created: output.created !== undefined && output.created !== null
4844
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
4845
+ : undefined,
4840
4846
  pipelineName: __expectString(output.pipelineName),
4841
- pipelineVersion: __expectInt(output.pipelineVersion),
4847
+ pipelineVersion: __expectInt32(output.pipelineVersion),
4842
4848
  stageStates: output.stageStates !== undefined && output.stageStates !== null
4843
4849
  ? deserializeAws_json1_1StageStateList(output.stageStates, context)
4844
4850
  : undefined,
4845
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
4851
+ updated: output.updated !== undefined && output.updated !== null
4852
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
4853
+ : undefined,
4846
4854
  };
4847
4855
  };
4848
4856
  var deserializeAws_json1_1GetThirdPartyJobDetailsOutput = function (output, context) {
@@ -5066,7 +5074,7 @@ var deserializeAws_json1_1ListWebhookItem = function (output, context) {
5066
5074
  errorCode: __expectString(output.errorCode),
5067
5075
  errorMessage: __expectString(output.errorMessage),
5068
5076
  lastTriggered: output.lastTriggered !== undefined && output.lastTriggered !== null
5069
- ? new Date(Math.round(output.lastTriggered * 1000))
5077
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastTriggered)))
5070
5078
  : undefined,
5071
5079
  tags: output.tags !== undefined && output.tags !== null
5072
5080
  ? deserializeAws_json1_1TagList(output.tags, context)
@@ -5143,7 +5151,7 @@ var deserializeAws_json1_1PipelineDeclaration = function (output, context) {
5143
5151
  stages: output.stages !== undefined && output.stages !== null
5144
5152
  ? deserializeAws_json1_1PipelineStageDeclarationList(output.stages, context)
5145
5153
  : undefined,
5146
- version: __expectInt(output.version),
5154
+ version: __expectInt32(output.version),
5147
5155
  };
5148
5156
  };
5149
5157
  var deserializeAws_json1_1PipelineExecution = function (output, context) {
@@ -5153,7 +5161,7 @@ var deserializeAws_json1_1PipelineExecution = function (output, context) {
5153
5161
  : undefined,
5154
5162
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
5155
5163
  pipelineName: __expectString(output.pipelineName),
5156
- pipelineVersion: __expectInt(output.pipelineVersion),
5164
+ pipelineVersion: __expectInt32(output.pipelineVersion),
5157
5165
  status: __expectString(output.status),
5158
5166
  statusSummary: __expectString(output.statusSummary),
5159
5167
  };
@@ -5171,14 +5179,14 @@ var deserializeAws_json1_1PipelineExecutionNotStoppableException = function (out
5171
5179
  var deserializeAws_json1_1PipelineExecutionSummary = function (output, context) {
5172
5180
  return {
5173
5181
  lastUpdateTime: output.lastUpdateTime !== undefined && output.lastUpdateTime !== null
5174
- ? new Date(Math.round(output.lastUpdateTime * 1000))
5182
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateTime)))
5175
5183
  : undefined,
5176
5184
  pipelineExecutionId: __expectString(output.pipelineExecutionId),
5177
5185
  sourceRevisions: output.sourceRevisions !== undefined && output.sourceRevisions !== null
5178
5186
  ? deserializeAws_json1_1SourceRevisionList(output.sourceRevisions, context)
5179
5187
  : undefined,
5180
5188
  startTime: output.startTime !== undefined && output.startTime !== null
5181
- ? new Date(Math.round(output.startTime * 1000))
5189
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.startTime)))
5182
5190
  : undefined,
5183
5191
  status: __expectString(output.status),
5184
5192
  stopTrigger: output.stopTrigger !== undefined && output.stopTrigger !== null
@@ -5211,9 +5219,13 @@ var deserializeAws_json1_1PipelineList = function (output, context) {
5211
5219
  };
5212
5220
  var deserializeAws_json1_1PipelineMetadata = function (output, context) {
5213
5221
  return {
5214
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
5222
+ created: output.created !== undefined && output.created !== null
5223
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
5224
+ : undefined,
5215
5225
  pipelineArn: __expectString(output.pipelineArn),
5216
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
5226
+ updated: output.updated !== undefined && output.updated !== null
5227
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
5228
+ : undefined,
5217
5229
  };
5218
5230
  };
5219
5231
  var deserializeAws_json1_1PipelineNameInUseException = function (output, context) {
@@ -5238,10 +5250,14 @@ var deserializeAws_json1_1PipelineStageDeclarationList = function (output, conte
5238
5250
  };
5239
5251
  var deserializeAws_json1_1PipelineSummary = function (output, context) {
5240
5252
  return {
5241
- created: output.created !== undefined && output.created !== null ? new Date(Math.round(output.created * 1000)) : undefined,
5253
+ created: output.created !== undefined && output.created !== null
5254
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.created)))
5255
+ : undefined,
5242
5256
  name: __expectString(output.name),
5243
- updated: output.updated !== undefined && output.updated !== null ? new Date(Math.round(output.updated * 1000)) : undefined,
5244
- version: __expectInt(output.version),
5257
+ updated: output.updated !== undefined && output.updated !== null
5258
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.updated)))
5259
+ : undefined,
5260
+ version: __expectInt32(output.version),
5245
5261
  };
5246
5262
  };
5247
5263
  var deserializeAws_json1_1PipelineVersionNotFoundException = function (output, context) {
@@ -5292,7 +5308,7 @@ var deserializeAws_json1_1PutActionRevisionOutput = function (output, context) {
5292
5308
  var deserializeAws_json1_1PutApprovalResultOutput = function (output, context) {
5293
5309
  return {
5294
5310
  approvedAt: output.approvedAt !== undefined && output.approvedAt !== null
5295
- ? new Date(Math.round(output.approvedAt * 1000))
5311
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.approvedAt)))
5296
5312
  : undefined,
5297
5313
  };
5298
5314
  };
@@ -5535,7 +5551,7 @@ var deserializeAws_json1_1TransitionState = function (output, context) {
5535
5551
  disabledReason: __expectString(output.disabledReason),
5536
5552
  enabled: __expectBoolean(output.enabled),
5537
5553
  lastChangedAt: output.lastChangedAt !== undefined && output.lastChangedAt !== null
5538
- ? new Date(Math.round(output.lastChangedAt * 1000))
5554
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastChangedAt)))
5539
5555
  : undefined,
5540
5556
  lastChangedBy: __expectString(output.lastChangedBy),
5541
5557
  };