@aws-sdk/client-license-manager 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: "license-manager", regionHash: regionHash,
80
- partitionHash: partitionHash }))];
79
+ return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "license-manager", 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,8CAA8C;QACxD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,8CAA8C;QACxD,aAAa,EAAE,WAAW;KAC3B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,kDAAkD;QAC5D,aAAa,EAAE,eAAe;KAC/B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,kDAAkD;QAC5D,aAAa,EAAE,eAAe;KAC/B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,8CAA8C;QACxD,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,8CAA8C;QACxD,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,gBAAgB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AAc,EAAE,iBAAiB,EACjC,UAAU,YAAA,EACV,aAAa,eAAA,IACb,EAAA;;KAAA,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-license-manager",
3
3
  "description": "AWS SDK for JavaScript License Manager 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,45 +27,45 @@
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
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/client-documentation-generator": "3.23.0",
61
+ "@aws-sdk/client-documentation-generator": "3.32.0",
62
62
  "@types/node": "^12.7.5",
63
63
  "downlevel-dts": "0.7.0",
64
64
  "jest": "^26.1.0",
65
65
  "rimraf": "^3.0.0",
66
66
  "ts-jest": "^26.4.1",
67
67
  "typedoc": "^0.19.2",
68
- "typescript": "~4.3.2"
68
+ "typescript": "~4.3.5"
69
69
  },
70
70
  "engines": {
71
71
  "node": ">=10.0.0"
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator } 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, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
4
4
  export var serializeAws_json1_1AcceptGrantCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
5
5
  var headers, body;
6
6
  return __generator(this, function (_a) {
@@ -5752,14 +5752,14 @@ var deserializeAws_json1_1AuthorizationException = function (output, context) {
5752
5752
  var deserializeAws_json1_1AutomatedDiscoveryInformation = function (output, context) {
5753
5753
  return {
5754
5754
  LastRunTime: output.LastRunTime !== undefined && output.LastRunTime !== null
5755
- ? new Date(Math.round(output.LastRunTime * 1000))
5755
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRunTime)))
5756
5756
  : undefined,
5757
5757
  };
5758
5758
  };
5759
5759
  var deserializeAws_json1_1BorrowConfiguration = function (output, context) {
5760
5760
  return {
5761
5761
  AllowEarlyCheckIn: __expectBoolean(output.AllowEarlyCheckIn),
5762
- MaxTimeToLiveInMinutes: __expectInt(output.MaxTimeToLiveInMinutes),
5762
+ MaxTimeToLiveInMinutes: __expectInt32(output.MaxTimeToLiveInMinutes),
5763
5763
  };
5764
5764
  };
