@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.
package/package.json CHANGED
@@ -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"
@@ -518,8 +518,11 @@ import {
518
518
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
519
519
  import {
520
520
  expectBoolean as __expectBoolean,
521
- expectInt as __expectInt,
521
+ expectInt32 as __expectInt32,
522
+ expectNonNull as __expectNonNull,
523
+ expectNumber as __expectNumber,
522
524
  expectString as __expectString,
525
+ parseEpochTimestamp as __parseEpochTimestamp,
523
526
  } from "@aws-sdk/smithy-client";
524
527
  import {
525
528
  Endpoint as __Endpoint,
@@ -10173,7 +10176,7 @@ const deserializeAws_json1_1PortfolioDetail = (output: any, context: __SerdeCont
10173
10176
  ARN: __expectString(output.ARN),
10174
10177
  CreatedTime:
10175
10178
  output.CreatedTime !== undefined && output.CreatedTime !== null
10176
- ? new Date(Math.round(output.CreatedTime * 1000))
10179
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10177
10180
  : undefined,
10178
10181
  Description: __expectString(output.Description),
10179
10182
  DisplayName: __expectString(output.DisplayName),
@@ -10254,7 +10257,7 @@ const deserializeAws_json1_1ProductViewAggregationValue = (
10254
10257
  context: __SerdeContext
10255
10258
  ): ProductViewAggregationValue => {
10256
10259
  return {
10257
- ApproximateCount: __expectInt(output.ApproximateCount),
10260
+ ApproximateCount: __expectInt32(output.ApproximateCount),
10258
10261
  Value: __expectString(output.Value),
10259
10262
  } as any;
10260
10263
  };
@@ -10277,7 +10280,7 @@ const deserializeAws_json1_1ProductViewDetail = (output: any, context: __SerdeCo
10277
10280
  return {
10278
10281
  CreatedTime:
10279
10282
  output.CreatedTime !== undefined && output.CreatedTime !== null
10280
- ? new Date(Math.round(output.CreatedTime * 1000))
10283
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10281
10284
  : undefined,
10282
10285
  ProductARN: __expectString(output.ProductARN),
10283
10286
  ProductViewSummary:
@@ -10334,7 +10337,7 @@ const deserializeAws_json1_1ProvisionedProductAttribute = (
10334
10337
  Arn: __expectString(output.Arn),
10335
10338
  CreatedTime:
10336
10339
  output.CreatedTime !== undefined && output.CreatedTime !== null
10337
- ? new Date(Math.round(output.CreatedTime * 1000))
10340
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10338
10341
  : undefined,
10339
10342
  Id: __expectString(output.Id),
10340
10343
  IdempotencyToken: __expectString(output.IdempotencyToken),
@@ -10379,7 +10382,7 @@ const deserializeAws_json1_1ProvisionedProductDetail = (
10379
10382
  Arn: __expectString(output.Arn),
10380
10383
  CreatedTime:
10381
10384
  output.CreatedTime !== undefined && output.CreatedTime !== null
10382
- ? new Date(Math.round(output.CreatedTime * 1000))
10385
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10383
10386
  : undefined,
10384
10387
  Id: __expectString(output.Id),
10385
10388
  IdempotencyToken: __expectString(output.IdempotencyToken),
@@ -10417,7 +10420,7 @@ const deserializeAws_json1_1ProvisionedProductPlanDetails = (
10417
10420
  return {
10418
10421
  CreatedTime:
10419
10422
  output.CreatedTime !== undefined && output.CreatedTime !== null
10420
- ? new Date(Math.round(output.CreatedTime * 1000))
10423
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10421
10424
  : undefined,
10422
10425
  NotificationArns:
10423
10426
  output.NotificationArns !== undefined && output.NotificationArns !== null
@@ -10441,7 +10444,7 @@ const deserializeAws_json1_1ProvisionedProductPlanDetails = (
10441
10444
  output.Tags !== undefined && output.Tags !== null ? deserializeAws_json1_1Tags(output.Tags, context) : undefined,
10442
10445
  UpdatedTime:
10443
10446
  output.UpdatedTime !== undefined && output.UpdatedTime !== null
10444
- ? new Date(Math.round(output.UpdatedTime * 1000))
10447
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
10445
10448
  : undefined,
10446
10449
  } as any;
10447
10450
  };
@@ -10493,7 +10496,7 @@ const deserializeAws_json1_1ProvisioningArtifact = (output: any, context: __Serd
10493
10496
  return {
10494
10497
  CreatedTime:
10495
10498
  output.CreatedTime !== undefined && output.CreatedTime !== null
10496
- ? new Date(Math.round(output.CreatedTime * 1000))
10499
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10497
10500
  : undefined,
10498
10501
  Description: __expectString(output.Description),
10499
10502
  Guidance: __expectString(output.Guidance),
@@ -10510,7 +10513,7 @@ const deserializeAws_json1_1ProvisioningArtifactDetail = (
10510
10513
  Active: __expectBoolean(output.Active),
10511
10514
  CreatedTime:
10512
10515
  output.CreatedTime !== undefined && output.CreatedTime !== null
10513
- ? new Date(Math.round(output.CreatedTime * 1000))
10516
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10514
10517
  : undefined,
10515
10518
  Description: __expectString(output.Description),
10516
10519
  Guidance: __expectString(output.Guidance),
@@ -10652,7 +10655,7 @@ const deserializeAws_json1_1ProvisioningArtifactSummary = (
10652
10655
  return {
10653
10656
  CreatedTime:
10654
10657
  output.CreatedTime !== undefined && output.CreatedTime !== null
10655
- ? new Date(Math.round(output.CreatedTime * 1000))
10658
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10656
10659
  : undefined,
10657
10660
  Description: __expectString(output.Description),
10658
10661
  Id: __expectString(output.Id),
@@ -10707,7 +10710,7 @@ const deserializeAws_json1_1RecordDetail = (output: any, context: __SerdeContext
10707
10710
  return {
10708
10711
  CreatedTime:
10709
10712
  output.CreatedTime !== undefined && output.CreatedTime !== null
10710
- ? new Date(Math.round(output.CreatedTime * 1000))
10713
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10711
10714
  : undefined,
10712
10715
  LaunchRoleArn: __expectString(output.LaunchRoleArn),
10713
10716
  PathId: __expectString(output.PathId),
@@ -10729,7 +10732,7 @@ const deserializeAws_json1_1RecordDetail = (output: any, context: __SerdeContext
10729
10732
  Status: __expectString(output.Status),
10730
10733
  UpdatedTime:
10731
10734
  output.UpdatedTime !== undefined && output.UpdatedTime !== null
10732
- ? new Date(Math.round(output.UpdatedTime * 1000))
10735
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.UpdatedTime)))
10733
10736
  : undefined,
10734
10737
  } as any;
10735
10738
  };
@@ -10863,7 +10866,7 @@ const deserializeAws_json1_1ResourceDetail = (output: any, context: __SerdeConte
10863
10866
  ARN: __expectString(output.ARN),
10864
10867
  CreatedTime:
10865
10868
  output.CreatedTime !== undefined && output.CreatedTime !== null
10866
- ? new Date(Math.round(output.CreatedTime * 1000))
10869
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedTime)))
10867
10870
  : undefined,
10868
10871
  Description: __expectString(output.Description),
10869
10872
  Id: __expectString(output.Id),
@@ -10969,7 +10972,7 @@ const deserializeAws_json1_1SearchProvisionedProductsOutput = (
10969
10972
  output.ProvisionedProducts !== undefined && output.ProvisionedProducts !== null
10970
10973
  ? deserializeAws_json1_1ProvisionedProductAttributes(output.ProvisionedProducts, context)
10971
10974
  : undefined,
10972
- TotalResultsCount: __expectInt(output.TotalResultsCount),
10975
+ TotalResultsCount: __expectInt32(output.TotalResultsCount),
10973
10976
  } as any;
10974
10977
  };
10975
10978