@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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/LicenseManager.js +0 -4
- package/dist-cjs/LicenseManagerClient.js +0 -9
- package/dist-cjs/commands/AcceptGrantCommand.js +0 -24
- package/dist-cjs/commands/CheckInLicenseCommand.js +0 -24
- package/dist-cjs/commands/CheckoutBorrowLicenseCommand.js +0 -24
- package/dist-cjs/commands/CheckoutLicenseCommand.js +0 -24
- package/dist-cjs/commands/CreateGrantCommand.js +0 -24
- package/dist-cjs/commands/CreateGrantVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateLicenseCommand.js +0 -24
- package/dist-cjs/commands/CreateLicenseConfigurationCommand.js +0 -29
- package/dist-cjs/commands/CreateLicenseConversionTaskForResourceCommand.js +0 -24
- package/dist-cjs/commands/CreateLicenseManagerReportGeneratorCommand.js +0 -24
- package/dist-cjs/commands/CreateLicenseVersionCommand.js +0 -24
- package/dist-cjs/commands/CreateTokenCommand.js +0 -27
- package/dist-cjs/commands/DeleteGrantCommand.js +0 -24
- package/dist-cjs/commands/DeleteLicenseCommand.js +0 -24
- package/dist-cjs/commands/DeleteLicenseConfigurationCommand.js +0 -25
- package/dist-cjs/commands/DeleteLicenseManagerReportGeneratorCommand.js +0 -26
- package/dist-cjs/commands/DeleteTokenCommand.js +0 -24
- package/dist-cjs/commands/ExtendLicenseConsumptionCommand.js +0 -24
- package/dist-cjs/commands/GetAccessTokenCommand.js +0 -25
- package/dist-cjs/commands/GetGrantCommand.js +0 -24
- package/dist-cjs/commands/GetLicenseCommand.js +0 -24
- package/dist-cjs/commands/GetLicenseConfigurationCommand.js +0 -24
- package/dist-cjs/commands/GetLicenseConversionTaskCommand.js +0 -24
- package/dist-cjs/commands/GetLicenseManagerReportGeneratorCommand.js +0 -24
- package/dist-cjs/commands/GetLicenseUsageCommand.js +0 -24
- package/dist-cjs/commands/GetServiceSettingsCommand.js +0 -24
- package/dist-cjs/commands/ListAssociationsForLicenseConfigurationCommand.js +0 -27
- package/dist-cjs/commands/ListDistributedGrantsCommand.js +0 -24
- package/dist-cjs/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +0 -24
- package/dist-cjs/commands/ListLicenseConfigurationsCommand.js +0 -24
- package/dist-cjs/commands/ListLicenseConversionTasksCommand.js +0 -24
- package/dist-cjs/commands/ListLicenseManagerReportGeneratorsCommand.js +0 -24
- package/dist-cjs/commands/ListLicenseSpecificationsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListLicenseVersionsCommand.js +0 -24
- package/dist-cjs/commands/ListLicensesCommand.js +0 -24
- package/dist-cjs/commands/ListReceivedGrantsCommand.js +0 -24
- package/dist-cjs/commands/ListReceivedLicensesCommand.js +0 -24
- package/dist-cjs/commands/ListResourceInventoryCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -24
- package/dist-cjs/commands/ListTokensCommand.js +0 -24
- package/dist-cjs/commands/ListUsageForLicenseConfigurationCommand.js +0 -26
- package/dist-cjs/commands/RejectGrantCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -24
- package/dist-cjs/commands/UntagResourceCommand.js +0 -24
- package/dist-cjs/commands/UpdateLicenseConfigurationCommand.js +0 -24
- package/dist-cjs/commands/UpdateLicenseManagerReportGeneratorCommand.js +0 -25
- package/dist-cjs/commands/UpdateLicenseSpecificationsForResourceCommand.js +0 -27
- package/dist-cjs/commands/UpdateServiceSettingsCommand.js +0 -24
- package/dist-cjs/models/models_0.js +0 -450
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-types/ts3.4/LicenseManager.d.ts +49 -169
- package/dist-types/ts3.4/LicenseManagerClient.d.ts +24 -90
- package/dist-types/ts3.4/commands/AcceptGrantCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CheckInLicenseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CheckoutBorrowLicenseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CheckoutLicenseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateGrantCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateGrantVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateLicenseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateLicenseConfigurationCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateLicenseVersionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateTokenCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteGrantCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteLicenseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteLicenseConfigurationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteTokenCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ExtendLicenseConsumptionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetAccessTokenCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/GetGrantCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLicenseCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLicenseConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLicenseConversionTaskCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLicenseManagerReportGeneratorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetLicenseUsageCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetServiceSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListDistributedGrantsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLicenseConfigurationsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLicenseConversionTasksCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLicenseSpecificationsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLicenseVersionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListLicensesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListReceivedGrantsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListReceivedLicensesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListResourceInventoryCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTokensCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListUsageForLicenseConfigurationCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/RejectGrantCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateLicenseConfigurationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateServiceSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/models/models_0.d.ts +657 -2315
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +3 -3
|
@@ -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 token. Must be called in the license home Region.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, DeleteTokenCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, DeleteTokenCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new DeleteTokenCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteTokenCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteTokenCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteTokenCommand 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>Extends the expiration date for license consumption.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, ExtendLicenseConsumptionCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ExtendLicenseConsumptionCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ExtendLicenseConsumptionCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ExtendLicenseConsumptionCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ExtendLicenseConsumptionCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ExtendLicenseConsumptionCommand 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>Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens
|
|
10
|
-
* are valid for one hour.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { LicenseManagerClient, GetAccessTokenCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
15
|
-
* // const { LicenseManagerClient, GetAccessTokenCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
16
|
-
* const client = new LicenseManagerClient(config);
|
|
17
|
-
* const command = new GetAccessTokenCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link GetAccessTokenCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link GetAccessTokenCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class GetAccessTokenCommand 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,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>Gets detailed information about 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, GetGrantCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetGrantCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetGrantCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetGrantCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetGrantCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetGrantCommand 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>Gets detailed information about 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, GetLicenseCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetLicenseCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetLicenseCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetLicenseCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetLicenseCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetLicenseCommand 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>Gets detailed information about the specified license configuration.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, GetLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetLicenseConfigurationCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetLicenseConfigurationCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetLicenseConfigurationCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetLicenseConfigurationCommand 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>Gets information about the specified license type 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, GetLicenseConversionTaskCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetLicenseConversionTaskCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetLicenseConversionTaskCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetLicenseConversionTaskCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetLicenseConversionTaskCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetLicenseConversionTaskCommand 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>Gets information about the specified 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, GetLicenseManagerReportGeneratorCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetLicenseManagerReportGeneratorCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetLicenseManagerReportGeneratorCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetLicenseManagerReportGeneratorCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetLicenseManagerReportGeneratorCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetLicenseManagerReportGeneratorCommand 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>Gets detailed information about the usage 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, GetLicenseUsageCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetLicenseUsageCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetLicenseUsageCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetLicenseUsageCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetLicenseUsageCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetLicenseUsageCommand 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>Gets the License Manager settings for the current Region.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, GetServiceSettingsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, GetServiceSettingsCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new GetServiceSettingsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link GetServiceSettingsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link GetServiceSettingsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class GetServiceSettingsCommand 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>Lists the resource associations for the specified license configuration.</p>
|
|
10
|
-
* <p>Resource associations need not consume licenses from a license configuration.
|
|
11
|
-
* For example, an AMI or a stopped instance might not consume a license (depending on
|
|
12
|
-
* the license rules).</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { LicenseManagerClient, ListAssociationsForLicenseConfigurationCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
17
|
-
* // const { LicenseManagerClient, ListAssociationsForLicenseConfigurationCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
18
|
-
* const client = new LicenseManagerClient(config);
|
|
19
|
-
* const command = new ListAssociationsForLicenseConfigurationCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListAssociationsForLicenseConfigurationCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListAssociationsForLicenseConfigurationCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
8
|
class ListAssociationsForLicenseConfigurationCommand 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>Lists the grants distributed for 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, ListDistributedGrantsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ListDistributedGrantsCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ListDistributedGrantsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListDistributedGrantsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListDistributedGrantsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListDistributedGrantsCommand 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>Lists the license configuration operations that failed.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, ListFailuresForLicenseConfigurationOperationsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ListFailuresForLicenseConfigurationOperationsCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ListFailuresForLicenseConfigurationOperationsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListFailuresForLicenseConfigurationOperationsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListFailuresForLicenseConfigurationOperationsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListFailuresForLicenseConfigurationOperationsCommand 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>Lists the license configurations for your account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, ListLicenseConfigurationsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ListLicenseConfigurationsCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ListLicenseConfigurationsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListLicenseConfigurationsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListLicenseConfigurationsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListLicenseConfigurationsCommand 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>Lists the license type conversion tasks for your account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, ListLicenseConversionTasksCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ListLicenseConversionTasksCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ListLicenseConversionTasksCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListLicenseConversionTasksCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListLicenseConversionTasksCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListLicenseConversionTasksCommand 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>Lists the report generators for your account.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, ListLicenseManagerReportGeneratorsCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ListLicenseManagerReportGeneratorsCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ListLicenseManagerReportGeneratorsCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListLicenseManagerReportGeneratorsCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListLicenseManagerReportGeneratorsCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListLicenseManagerReportGeneratorsCommand 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>Describes the license configurations for the specified resource.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { LicenseManagerClient, ListLicenseSpecificationsForResourceCommand } from "@aws-sdk/client-license-manager"; // ES Modules import
|
|
14
|
-
* // const { LicenseManagerClient, ListLicenseSpecificationsForResourceCommand } = require("@aws-sdk/client-license-manager"); // CommonJS import
|
|
15
|
-
* const client = new LicenseManagerClient(config);
|
|
16
|
-
* const command = new ListLicenseSpecificationsForResourceCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link ListLicenseSpecificationsForResourceCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link ListLicenseSpecificationsForResourceCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link LicenseManagerClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class ListLicenseSpecificationsForResourceCommand 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);
|