@aws-sdk/client-license-manager 3.181.0 → 3.183.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 (60) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/LicenseManager.js +194 -201
  3. package/dist-es/LicenseManagerClient.js +22 -28
  4. package/dist-es/commands/AcceptGrantCommand.js +21 -28
  5. package/dist-es/commands/CheckInLicenseCommand.js +21 -28
  6. package/dist-es/commands/CheckoutBorrowLicenseCommand.js +21 -28
  7. package/dist-es/commands/CheckoutLicenseCommand.js +21 -28
  8. package/dist-es/commands/CreateGrantCommand.js +21 -28
  9. package/dist-es/commands/CreateGrantVersionCommand.js +21 -28
  10. package/dist-es/commands/CreateLicenseCommand.js +21 -28
  11. package/dist-es/commands/CreateLicenseConfigurationCommand.js +21 -28
  12. package/dist-es/commands/CreateLicenseConversionTaskForResourceCommand.js +21 -28
  13. package/dist-es/commands/CreateLicenseManagerReportGeneratorCommand.js +21 -28
  14. package/dist-es/commands/CreateLicenseVersionCommand.js +21 -28
  15. package/dist-es/commands/CreateTokenCommand.js +21 -28
  16. package/dist-es/commands/DeleteGrantCommand.js +21 -28
  17. package/dist-es/commands/DeleteLicenseCommand.js +21 -28
  18. package/dist-es/commands/DeleteLicenseConfigurationCommand.js +21 -28
  19. package/dist-es/commands/DeleteLicenseManagerReportGeneratorCommand.js +21 -28
  20. package/dist-es/commands/DeleteTokenCommand.js +21 -28
  21. package/dist-es/commands/ExtendLicenseConsumptionCommand.js +21 -28
  22. package/dist-es/commands/GetAccessTokenCommand.js +21 -28
  23. package/dist-es/commands/GetGrantCommand.js +21 -28
  24. package/dist-es/commands/GetLicenseCommand.js +21 -28
  25. package/dist-es/commands/GetLicenseConfigurationCommand.js +21 -28
  26. package/dist-es/commands/GetLicenseConversionTaskCommand.js +21 -28
  27. package/dist-es/commands/GetLicenseManagerReportGeneratorCommand.js +21 -28
  28. package/dist-es/commands/GetLicenseUsageCommand.js +21 -28
  29. package/dist-es/commands/GetServiceSettingsCommand.js +21 -28
  30. package/dist-es/commands/ListAssociationsForLicenseConfigurationCommand.js +21 -28
  31. package/dist-es/commands/ListDistributedGrantsCommand.js +21 -28
  32. package/dist-es/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +21 -28
  33. package/dist-es/commands/ListLicenseConfigurationsCommand.js +21 -28
  34. package/dist-es/commands/ListLicenseConversionTasksCommand.js +21 -28
  35. package/dist-es/commands/ListLicenseManagerReportGeneratorsCommand.js +21 -28
  36. package/dist-es/commands/ListLicenseSpecificationsForResourceCommand.js +21 -28
  37. package/dist-es/commands/ListLicenseVersionsCommand.js +21 -28
  38. package/dist-es/commands/ListLicensesCommand.js +21 -28
  39. package/dist-es/commands/ListReceivedGrantsCommand.js +21 -28
  40. package/dist-es/commands/ListReceivedLicensesCommand.js +21 -28
  41. package/dist-es/commands/ListResourceInventoryCommand.js +21 -28
  42. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  43. package/dist-es/commands/ListTokensCommand.js +21 -28
  44. package/dist-es/commands/ListUsageForLicenseConfigurationCommand.js +21 -28
  45. package/dist-es/commands/RejectGrantCommand.js +21 -28
  46. package/dist-es/commands/TagResourceCommand.js +21 -28
  47. package/dist-es/commands/UntagResourceCommand.js +21 -28
  48. package/dist-es/commands/UpdateLicenseConfigurationCommand.js +21 -28
  49. package/dist-es/commands/UpdateLicenseManagerReportGeneratorCommand.js +21 -28
  50. package/dist-es/commands/UpdateLicenseSpecificationsForResourceCommand.js +21 -28
  51. package/dist-es/commands/UpdateServiceSettingsCommand.js +21 -28
  52. package/dist-es/endpoints.js +8 -8
  53. package/dist-es/models/LicenseManagerServiceException.js +5 -10
  54. package/dist-es/models/models_0.js +605 -340
  55. package/dist-es/protocols/Aws_json1_1.js +3776 -4747
  56. package/dist-es/runtimeConfig.browser.js +26 -12
  57. package/dist-es/runtimeConfig.js +30 -12
  58. package/dist-es/runtimeConfig.native.js +8 -5
  59. package/dist-es/runtimeConfig.shared.js +8 -11
  60. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLicenseConfigurationsRequestFilterSensitiveLog, ListLicenseConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLicenseConfigurationsCommand, serializeAws_json1_1ListLicenseConfigurationsCommand, } from "../protocols/Aws_json1_1";
