@aws-sdk/client-license-manager 3.186.0 → 3.190.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 +16 -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,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -9,31 +8,26 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
10
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
12
- var LicenseManagerClient = (function (_super) {
13
- __extends(LicenseManagerClient, _super);
14
- function LicenseManagerClient(configuration) {
15
- var _this = this;
16
- var _config_0 = __getRuntimeConfig(configuration);
17
- var _config_1 = resolveRegionConfig(_config_0);
18
- var _config_2 = resolveEndpointsConfig(_config_1);
19
- var _config_3 = resolveRetryConfig(_config_2);
20
- var _config_4 = resolveHostHeaderConfig(_config_3);
21
- var _config_5 = resolveAwsAuthConfig(_config_4);
22
- var _config_6 = resolveUserAgentConfig(_config_5);
23
- _this = _super.call(this, _config_6) || this;
24
- _this.config = _config_6;
25
- _this.middlewareStack.use(getRetryPlugin(_this.config));
26
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
- return _this;
11
+ export class LicenseManagerClient extends __Client {
12
+ constructor(configuration) {
13
+ const _config_0 = __getRuntimeConfig(configuration);
14
+ const _config_1 = resolveRegionConfig(_config_0);
15
+ const _config_2 = resolveEndpointsConfig(_config_1);
16
+ const _config_3 = resolveRetryConfig(_config_2);
17
+ const _config_4 = resolveHostHeaderConfig(_config_3);
18
+ const _config_5 = resolveAwsAuthConfig(_config_4);
19
+ const _config_6 = resolveUserAgentConfig(_config_5);
20
+ super(_config_6);
21
+ this.config = _config_6;
22
+ this.middlewareStack.use(getRetryPlugin(this.config));
23
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
24
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
+ this.middlewareStack.use(getLoggerPlugin(this.config));
26
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
33
29
  }
34
- LicenseManagerClient.prototype.destroy = function () {
35
- _super.prototype.destroy.call(this);
36
- };
37
- return LicenseManagerClient;
38
- }(__Client));
39
- export { LicenseManagerClient };
30
+ destroy() {
31
+ super.destroy();
32
+ }
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 { AcceptGrantRequestFilterSensitiveLog, AcceptGrantResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1AcceptGrantCommand, serializeAws_json1_1AcceptGrantCommand, } from "../protocols/Aws_json1_1";
6
- var AcceptGrantCommand = (function (_super) {
7
- __extends(AcceptGrantCommand, _super);
8
- function AcceptGrantCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class AcceptGrantCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- AcceptGrantCommand.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 = "AcceptGrantCommand";
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 = "AcceptGrantCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: AcceptGrantRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: AcceptGrantResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- AcceptGrantCommand.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_1AcceptGrantCommand(input, context);
33
- };
34
- AcceptGrantCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1AcceptGrantCommand(output, context);
36
- };
37
- return AcceptGrantCommand;
38
- }($Command));
39
- export { AcceptGrantCommand };
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 { CheckInLicenseRequestFilterSensitiveLog, CheckInLicenseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CheckInLicenseCommand, serializeAws_json1_1CheckInLicenseCommand, } from "../protocols/Aws_json1_1";
6
- var CheckInLicenseCommand = (function (_super) {
7
- __extends(CheckInLicenseCommand, _super);
8
- function CheckInLicenseCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CheckInLicenseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CheckInLicenseCommand.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 = "CheckInLicenseCommand";
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 = "CheckInLicenseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CheckInLicenseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CheckInLicenseResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CheckInLicenseCommand.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_1CheckInLicenseCommand(input, context);
33
- };
34
- CheckInLicenseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CheckInLicenseCommand(output, context);
36
- };
37
- return CheckInLicenseCommand;
38
- }($Command));
39
- export { CheckInLicenseCommand };
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 { CheckoutBorrowLicenseRequestFilterSensitiveLog, CheckoutBorrowLicenseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CheckoutBorrowLicenseCommand, serializeAws_json1_1CheckoutBorrowLicenseCommand, } from "../protocols/Aws_json1_1";
6
- var CheckoutBorrowLicenseCommand = (function (_super) {
7
- __extends(CheckoutBorrowLicenseCommand, _super);
8
- function CheckoutBorrowLicenseCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CheckoutBorrowLicenseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CheckoutBorrowLicenseCommand.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 = "CheckoutBorrowLicenseCommand";
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 = "CheckoutBorrowLicenseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CheckoutBorrowLicenseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CheckoutBorrowLicenseResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CheckoutBorrowLicenseCommand.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_1CheckoutBorrowLicenseCommand(input, context);
33
- };
34
- CheckoutBorrowLicenseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CheckoutBorrowLicenseCommand(output, context);
36
- };
37
- return CheckoutBorrowLicenseCommand;
38
- }($Command));
39
- export { CheckoutBorrowLicenseCommand };
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 { CheckoutLicenseRequestFilterSensitiveLog, CheckoutLicenseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CheckoutLicenseCommand, serializeAws_json1_1CheckoutLicenseCommand, } from "../protocols/Aws_json1_1";
6
- var CheckoutLicenseCommand = (function (_super) {
7
- __extends(CheckoutLicenseCommand, _super);
8
- function CheckoutLicenseCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CheckoutLicenseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CheckoutLicenseCommand.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 = "CheckoutLicenseCommand";
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 = "CheckoutLicenseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CheckoutLicenseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CheckoutLicenseResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CheckoutLicenseCommand.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_1CheckoutLicenseCommand(input, context);
33
- };
34
- CheckoutLicenseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CheckoutLicenseCommand(output, context);
36
- };
37
- return CheckoutLicenseCommand;
38
- }($Command));
39
- export { CheckoutLicenseCommand };
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 { CreateGrantRequestFilterSensitiveLog, CreateGrantResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateGrantCommand, serializeAws_json1_1CreateGrantCommand, } from "../protocols/Aws_json1_1";
6
- var CreateGrantCommand = (function (_super) {
7
- __extends(CreateGrantCommand, _super);
8
- function CreateGrantCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateGrantCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateGrantCommand.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 = "CreateGrantCommand";
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 = "CreateGrantCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateGrantRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateGrantResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateGrantCommand.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_1CreateGrantCommand(input, context);
33
- };
34
- CreateGrantCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateGrantCommand(output, context);
36
- };
37
- return CreateGrantCommand;
38
- }($Command));
39
- export { CreateGrantCommand };
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 { CreateGrantVersionRequestFilterSensitiveLog, CreateGrantVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateGrantVersionCommand, serializeAws_json1_1CreateGrantVersionCommand, } from "../protocols/Aws_json1_1";
6
- var CreateGrantVersionCommand = (function (_super) {
7
- __extends(CreateGrantVersionCommand, _super);
8
- function CreateGrantVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateGrantVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateGrantVersionCommand.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 = "CreateGrantVersionCommand";
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 = "CreateGrantVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateGrantVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateGrantVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateGrantVersionCommand.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_1CreateGrantVersionCommand(input, context);
33
- };
34
- CreateGrantVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateGrantVersionCommand(output, context);
36
- };
37
- return CreateGrantVersionCommand;
38
- }($Command));
39
- export { CreateGrantVersionCommand };
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 { CreateLicenseRequestFilterSensitiveLog, CreateLicenseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateLicenseCommand, serializeAws_json1_1CreateLicenseCommand, } from "../protocols/Aws_json1_1";
6
- var CreateLicenseCommand = (function (_super) {
7
- __extends(CreateLicenseCommand, _super);
8
- function CreateLicenseCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLicenseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLicenseCommand.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 = "CreateLicenseCommand";
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 = "CreateLicenseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLicenseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLicenseResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLicenseCommand.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_1CreateLicenseCommand(input, context);
33
- };
34
- CreateLicenseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateLicenseCommand(output, context);
36
- };
37
- return CreateLicenseCommand;
38
- }($Command));
39
- export { CreateLicenseCommand };
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 { CreateLicenseConfigurationRequestFilterSensitiveLog, CreateLicenseConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateLicenseConfigurationCommand, serializeAws_json1_1CreateLicenseConfigurationCommand, } from "../protocols/Aws_json1_1";
6
- var CreateLicenseConfigurationCommand = (function (_super) {
7
- __extends(CreateLicenseConfigurationCommand, _super);
8
- function CreateLicenseConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLicenseConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLicenseConfigurationCommand.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 = "CreateLicenseConfigurationCommand";
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 = "CreateLicenseConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLicenseConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLicenseConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLicenseConfigurationCommand.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_1CreateLicenseConfigurationCommand(input, context);
33
- };
34
- CreateLicenseConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateLicenseConfigurationCommand(output, context);
36
- };
37
- return CreateLicenseConfigurationCommand;
38
- }($Command));
39
- export { CreateLicenseConfigurationCommand };
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 { CreateLicenseConversionTaskForResourceRequestFilterSensitiveLog, CreateLicenseConversionTaskForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateLicenseConversionTaskForResourceCommand, serializeAws_json1_1CreateLicenseConversionTaskForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var CreateLicenseConversionTaskForResourceCommand = (function (_super) {
7
- __extends(CreateLicenseConversionTaskForResourceCommand, _super);
8
- function CreateLicenseConversionTaskForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLicenseConversionTaskForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLicenseConversionTaskForResourceCommand.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 = "CreateLicenseConversionTaskForResourceCommand";
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 = "CreateLicenseConversionTaskForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLicenseConversionTaskForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLicenseConversionTaskForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLicenseConversionTaskForResourceCommand.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_1CreateLicenseConversionTaskForResourceCommand(input, context);
33
- };
34
- CreateLicenseConversionTaskForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateLicenseConversionTaskForResourceCommand(output, context);
36
- };
37
- return CreateLicenseConversionTaskForResourceCommand;
38
- }($Command));
39
- export { CreateLicenseConversionTaskForResourceCommand };
31
+ }
32
+ }