5765
5765
  var deserializeAws_json1_1CheckInLicenseResponse = function (output, context) {
@@ -5801,7 +5801,7 @@ var deserializeAws_json1_1ConflictException = function (output, context) {
5801
5801
  };
5802
5802
  var deserializeAws_json1_1ConsumedLicenseSummary = function (output, context) {
5803
5803
  return {
5804
- ConsumedLicenses: __expectInt(output.ConsumedLicenses),
5804
+ ConsumedLicenses: __expectLong(output.ConsumedLicenses),
5805
5805
  ResourceType: __expectString(output.ResourceType),
5806
5806
  };
5807
5807
  };
@@ -5902,7 +5902,7 @@ var deserializeAws_json1_1DeleteTokenResponse = function (output, context) {
5902
5902
  var deserializeAws_json1_1Entitlement = function (output, context) {
5903
5903
  return {
5904
5904
  AllowCheckIn: __expectBoolean(output.AllowCheckIn),
5905
- MaxCount: __expectInt(output.MaxCount),
5905
+ MaxCount: __expectLong(output.MaxCount),
5906
5906
  Name: __expectString(output.Name),
5907
5907
  Overage: __expectBoolean(output.Overage),
5908
5908
  Unit: __expectString(output.Unit),
@@ -5996,12 +5996,12 @@ var deserializeAws_json1_1GetLicenseConfigurationResponse = function (output, co
5996
5996
  ConsumedLicenseSummaryList: output.ConsumedLicenseSummaryList !== undefined && output.ConsumedLicenseSummaryList !== null
5997
5997
  ? deserializeAws_json1_1ConsumedLicenseSummaryList(output.ConsumedLicenseSummaryList, context)
5998
5998
  : undefined,
5999
- ConsumedLicenses: __expectInt(output.ConsumedLicenses),
5999
+ ConsumedLicenses: __expectLong(output.ConsumedLicenses),
6000
6000
  Description: __expectString(output.Description),
6001
6001
  DisassociateWhenNotFound: __expectBoolean(output.DisassociateWhenNotFound),
6002
6002
  LicenseConfigurationArn: __expectString(output.LicenseConfigurationArn),
6003
6003
  LicenseConfigurationId: __expectString(output.LicenseConfigurationId),
6004
- LicenseCount: __expectInt(output.LicenseCount),
6004
+ LicenseCount: __expectLong(output.LicenseCount),
6005
6005
  LicenseCountHardLimit: __expectBoolean(output.LicenseCountHardLimit),
6006
6006
  LicenseCountingType: __expectString(output.LicenseCountingType),
6007
6007
  LicenseRules: output.LicenseRules !== undefined && output.LicenseRules !== null
@@ -6173,12 +6173,12 @@ var deserializeAws_json1_1LicenseConfiguration = function (output, context) {
6173
6173
  ConsumedLicenseSummaryList: output.ConsumedLicenseSummaryList !== undefined && output.ConsumedLicenseSummaryList !== null
6174
6174
  ? deserializeAws_json1_1ConsumedLicenseSummaryList(output.ConsumedLicenseSummaryList, context)
6175
6175
  : undefined,
6176
- ConsumedLicenses: __expectInt(output.ConsumedLicenses),
6176
+ ConsumedLicenses: __expectLong(output.ConsumedLicenses),
6177
6177
  Description: __expectString(output.Description),
6178
6178
  DisassociateWhenNotFound: __expectBoolean(output.DisassociateWhenNotFound),
6179
6179
  LicenseConfigurationArn: __expectString(output.LicenseConfigurationArn),
6180
6180
  LicenseConfigurationId: __expectString(output.LicenseConfigurationId),
6181
- LicenseCount: __expectInt(output.LicenseCount),
6181
+ LicenseCount: __expectLong(output.LicenseCount),
6182
6182
  LicenseCountHardLimit: __expectBoolean(output.LicenseCountHardLimit),
6183
6183
  LicenseCountingType: __expectString(output.LicenseCountingType),
6184
6184
  LicenseRules: output.LicenseRules !== undefined && output.LicenseRules !== null
@@ -6199,7 +6199,7 @@ var deserializeAws_json1_1LicenseConfigurationAssociation = function (output, co
6199
6199
  return {
6200
6200
  AmiAssociationScope: __expectString(output.AmiAssociationScope),
6201
6201
  AssociationTime: output.AssociationTime !== undefined && output.AssociationTime !== null
6202
- ? new Date(Math.round(output.AssociationTime * 1000))
6202
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AssociationTime)))
6203
6203
  : undefined,
6204
6204
  ResourceArn: __expectString(output.ResourceArn),
6205
6205
  ResourceOwnerId: __expectString(output.ResourceOwnerId),
@@ -6229,9 +6229,9 @@ var deserializeAws_json1_1LicenseConfigurations = function (output, context) {
6229
6229
  var deserializeAws_json1_1LicenseConfigurationUsage = function (output, context) {
6230
6230
  return {
6231
6231
  AssociationTime: output.AssociationTime !== undefined && output.AssociationTime !== null
6232
- ? new Date(Math.round(output.AssociationTime * 1000))
6232
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.AssociationTime)))
6233
6233
  : undefined,
6234
- ConsumedLicenses: __expectInt(output.ConsumedLicenses),
6234
+ ConsumedLicenses: __expectLong(output.ConsumedLicenses),
6235
6235
  ResourceArn: __expectString(output.ResourceArn),
6236
6236
  ResourceOwnerId: __expectString(output.ResourceOwnerId),
6237
6237
  ResourceStatus: __expectString(output.ResourceStatus),
@@ -6262,7 +6262,7 @@ var deserializeAws_json1_1LicenseOperationFailure = function (output, context) {
6262
6262
  return {
6263
6263
  ErrorMessage: __expectString(output.ErrorMessage),
6264
6264
  FailureTime: output.FailureTime !== undefined && output.FailureTime !== null
6265
- ? new Date(Math.round(output.FailureTime * 1000))
6265
+ ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.FailureTime)))
6266
6266
  : undefined,
6267
6267
  MetadataList: output.MetadataList !== undefined && output.MetadataList !== null
6268
6268
  ? deserializeAws_json1_1MetadataList(output.MetadataList, context)
@@ -6425,7 +6425,7 @@ var deserializeAws_json1_1ListUsageForLicenseConfigurationResponse = function (o
6425
6425
  };
6426
6426
  var deserializeAws_json1_1ManagedResourceSummary = function (output, context) {
6427
6427
  return {
6428
- AssociationCount: __expectInt(output.AssociationCount),
6428
+ AssociationCount: __expectLong(output.AssociationCount),
6429
6429
  ResourceType: __expectString(output.ResourceType),
6430
6430
  };
6431
6431
  };
@@ -6514,7 +6514,7 @@ var deserializeAws_json1_1ProductInformationList = function (output, context) {
6514
6514
  };
6515
6515
  var deserializeAws_json1_1ProvisionalConfiguration = function (output, context) {
6516
6516
  return {
6517
- MaxTimeToLiveInMinutes: __expectInt(output.MaxTimeToLiveInMinutes),
6517
+ MaxTimeToLiveInMinutes: __expectInt32(output.MaxTimeToLiveInMinutes),
6518
6518
  };
6519
6519
  };
6520
6520
  var deserializeAws_json1_1RateLimitExceededException = function (output, context) {
@@ -6554,7 +6554,7 @@ var deserializeAws_json1_1ReportContext = function (output, context) {
6554
6554
  var deserializeAws_json1_1ReportFrequency = function (output, context) {
6555
6555
  return {
6556
6556
  period: __expectString(output.period),
6557
- value: __expectInt(output.value),
6557
+ value: __expectInt32(output.value),
6558
6558
  };
6559
6559
  };
6560
6560
  var deserializeAws_json1_1ReportGenerator = function (output, context) {