6
- var ListLicenseConfigurationsCommand = (function (_super) {
7
- __extends(ListLicenseConfigurationsCommand, _super);
8
- function ListLicenseConfigurationsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLicenseConfigurationsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLicenseConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListLicenseConfigurationsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListLicenseConfigurationsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLicenseConfigurationsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLicenseConfigurationsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLicenseConfigurationsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLicenseConfigurationsCommand(input, context);
33
- };
34
- ListLicenseConfigurationsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLicenseConfigurationsCommand(output, context);
36
- };
37
- return ListLicenseConfigurationsCommand;
38
- }($Command));
39
- export { ListLicenseConfigurationsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLicenseConversionTasksRequestFilterSensitiveLog, ListLicenseConversionTasksResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLicenseConversionTasksCommand, serializeAws_json1_1ListLicenseConversionTasksCommand, } from "../protocols/Aws_json1_1";
6
- var ListLicenseConversionTasksCommand = (function (_super) {
7
- __extends(ListLicenseConversionTasksCommand, _super);
8
- function ListLicenseConversionTasksCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLicenseConversionTasksCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLicenseConversionTasksCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListLicenseConversionTasksCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListLicenseConversionTasksCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLicenseConversionTasksRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLicenseConversionTasksResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLicenseConversionTasksCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLicenseConversionTasksCommand(input, context);
33
- };
34
- ListLicenseConversionTasksCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLicenseConversionTasksCommand(output, context);
36
- };
37
- return ListLicenseConversionTasksCommand;
38
- }($Command));
39
- export { ListLicenseConversionTasksCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLicenseManagerReportGeneratorsRequestFilterSensitiveLog, ListLicenseManagerReportGeneratorsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLicenseManagerReportGeneratorsCommand, serializeAws_json1_1ListLicenseManagerReportGeneratorsCommand, } from "../protocols/Aws_json1_1";
6
- var ListLicenseManagerReportGeneratorsCommand = (function (_super) {
7
- __extends(ListLicenseManagerReportGeneratorsCommand, _super);
8
- function ListLicenseManagerReportGeneratorsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLicenseManagerReportGeneratorsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLicenseManagerReportGeneratorsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListLicenseManagerReportGeneratorsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListLicenseManagerReportGeneratorsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLicenseManagerReportGeneratorsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLicenseManagerReportGeneratorsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLicenseManagerReportGeneratorsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLicenseManagerReportGeneratorsCommand(input, context);
33
- };
34
- ListLicenseManagerReportGeneratorsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLicenseManagerReportGeneratorsCommand(output, context);
36
- };
37
- return ListLicenseManagerReportGeneratorsCommand;
38
- }($Command));
39
- export { ListLicenseManagerReportGeneratorsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLicenseSpecificationsForResourceRequestFilterSensitiveLog, ListLicenseSpecificationsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLicenseSpecificationsForResourceCommand, serializeAws_json1_1ListLicenseSpecificationsForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var ListLicenseSpecificationsForResourceCommand = (function (_super) {
7
- __extends(ListLicenseSpecificationsForResourceCommand, _super);
8
- function ListLicenseSpecificationsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLicenseSpecificationsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLicenseSpecificationsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListLicenseSpecificationsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListLicenseSpecificationsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLicenseSpecificationsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLicenseSpecificationsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLicenseSpecificationsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLicenseSpecificationsForResourceCommand(input, context);
33
- };
34
- ListLicenseSpecificationsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLicenseSpecificationsForResourceCommand(output, context);
36
- };
37
- return ListLicenseSpecificationsForResourceCommand;
38
- }($Command));
39
- export { ListLicenseSpecificationsForResourceCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLicenseVersionsRequestFilterSensitiveLog, ListLicenseVersionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLicenseVersionsCommand, serializeAws_json1_1ListLicenseVersionsCommand, } from "../protocols/Aws_json1_1";
6
- var ListLicenseVersionsCommand = (function (_super) {
7
- __extends(ListLicenseVersionsCommand, _super);
8
- function ListLicenseVersionsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLicenseVersionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLicenseVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListLicenseVersionsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListLicenseVersionsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLicenseVersionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLicenseVersionsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLicenseVersionsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLicenseVersionsCommand(input, context);
33
- };
34
- ListLicenseVersionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLicenseVersionsCommand(output, context);
36
- };
37
- return ListLicenseVersionsCommand;
38
- }($Command));
39
- export { ListLicenseVersionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListLicensesRequestFilterSensitiveLog, ListLicensesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListLicensesCommand, serializeAws_json1_1ListLicensesCommand, } from "../protocols/Aws_json1_1";
6
- var ListLicensesCommand = (function (_super) {
7
- __extends(ListLicensesCommand, _super);
8
- function ListLicensesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListLicensesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListLicensesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListLicensesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListLicensesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListLicensesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListLicensesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListLicensesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListLicensesCommand(input, context);
33
- };
34
- ListLicensesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListLicensesCommand(output, context);
36
- };
37
- return ListLicensesCommand;
38
- }($Command));
39
- export { ListLicensesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListReceivedGrantsRequestFilterSensitiveLog, ListReceivedGrantsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListReceivedGrantsCommand, serializeAws_json1_1ListReceivedGrantsCommand, } from "../protocols/Aws_json1_1";
6
- var ListReceivedGrantsCommand = (function (_super) {
7
- __extends(ListReceivedGrantsCommand, _super);
8
- function ListReceivedGrantsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListReceivedGrantsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListReceivedGrantsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListReceivedGrantsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListReceivedGrantsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListReceivedGrantsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListReceivedGrantsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListReceivedGrantsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListReceivedGrantsCommand(input, context);
33
- };
34
- ListReceivedGrantsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListReceivedGrantsCommand(output, context);
36
- };
37
- return ListReceivedGrantsCommand;
38
- }($Command));
39
- export { ListReceivedGrantsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListReceivedLicensesRequestFilterSensitiveLog, ListReceivedLicensesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListReceivedLicensesCommand, serializeAws_json1_1ListReceivedLicensesCommand, } from "../protocols/Aws_json1_1";
6
- var ListReceivedLicensesCommand = (function (_super) {
7
- __extends(ListReceivedLicensesCommand, _super);
8
- function ListReceivedLicensesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListReceivedLicensesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListReceivedLicensesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListReceivedLicensesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListReceivedLicensesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListReceivedLicensesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListReceivedLicensesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListReceivedLicensesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListReceivedLicensesCommand(input, context);
33
- };
34
- ListReceivedLicensesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListReceivedLicensesCommand(output, context);
36
- };
37
- return ListReceivedLicensesCommand;
38
- }($Command));
39
- export { ListReceivedLicensesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListResourceInventoryRequestFilterSensitiveLog, ListResourceInventoryResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListResourceInventoryCommand, serializeAws_json1_1ListResourceInventoryCommand, } from "../protocols/Aws_json1_1";
6
- var ListResourceInventoryCommand = (function (_super) {
7
- __extends(ListResourceInventoryCommand, _super);
8
- function ListResourceInventoryCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListResourceInventoryCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListResourceInventoryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListResourceInventoryCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListResourceInventoryCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListResourceInventoryRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListResourceInventoryResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListResourceInventoryCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListResourceInventoryCommand(input, context);
33
- };
34
- ListResourceInventoryCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListResourceInventoryCommand(output, context);
36
- };
37
- return ListResourceInventoryCommand;
38
- }($Command));
39
- export { ListResourceInventoryCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "LicenseManagerClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "LicenseManagerClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }