@aws-sdk/client-license-manager 3.926.0 → 3.928.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
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.licensemanager",
32
+ serviceTarget: "AWSLicenseManager",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "License Manager",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class LicenseManagerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -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_AcceptGrantCommand, se_AcceptGrantCommand } from "../protocols/Aws_json1_1";
4
+ import { AcceptGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class AcceptGrantCommand 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", "AcceptGrant", {})
17
13
  .n("LicenseManagerClient", "AcceptGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_AcceptGrantCommand)
20
- .de(de_AcceptGrantCommand)
14
+ .sc(AcceptGrant)
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_CheckInLicenseCommand, se_CheckInLicenseCommand } from "../protocols/Aws_json1_1";
4
+ import { CheckInLicense } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CheckInLicenseCommand 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", "CheckInLicense", {})
17
13
  .n("LicenseManagerClient", "CheckInLicenseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CheckInLicenseCommand)
20
- .de(de_CheckInLicenseCommand)
14
+ .sc(CheckInLicense)
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_CheckoutBorrowLicenseCommand, se_CheckoutBorrowLicenseCommand } from "../protocols/Aws_json1_1";
4
+ import { CheckoutBorrowLicense } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CheckoutBorrowLicenseCommand 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", "CheckoutBorrowLicense", {})
17
13
  .n("LicenseManagerClient", "CheckoutBorrowLicenseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CheckoutBorrowLicenseCommand)
20
- .de(de_CheckoutBorrowLicenseCommand)
14
+ .sc(CheckoutBorrowLicense)
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_CheckoutLicenseCommand, se_CheckoutLicenseCommand } from "../protocols/Aws_json1_1";
4
+ import { CheckoutLicense } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CheckoutLicenseCommand 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", "CheckoutLicense", {})
17
13
  .n("LicenseManagerClient", "CheckoutLicenseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CheckoutLicenseCommand)
20
- .de(de_CheckoutLicenseCommand)
14
+ .sc(CheckoutLicense)
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_CreateGrantCommand, se_CreateGrantCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGrantCommand 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", "CreateGrant", {})
17
13
  .n("LicenseManagerClient", "CreateGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGrantCommand)
20
- .de(de_CreateGrantCommand)
14
+ .sc(CreateGrant)
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_CreateGrantVersionCommand, se_CreateGrantVersionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateGrantVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateGrantVersionCommand 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", "CreateGrantVersion", {})
17
13
  .n("LicenseManagerClient", "CreateGrantVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateGrantVersionCommand)
20
- .de(de_CreateGrantVersionCommand)
14
+ .sc(CreateGrantVersion)
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_CreateLicenseCommand, se_CreateLicenseCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLicense } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLicenseCommand 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", "CreateLicense", {})
17
13
  .n("LicenseManagerClient", "CreateLicenseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLicenseCommand)
20
- .de(de_CreateLicenseCommand)
14
+ .sc(CreateLicense)
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_CreateLicenseConfigurationCommand, se_CreateLicenseConfigurationCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLicenseConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLicenseConfigurationCommand 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", "CreateLicenseConfiguration", {})
17
13
  .n("LicenseManagerClient", "CreateLicenseConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLicenseConfigurationCommand)
20
- .de(de_CreateLicenseConfigurationCommand)
14
+ .sc(CreateLicenseConfiguration)
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_CreateLicenseConversionTaskForResourceCommand, se_CreateLicenseConversionTaskForResourceCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateLicenseConversionTaskForResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLicenseConversionTaskForResourceCommand 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", "CreateLicenseConversionTaskForResource", {})
17
13
  .n("LicenseManagerClient", "CreateLicenseConversionTaskForResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLicenseConversionTaskForResourceCommand)
20
- .de(de_CreateLicenseConversionTaskForResourceCommand)
14
+ .sc(CreateLicenseConversionTaskForResource)
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_CreateLicenseManagerReportGeneratorCommand, se_CreateLicenseManagerReportGeneratorCommand, } from "../protocols/Aws_json1_1";
4
+ import { CreateLicenseManagerReportGenerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLicenseManagerReportGeneratorCommand 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", "CreateLicenseManagerReportGenerator", {})
17
13
  .n("LicenseManagerClient", "CreateLicenseManagerReportGeneratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLicenseManagerReportGeneratorCommand)
20
- .de(de_CreateLicenseManagerReportGeneratorCommand)
14
+ .sc(CreateLicenseManagerReportGenerator)
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_CreateLicenseVersionCommand, se_CreateLicenseVersionCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateLicenseVersion } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateLicenseVersionCommand 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", "CreateLicenseVersion", {})
17
13
  .n("LicenseManagerClient", "CreateLicenseVersionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateLicenseVersionCommand)
20
- .de(de_CreateLicenseVersionCommand)
14
+ .sc(CreateLicenseVersion)
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_CreateTokenCommand, se_CreateTokenCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateTokenCommand 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", "CreateToken", {})
17
13
  .n("LicenseManagerClient", "CreateTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateTokenCommand)
20
- .de(de_CreateTokenCommand)
14
+ .sc(CreateToken)
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_DeleteGrantCommand, se_DeleteGrantCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteGrantCommand 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", "DeleteGrant", {})
17
13
  .n("LicenseManagerClient", "DeleteGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteGrantCommand)
20
- .de(de_DeleteGrantCommand)
14
+ .sc(DeleteGrant)
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_DeleteLicenseCommand, se_DeleteLicenseCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLicense } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLicenseCommand 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", "DeleteLicense", {})
17
13
  .n("LicenseManagerClient", "DeleteLicenseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLicenseCommand)
20
- .de(de_DeleteLicenseCommand)
14
+ .sc(DeleteLicense)
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_DeleteLicenseConfigurationCommand, se_DeleteLicenseConfigurationCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteLicenseConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLicenseConfigurationCommand 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", "DeleteLicenseConfiguration", {})
17
13
  .n("LicenseManagerClient", "DeleteLicenseConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLicenseConfigurationCommand)
20
- .de(de_DeleteLicenseConfigurationCommand)
14
+ .sc(DeleteLicenseConfiguration)
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_DeleteLicenseManagerReportGeneratorCommand, se_DeleteLicenseManagerReportGeneratorCommand, } from "../protocols/Aws_json1_1";
4
+ import { DeleteLicenseManagerReportGenerator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteLicenseManagerReportGeneratorCommand 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", "DeleteLicenseManagerReportGenerator", {})
17
13
  .n("LicenseManagerClient", "DeleteLicenseManagerReportGeneratorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteLicenseManagerReportGeneratorCommand)
20
- .de(de_DeleteLicenseManagerReportGeneratorCommand)
14
+ .sc(DeleteLicenseManagerReportGenerator)
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_DeleteTokenCommand, se_DeleteTokenCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteTokenCommand 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", "DeleteToken", {})
17
13
  .n("LicenseManagerClient", "DeleteTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteTokenCommand)
20
- .de(de_DeleteTokenCommand)
14
+ .sc(DeleteToken)
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_ExtendLicenseConsumptionCommand, se_ExtendLicenseConsumptionCommand } from "../protocols/Aws_json1_1";
4
+ import { ExtendLicenseConsumption } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ExtendLicenseConsumptionCommand 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", "ExtendLicenseConsumption", {})
17
13
  .n("LicenseManagerClient", "ExtendLicenseConsumptionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ExtendLicenseConsumptionCommand)
20
- .de(de_ExtendLicenseConsumptionCommand)
14
+ .sc(ExtendLicenseConsumption)
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_GetAccessTokenCommand, se_GetAccessTokenCommand } from "../protocols/Aws_json1_1";
4
+ import { GetAccessToken } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAccessTokenCommand 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", "GetAccessToken", {})
17
13
  .n("LicenseManagerClient", "GetAccessTokenCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAccessTokenCommand)
20
- .de(de_GetAccessTokenCommand)
14
+ .sc(GetAccessToken)
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_GetGrantCommand, se_GetGrantCommand } from "../protocols/Aws_json1_1";
4
+ import { GetGrant } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetGrantCommand 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", "GetGrant", {})
17
13
  .n("LicenseManagerClient", "GetGrantCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetGrantCommand)
20
- .de(de_GetGrantCommand)
14
+ .sc(GetGrant)
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_GetLicenseCommand, se_GetLicenseCommand } from "../protocols/Aws_json1_1";
4
+ import { GetLicense } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLicenseCommand 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", "GetLicense", {})
17
13
  .n("LicenseManagerClient", "GetLicenseCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLicenseCommand)
20
- .de(de_GetLicenseCommand)
14
+ .sc(GetLicense)
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_GetLicenseConfigurationCommand, se_GetLicenseConfigurationCommand } from "../protocols/Aws_json1_1";
4
+ import { GetLicenseConfiguration } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetLicenseConfigurationCommand 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", "GetLicenseConfiguration", {})
17
13
  .n("LicenseManagerClient", "GetLicenseConfigurationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetLicenseConfigurationCommand)
20
- .de(de_GetLicenseConfigurationCommand)
14
+ .sc(GetLicenseConfiguration)
21
15
  .build() {
22
16
  }