@aws-sdk/client-license-manager 3.36.0 → 3.36.1

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 (113) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/LicenseManager.js +0 -4
  3. package/dist-cjs/LicenseManagerClient.js +0 -9
  4. package/dist-cjs/commands/AcceptGrantCommand.js +0 -24
  5. package/dist-cjs/commands/CheckInLicenseCommand.js +0 -24
  6. package/dist-cjs/commands/CheckoutBorrowLicenseCommand.js +0 -24
  7. package/dist-cjs/commands/CheckoutLicenseCommand.js +0 -24
  8. package/dist-cjs/commands/CreateGrantCommand.js +0 -24
  9. package/dist-cjs/commands/CreateGrantVersionCommand.js +0 -24
  10. package/dist-cjs/commands/CreateLicenseCommand.js +0 -24
  11. package/dist-cjs/commands/CreateLicenseConfigurationCommand.js +0 -29
  12. package/dist-cjs/commands/CreateLicenseConversionTaskForResourceCommand.js +0 -24
  13. package/dist-cjs/commands/CreateLicenseManagerReportGeneratorCommand.js +0 -24
  14. package/dist-cjs/commands/CreateLicenseVersionCommand.js +0 -24
  15. package/dist-cjs/commands/CreateTokenCommand.js +0 -27
  16. package/dist-cjs/commands/DeleteGrantCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteLicenseCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteLicenseConfigurationCommand.js +0 -25
  19. package/dist-cjs/commands/DeleteLicenseManagerReportGeneratorCommand.js +0 -26
  20. package/dist-cjs/commands/DeleteTokenCommand.js +0 -24
  21. package/dist-cjs/commands/ExtendLicenseConsumptionCommand.js +0 -24
  22. package/dist-cjs/commands/GetAccessTokenCommand.js +0 -25
  23. package/dist-cjs/commands/GetGrantCommand.js +0 -24
  24. package/dist-cjs/commands/GetLicenseCommand.js +0 -24
  25. package/dist-cjs/commands/GetLicenseConfigurationCommand.js +0 -24
  26. package/dist-cjs/commands/GetLicenseConversionTaskCommand.js +0 -24
  27. package/dist-cjs/commands/GetLicenseManagerReportGeneratorCommand.js +0 -24
  28. package/dist-cjs/commands/GetLicenseUsageCommand.js +0 -24
  29. package/dist-cjs/commands/GetServiceSettingsCommand.js +0 -24
  30. package/dist-cjs/commands/ListAssociationsForLicenseConfigurationCommand.js +0 -27
  31. package/dist-cjs/commands/ListDistributedGrantsCommand.js +0 -24
  32. package/dist-cjs/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +0 -24
  33. package/dist-cjs/commands/ListLicenseConfigurationsCommand.js +0 -24
  34. package/dist-cjs/commands/ListLicenseConversionTasksCommand.js +0 -24
  35. package/dist-cjs/commands/ListLicenseManagerReportGeneratorsCommand.js +0 -24
  36. package/dist-cjs/commands/ListLicenseSpecificationsForResourceCommand.js +0 -24
  37. package/dist-cjs/commands/ListLicenseVersionsCommand.js +0 -24
  38. package/dist-cjs/commands/ListLicensesCommand.js +0 -24
  39. package/dist-cjs/commands/ListReceivedGrantsCommand.js +0 -24
  40. package/dist-cjs/commands/ListReceivedLicensesCommand.js +0 -24
  41. package/dist-cjs/commands/ListResourceInventoryCommand.js +0 -24
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
  43. package/dist-cjs/commands/ListTokensCommand.js +0 -24
  44. package/dist-cjs/commands/ListUsageForLicenseConfigurationCommand.js +0 -26
  45. package/dist-cjs/commands/RejectGrantCommand.js +0 -24
  46. package/dist-cjs/commands/TagResourceCommand.js +0 -24
  47. package/dist-cjs/commands/UntagResourceCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateLicenseConfigurationCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateLicenseManagerReportGeneratorCommand.js +0 -25
  50. package/dist-cjs/commands/UpdateLicenseSpecificationsForResourceCommand.js +0 -27
  51. package/dist-cjs/commands/UpdateServiceSettingsCommand.js +0 -24
  52. package/dist-cjs/models/models_0.js +0 -450
  53. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  54. package/dist-cjs/runtimeConfig.browser.js +1 -5
  55. package/dist-cjs/runtimeConfig.js +1 -5
  56. package/dist-cjs/runtimeConfig.native.js +0 -3
  57. package/dist-cjs/runtimeConfig.shared.js +0 -3
  58. package/dist-types/ts3.4/LicenseManager.d.ts +49 -169
  59. package/dist-types/ts3.4/LicenseManagerClient.d.ts +24 -90
  60. package/dist-types/ts3.4/commands/AcceptGrantCommand.d.ts +2 -20
  61. package/dist-types/ts3.4/commands/CheckInLicenseCommand.d.ts +2 -20
  62. package/dist-types/ts3.4/commands/CheckoutBorrowLicenseCommand.d.ts +2 -20
  63. package/dist-types/ts3.4/commands/CheckoutLicenseCommand.d.ts +2 -20
  64. package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +2 -20
  65. package/dist-types/ts3.4/commands/CreateGrantVersionCommand.d.ts +2 -20
  66. package/dist-types/ts3.4/commands/CreateLicenseCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +2 -25
  68. package/dist-types/ts3.4/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +2 -20
  69. package/dist-types/ts3.4/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/CreateLicenseVersionCommand.d.ts +2 -20
  71. package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +2 -23
  72. package/dist-types/ts3.4/commands/DeleteGrantCommand.d.ts +2 -20
  73. package/dist-types/ts3.4/commands/DeleteLicenseCommand.d.ts +2 -20
  74. package/dist-types/ts3.4/commands/DeleteLicenseConfigurationCommand.d.ts +2 -21
  75. package/dist-types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +2 -22
  76. package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/ExtendLicenseConsumptionCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +2 -21
  79. package/dist-types/ts3.4/commands/GetGrantCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/GetLicenseCommand.d.ts +2 -20
  81. package/dist-types/ts3.4/commands/GetLicenseConfigurationCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/GetLicenseConversionTaskCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/GetLicenseManagerReportGeneratorCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/GetLicenseUsageCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/GetServiceSettingsCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +2 -23
  87. package/dist-types/ts3.4/commands/ListDistributedGrantsCommand.d.ts +2 -20
  88. package/dist-types/ts3.4/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/ListLicenseConfigurationsCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/ListLicenseConversionTasksCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/ListLicenseSpecificationsForResourceCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/ListLicenseVersionsCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/ListLicensesCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/ListReceivedGrantsCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/ListReceivedLicensesCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/ListResourceInventoryCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/ListTokensCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +2 -22
  101. package/dist-types/ts3.4/commands/RejectGrantCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/UpdateLicenseConfigurationCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +2 -23
  107. package/dist-types/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/models/models_0.d.ts +657 -2315
  109. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  110. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  111. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  112. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  113. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -50,10 +50,6 @@ const UpdateLicenseManagerReportGeneratorCommand_1 = require("./commands/UpdateL
50
50
  const UpdateLicenseSpecificationsForResourceCommand_1 = require("./commands/UpdateLicenseSpecificationsForResourceCommand");
51
51
  const UpdateServiceSettingsCommand_1 = require("./commands/UpdateServiceSettingsCommand");
52
52
  const LicenseManagerClient_1 = require("./LicenseManagerClient");
53
- /**
54
- * <p>License Manager makes it easier to manage licenses from software vendors across multiple
55
- * Amazon Web Services accounts and on-premises servers.</p>
56
- */
57
53
  class LicenseManager extends LicenseManagerClient_1.LicenseManagerClient {
58
54
  acceptGrant(args, optionsOrCb, cb) {
59
55
  const command = new AcceptGrantCommand_1.AcceptGrantCommand(args);
@@ -10,10 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>License Manager makes it easier to manage licenses from software vendors across multiple
15
- * Amazon Web Services accounts and on-premises servers.</p>
16
- */
17
13
  class LicenseManagerClient extends smithy_client_1.Client {
18
14
  constructor(configuration) {
19
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -32,11 +28,6 @@ class LicenseManagerClient extends smithy_client_1.Client {
32
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
33
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
34
30
  }
35
- /**
36
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
37
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
38
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
39
- */
40
31
  destroy() {
41
32
  super.destroy();
42
33
  }
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Accepts the specified grant.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, AcceptGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, AcceptGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new AcceptGrantCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AcceptGrantCommandInput} for command's `input` shape.
21
- * @see {@link AcceptGrantCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AcceptGrantCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Checks in the specified license. Check in a license when it is no longer in use.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CheckInLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CheckInLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CheckInLicenseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CheckInLicenseCommandInput} for command's `input` shape.
21
- * @see {@link CheckInLicenseCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CheckInLicenseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Checks out the specified license for offline use.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CheckoutBorrowLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CheckoutBorrowLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CheckoutBorrowLicenseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CheckoutBorrowLicenseCommandInput} for command's `input` shape.
21
- * @see {@link CheckoutBorrowLicenseCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CheckoutBorrowLicenseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Checks out the specified license.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CheckoutLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CheckoutLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CheckoutLicenseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CheckoutLicenseCommandInput} for command's `input` shape.
21
- * @see {@link CheckoutLicenseCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CheckoutLicenseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a grant for the specified license. A grant shares the use of license entitlements with specific Amazon Web Services accounts.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CreateGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CreateGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CreateGrantCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateGrantCommandInput} for command's `input` shape.
21
- * @see {@link CreateGrantCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateGrantCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new version of the specified grant.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CreateGrantVersionCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CreateGrantVersionCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CreateGrantVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateGrantVersionCommandInput} for command's `input` shape.
21
- * @see {@link CreateGrantVersionCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateGrantVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a license.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CreateLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CreateLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CreateLicenseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateLicenseCommandInput} for command's `input` shape.
21
- * @see {@link CreateLicenseCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateLicenseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a license configuration.</p>
10
- * <p>A license configuration is an abstraction of a customer license agreement that can be
11
- * consumed and enforced by License Manager. Components include specifications for the license
12
- * type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
13
- * Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a
14
- * license must be associated with a host), and the number of licenses purchased and used.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { LicenseManagerClient, CreateLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
19
- * // const { LicenseManagerClient, CreateLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
20
- * const client = new LicenseManagerClient(config);
21
- * const command = new CreateLicenseConfigurationCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link CreateLicenseConfigurationCommandInput} for command's `input` shape.
26
- * @see {@link CreateLicenseConfigurationCommandOutput} for command's `response` shape.
27
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class CreateLicenseConfigurationCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new license conversion task.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CreateLicenseConversionTaskForResourceCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CreateLicenseConversionTaskForResourceCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CreateLicenseConversionTaskForResourceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateLicenseConversionTaskForResourceCommandInput} for command's `input` shape.
21
- * @see {@link CreateLicenseConversionTaskForResourceCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateLicenseConversionTaskForResourceCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a report generator.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CreateLicenseManagerReportGeneratorCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CreateLicenseManagerReportGeneratorCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CreateLicenseManagerReportGeneratorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateLicenseManagerReportGeneratorCommandInput} for command's `input` shape.
21
- * @see {@link CreateLicenseManagerReportGeneratorCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateLicenseManagerReportGeneratorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a new version of the specified license.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, CreateLicenseVersionCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, CreateLicenseVersionCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new CreateLicenseVersionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link CreateLicenseVersionCommandInput} for command's `input` shape.
21
- * @see {@link CreateLicenseVersionCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class CreateLicenseVersionCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Creates a long-lived token.</p>
10
- * <p>A refresh token is a JWT token used to get an access token. With an access token,
11
- * you can call AssumeRoleWithWebIdentity to get role credentials that you can use to
12
- * call License Manager to manage the specified license.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { LicenseManagerClient, CreateTokenCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
17
- * // const { LicenseManagerClient, CreateTokenCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
18
- * const client = new LicenseManagerClient(config);
19
- * const command = new CreateTokenCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link CreateTokenCommandInput} for command's `input` shape.
24
- * @see {@link CreateTokenCommandOutput} for command's `response` shape.
25
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class CreateTokenCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified grant.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, DeleteGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, DeleteGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new DeleteGrantCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteGrantCommandInput} for command's `input` shape.
21
- * @see {@link DeleteGrantCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteGrantCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified license.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { LicenseManagerClient, DeleteLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
14
- * // const { LicenseManagerClient, DeleteLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
15
- * const client = new LicenseManagerClient(config);
16
- * const command = new DeleteLicenseCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteLicenseCommandInput} for command's `input` shape.
21
- * @see {@link DeleteLicenseCommandOutput} for command's `response` shape.
22
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteLicenseCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified license configuration.</p>
10
- * <p>You cannot delete a license configuration that is in use.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { LicenseManagerClient, DeleteLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
15
- * // const { LicenseManagerClient, DeleteLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
16
- * const client = new LicenseManagerClient(config);
17
- * const command = new DeleteLicenseConfigurationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeleteLicenseConfigurationCommandInput} for command's `input` shape.
22
- * @see {@link DeleteLicenseConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeleteLicenseConfigurationCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Deletes the specified report generator.</p>
10
- * <p>This action deletes the report generator, which stops it from generating future reports.
11
- * The action cannot be reversed. It has no effect on the previous reports from this generator.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { LicenseManagerClient, DeleteLicenseManagerReportGeneratorCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
16
- * // const { LicenseManagerClient, DeleteLicenseManagerReportGeneratorCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
17
- * const client = new LicenseManagerClient(config);
18
- * const command = new DeleteLicenseManagerReportGeneratorCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteLicenseManagerReportGeneratorCommandInput} for command's `input` shape.
23
- * @see {@link DeleteLicenseManagerReportGeneratorCommandOutput} for command's `response` shape.
24
- * @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DeleteLicenseManagerReportGeneratorCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);