@aws-sdk/client-license-manager 3.927.0 → 3.929.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.
Files changed (71) hide show
  1. package/dist-cjs/index.js +1791 -1777
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/LicenseManagerClient.js +2 -0
  4. package/dist-es/commands/AcceptGrantCommand.js +3 -9
  5. package/dist-es/commands/CheckInLicenseCommand.js +3 -9
  6. package/dist-es/commands/CheckoutBorrowLicenseCommand.js +3 -9
  7. package/dist-es/commands/CheckoutLicenseCommand.js +3 -9
  8. package/dist-es/commands/CreateGrantCommand.js +3 -9
  9. package/dist-es/commands/CreateGrantVersionCommand.js +3 -9
  10. package/dist-es/commands/CreateLicenseCommand.js +3 -9
  11. package/dist-es/commands/CreateLicenseConfigurationCommand.js +3 -9
  12. package/dist-es/commands/CreateLicenseConversionTaskForResourceCommand.js +3 -9
  13. package/dist-es/commands/CreateLicenseManagerReportGeneratorCommand.js +3 -9
  14. package/dist-es/commands/CreateLicenseVersionCommand.js +3 -9
  15. package/dist-es/commands/CreateTokenCommand.js +3 -9
  16. package/dist-es/commands/DeleteGrantCommand.js +3 -9
  17. package/dist-es/commands/DeleteLicenseCommand.js +3 -9
  18. package/dist-es/commands/DeleteLicenseConfigurationCommand.js +3 -9
  19. package/dist-es/commands/DeleteLicenseManagerReportGeneratorCommand.js +3 -9
  20. package/dist-es/commands/DeleteTokenCommand.js +3 -9
  21. package/dist-es/commands/ExtendLicenseConsumptionCommand.js +3 -9
  22. package/dist-es/commands/GetAccessTokenCommand.js +3 -9
  23. package/dist-es/commands/GetGrantCommand.js +3 -9
  24. package/dist-es/commands/GetLicenseCommand.js +3 -9
  25. package/dist-es/commands/GetLicenseConfigurationCommand.js +3 -9
  26. package/dist-es/commands/GetLicenseConversionTaskCommand.js +3 -9
  27. package/dist-es/commands/GetLicenseManagerReportGeneratorCommand.js +3 -9
  28. package/dist-es/commands/GetLicenseUsageCommand.js +3 -9
  29. package/dist-es/commands/GetServiceSettingsCommand.js +3 -9
  30. package/dist-es/commands/ListAssociationsForLicenseConfigurationCommand.js +3 -9
  31. package/dist-es/commands/ListDistributedGrantsCommand.js +3 -9
  32. package/dist-es/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +3 -9
  33. package/dist-es/commands/ListLicenseConfigurationsCommand.js +3 -9
  34. package/dist-es/commands/ListLicenseConversionTasksCommand.js +3 -9
  35. package/dist-es/commands/ListLicenseManagerReportGeneratorsCommand.js +3 -9
  36. package/dist-es/commands/ListLicenseSpecificationsForResourceCommand.js +3 -9
  37. package/dist-es/commands/ListLicenseVersionsCommand.js +3 -9
  38. package/dist-es/commands/ListLicensesCommand.js +3 -9
  39. package/dist-es/commands/ListReceivedGrantsCommand.js +3 -9
  40. package/dist-es/commands/ListReceivedGrantsForOrganizationCommand.js +3 -9
  41. package/dist-es/commands/ListReceivedLicensesCommand.js +3 -9
  42. package/dist-es/commands/ListReceivedLicensesForOrganizationCommand.js +3 -9
  43. package/dist-es/commands/ListResourceInventoryCommand.js +3 -9
  44. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  45. package/dist-es/commands/ListTokensCommand.js +3 -9
  46. package/dist-es/commands/ListUsageForLicenseConfigurationCommand.js +3 -9
  47. package/dist-es/commands/RejectGrantCommand.js +3 -9
  48. package/dist-es/commands/TagResourceCommand.js +3 -9
  49. package/dist-es/commands/UntagResourceCommand.js +3 -9
  50. package/dist-es/commands/UpdateLicenseConfigurationCommand.js +3 -9
  51. package/dist-es/commands/UpdateLicenseManagerReportGeneratorCommand.js +3 -9
  52. package/dist-es/commands/UpdateLicenseSpecificationsForResourceCommand.js +3 -9
  53. package/dist-es/commands/UpdateServiceSettingsCommand.js +3 -9
  54. package/dist-es/runtimeConfig.shared.js +7 -0
  55. package/dist-es/schemas/schemas_0.js +1646 -0
  56. package/dist-types/LicenseManagerClient.d.ts +10 -1
  57. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  58. package/dist-types/runtimeConfig.d.ts +1 -0
  59. package/dist-types/runtimeConfig.native.d.ts +1 -0
  60. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  61. package/dist-types/schemas/schemas_0.d.ts +242 -0
  62. package/dist-types/ts3.4/LicenseManagerClient.d.ts +4 -0
  63. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  64. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  65. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  66. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  67. package/dist-types/ts3.4/schemas/schemas_0.d.ts +247 -0
  68. package/package.json +5 -5
  69. package/dist-es/protocols/Aws_json1_1.js +0 -1380
  70. package/dist-types/protocols/Aws_json1_1.d.ts +0 -452
  71. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -605
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSLicenseManager", "UntagResource", {})
17
13
  .n("LicenseManagerClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLicenseConfigurationCommand, se_UpdateLicenseConfigurationCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateLicenseConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLicenseConfigurationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSLicenseManager", "UpdateLicenseConfiguration", {})
17
13
  .n("LicenseManagerClient", "UpdateLicenseConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLicenseConfigurationCommand)
20
- .de(de_UpdateLicenseConfigurationCommand)
14
+ .sc(UpdateLicenseConfiguration)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLicenseManagerReportGeneratorCommand, se_UpdateLicenseManagerReportGeneratorCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateLicenseManagerReportGenerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLicenseManagerReportGeneratorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSLicenseManager", "UpdateLicenseManagerReportGenerator", {})
17
13
  .n("LicenseManagerClient", "UpdateLicenseManagerReportGeneratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLicenseManagerReportGeneratorCommand)
20
- .de(de_UpdateLicenseManagerReportGeneratorCommand)
14
+ .sc(UpdateLicenseManagerReportGenerator)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateLicenseSpecificationsForResourceCommand, se_UpdateLicenseSpecificationsForResourceCommand, } from "../protocols/Aws_json1_1";
4
+ import { UpdateLicenseSpecificationsForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateLicenseSpecificationsForResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSLicenseManager", "UpdateLicenseSpecificationsForResource", {})
17
13
  .n("LicenseManagerClient", "UpdateLicenseSpecificationsForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateLicenseSpecificationsForResourceCommand)
20
- .de(de_UpdateLicenseSpecificationsForResourceCommand)
14
+ .sc(UpdateLicenseSpecificationsForResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateServiceSettingsCommand, se_UpdateServiceSettingsCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateServiceSettings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateServiceSettingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AWSLicenseManager", "UpdateServiceSettings", {})
17
13
  .n("LicenseManagerClient", "UpdateServiceSettingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateServiceSettingsCommand)
20
- .de(de_UpdateServiceSettingsCommand)
14
+ .sc(UpdateServiceSettings)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsJson1_1Protocol({
28
+ defaultNamespace: "com.amazonaws.licensemanager",
29
+ serviceTarget: "AWSLicenseManager",
30
+ awsQueryCompatible: false,
31
+ }),
25
32
  serviceId: config?.serviceId ?? "License Manager",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,