@aws-sdk/client-service-catalog 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.
@@ -76,8 +76,7 @@ var partitionHash = {
76
76
  };
77
77
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
78
78
  return __generator(this, function (_a) {
79
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "servicecatalog", regionHash: regionHash,
80
- partitionHash: partitionHash }))];
79
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "servicecatalog", regionHash: regionHash, partitionHash: partitionHash }))];
81
80
  });
82
81
  }); };
83
82
  //# 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,gBAAgB,EAAE;QAChB,QAAQ,EAAE,6CAA6C;QACvD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,6CAA6C;QACvD,aAAa,EAAE,WAAW;KAC3B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,iDAAiD;QAC3D,aAAa,EAAE,eAAe;KAC/B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,iDAAiD;QAC3D,aAAa,EAAE,eAAe;KAC/B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,6CAA6C;QACvD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,6CAA6C;QACvD,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,g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KACV,cAAc,EAAE,gBAAgB,EAChC,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-catalog",
3
3
  "description": "AWS SDK for JavaScript Service Catalog 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_1AcceptPortfolioShareCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
6
6
  var headers, body;
@@ -8366,7 +8366,7 @@ var deserializeAws_json1_1PortfolioDetail = function (output, context) {
8366
8366
  return {
8367
8367
  ARN: __expectString(output.ARN),
8368
8368
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8369
- ? new Date(Math.round(output.CreatedTime * 1000))
8369
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8370
8370
  : undefined,
8371
8371
  Description: __expectString(output.Description),
8372
8372
  DisplayName: __expectString(output.DisplayName),
@@ -8430,7 +8430,7 @@ var deserializeAws_json1_1ProductViewAggregations = function (output, context) {
8430
8430
  };
8431
8431
  var deserializeAws_json1_1ProductViewAggregationValue = function (output, context) {
8432
8432
  return {
8433
- ApproximateCount: __expectInt(output.ApproximateCount),
8433
+ ApproximateCount: __expectInt32(output.ApproximateCount),
8434
8434
  Value: __expectString(output.Value),
8435
8435
  };
8436
8436
  };
@@ -8447,7 +8447,7 @@ var deserializeAws_json1_1ProductViewAggregationValues = function (output, conte
8447
8447
  var deserializeAws_json1_1ProductViewDetail = function (output, context) {
8448
8448
  return {
8449
8449
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8450
- ? new Date(Math.round(output.CreatedTime * 1000))
8450
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8451
8451
  : undefined,
8452
8452
  ProductARN: __expectString(output.ProductARN),
8453
8453
  ProductViewSummary: output.ProductViewSummary !== undefined && output.ProductViewSummary !== null
@@ -8495,7 +8495,7 @@ var deserializeAws_json1_1ProvisionedProductAttribute = function (output, contex
8495
8495
  return {
8496
8496
  Arn: __expectString(output.Arn),
8497
8497
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8498
- ? new Date(Math.round(output.CreatedTime * 1000))
8498
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8499
8499
  : undefined,
8500
8500
  Id: __expectString(output.Id),
8501
8501
  IdempotencyToken: __expectString(output.IdempotencyToken),
@@ -8530,7 +8530,7 @@ var deserializeAws_json1_1ProvisionedProductDetail = function (output, context)
8530
8530
  return {
8531
8531
  Arn: __expectString(output.Arn),
8532
8532
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8533
- ? new Date(Math.round(output.CreatedTime * 1000))
8533
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8534
8534
  : undefined,
8535
8535
  Id: __expectString(output.Id),
8536
8536
  IdempotencyToken: __expectString(output.IdempotencyToken),
@@ -8559,7 +8559,7 @@ var deserializeAws_json1_1ProvisionedProductDetails = function (output, context)
8559
8559
  var deserializeAws_json1_1ProvisionedProductPlanDetails = function (output, context) {
8560
8560
  return {
8561
8561
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8562
- ? new Date(Math.round(output.CreatedTime * 1000))
8562
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8563
8563
  : undefined,
8564
8564
  NotificationArns: output.NotificationArns !== undefined && output.NotificationArns !== null
8565
8565
  ? deserializeAws_json1_1NotificationArns(output.NotificationArns, context)
@@ -8579,7 +8579,7 @@ var deserializeAws_json1_1ProvisionedProductPlanDetails = function (output, cont
8579
8579
  StatusMessage: __expectString(output.StatusMessage),
8580
8580
  Tags: output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
8581
8581
  UpdatedTime: output.UpdatedTime !== undefined && output.UpdatedTime !== null
8582
- ? new Date(Math.round(output.UpdatedTime * 1000))
8582
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
8583
8583
  : undefined,
8584
8584
  };
8585
8585
  };
@@ -8616,7 +8616,7 @@ var deserializeAws_json1_1ProvisionedProductProperties = function (output, conte
8616
8616
  var deserializeAws_json1_1ProvisioningArtifact = function (output, context) {
8617
8617
  return {
8618
8618
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8619
- ? new Date(Math.round(output.CreatedTime * 1000))
8619
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8620
8620
  : undefined,
8621
8621
  Description: __expectString(output.Description),
8622
8622
  Guidance: __expectString(output.Guidance),
@@ -8628,7 +8628,7 @@ var deserializeAws_json1_1ProvisioningArtifactDetail = function (output, context
8628
8628
  return {
8629
8629
  Active: __expectBoolean(output.Active),
8630
8630
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8631
- ? new Date(Math.round(output.CreatedTime * 1000))
8631
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8632
8632
  : undefined,
8633
8633
  Description: __expectString(output.Description),
8634
8634
  Guidance: __expectString(output.Guidance),
@@ -8728,7 +8728,7 @@ var deserializeAws_json1_1ProvisioningArtifactSummaries = function (output, cont
8728
8728
  var deserializeAws_json1_1ProvisioningArtifactSummary = function (output, context) {
8729
8729
  return {
8730
8730
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8731
- ? new Date(Math.round(output.CreatedTime * 1000))
8731
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8732
8732
  : undefined,
8733
8733
  Description: __expectString(output.Description),
8734
8734
  Id: __expectString(output.Id),
@@ -8768,7 +8768,7 @@ var deserializeAws_json1_1ProvisionProductOutput = function (output, context) {
8768
8768
  var deserializeAws_json1_1RecordDetail = function (output, context) {
8769
8769
  return {
8770
8770
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8771
- ? new Date(Math.round(output.CreatedTime * 1000))
8771
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8772
8772
  : undefined,
8773
8773
  LaunchRoleArn: __expectString(output.LaunchRoleArn),
8774
8774
  PathId: __expectString(output.PathId),
@@ -8787,7 +8787,7 @@ var deserializeAws_json1_1RecordDetail = function (output, context) {
8787
8787
  RecordType: __expectString(output.RecordType),
8788
8788
  Status: __expectString(output.Status),
8789
8789
  UpdatedTime: output.UpdatedTime !== undefined && output.UpdatedTime !== null
8790
- ? new Date(Math.round(output.UpdatedTime * 1000))
8790
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
8791
8791
  : undefined,
8792
8792
  };
8793
8793
  };
@@ -8901,7 +8901,7 @@ var deserializeAws_json1_1ResourceDetail = function (output, context) {
8901
8901
  return {
8902
8902
  ARN: __expectString(output.ARN),
8903
8903
  CreatedTime: output.CreatedTime !== undefined && output.CreatedTime !== null
8904
- ? new Date(Math.round(output.CreatedTime * 1000))
8904
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
8905
8905
  : undefined,
8906
8906
  Description: __expectString(output.Description),
8907
8907
  Id: __expectString(output.Id),
@@ -8978,7 +8978,7 @@ var deserializeAws_json1_1SearchProvisionedProductsOutput = function (output, co
8978
8978
  ProvisionedProducts: output.ProvisionedProducts !== undefined && output.ProvisionedProducts !== null
8979
8979
  ? deserializeAws_json1_1ProvisionedProductAttributes(output.ProvisionedProducts, context)
8980
8980
  : undefined,
8981
- TotalResultsCount: __expectInt(output.TotalResultsCount),
8981
+ TotalResultsCount: __expectInt32(output.TotalResultsCount),
8982
8982
  };
8983
8983
  };
8984
8984
  var deserializeAws_json1_1ServiceActionDefinitionMap = function (output, context) {