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