@aws-sdk/client-license-manager 3.180.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 (61) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +54 -48
  3. package/dist-es/LicenseManager.js +194 -201
  4. package/dist-es/LicenseManagerClient.js +22 -28
  5. package/dist-es/commands/AcceptGrantCommand.js +21 -28
  6. package/dist-es/commands/CheckInLicenseCommand.js +21 -28
  7. package/dist-es/commands/CheckoutBorrowLicenseCommand.js +21 -28
  8. package/dist-es/commands/CheckoutLicenseCommand.js +21 -28
  9. package/dist-es/commands/CreateGrantCommand.js +21 -28
  10. package/dist-es/commands/CreateGrantVersionCommand.js +21 -28
  11. package/dist-es/commands/CreateLicenseCommand.js +21 -28
  12. package/dist-es/commands/CreateLicenseConfigurationCommand.js +21 -28
  13. package/dist-es/commands/CreateLicenseConversionTaskForResourceCommand.js +21 -28
  14. package/dist-es/commands/CreateLicenseManagerReportGeneratorCommand.js +21 -28
  15. package/dist-es/commands/CreateLicenseVersionCommand.js +21 -28
  16. package/dist-es/commands/CreateTokenCommand.js +21 -28
  17. package/dist-es/commands/DeleteGrantCommand.js +21 -28
  18. package/dist-es/commands/DeleteLicenseCommand.js +21 -28
  19. package/dist-es/commands/DeleteLicenseConfigurationCommand.js +21 -28
  20. package/dist-es/commands/DeleteLicenseManagerReportGeneratorCommand.js +21 -28
  21. package/dist-es/commands/DeleteTokenCommand.js +21 -28
  22. package/dist-es/commands/ExtendLicenseConsumptionCommand.js +21 -28
  23. package/dist-es/commands/GetAccessTokenCommand.js +21 -28
  24. package/dist-es/commands/GetGrantCommand.js +21 -28
  25. package/dist-es/commands/GetLicenseCommand.js +21 -28
  26. package/dist-es/commands/GetLicenseConfigurationCommand.js +21 -28
  27. package/dist-es/commands/GetLicenseConversionTaskCommand.js +21 -28
  28. package/dist-es/commands/GetLicenseManagerReportGeneratorCommand.js +21 -28
  29. package/dist-es/commands/GetLicenseUsageCommand.js +21 -28
  30. package/dist-es/commands/GetServiceSettingsCommand.js +21 -28
  31. package/dist-es/commands/ListAssociationsForLicenseConfigurationCommand.js +21 -28
  32. package/dist-es/commands/ListDistributedGrantsCommand.js +21 -28
  33. package/dist-es/commands/ListFailuresForLicenseConfigurationOperationsCommand.js +21 -28
  34. package/dist-es/commands/ListLicenseConfigurationsCommand.js +21 -28
  35. package/dist-es/commands/ListLicenseConversionTasksCommand.js +21 -28
  36. package/dist-es/commands/ListLicenseManagerReportGeneratorsCommand.js +21 -28
  37. package/dist-es/commands/ListLicenseSpecificationsForResourceCommand.js +21 -28
  38. package/dist-es/commands/ListLicenseVersionsCommand.js +21 -28
  39. package/dist-es/commands/ListLicensesCommand.js +21 -28
  40. package/dist-es/commands/ListReceivedGrantsCommand.js +21 -28
  41. package/dist-es/commands/ListReceivedLicensesCommand.js +21 -28
  42. package/dist-es/commands/ListResourceInventoryCommand.js +21 -28
  43. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  44. package/dist-es/commands/ListTokensCommand.js +21 -28
  45. package/dist-es/commands/ListUsageForLicenseConfigurationCommand.js +21 -28
  46. package/dist-es/commands/RejectGrantCommand.js +21 -28
  47. package/dist-es/commands/TagResourceCommand.js +21 -28
  48. package/dist-es/commands/UntagResourceCommand.js +21 -28
  49. package/dist-es/commands/UpdateLicenseConfigurationCommand.js +21 -28
  50. package/dist-es/commands/UpdateLicenseManagerReportGeneratorCommand.js +21 -28
  51. package/dist-es/commands/UpdateLicenseSpecificationsForResourceCommand.js +21 -28
  52. package/dist-es/commands/UpdateServiceSettingsCommand.js +21 -28
  53. package/dist-es/endpoints.js +8 -8
  54. package/dist-es/models/LicenseManagerServiceException.js +5 -10
  55. package/dist-es/models/models_0.js +605 -340
  56. package/dist-es/protocols/Aws_json1_1.js +3776 -4734
  57. package/dist-es/runtimeConfig.browser.js +26 -12
  58. package/dist-es/runtimeConfig.js +30 -12
  59. package/dist-es/runtimeConfig.native.js +8 -5
  60. package/dist-es/runtimeConfig.shared.js +8 -11
  61. 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 { CreateLicenseManagerReportGeneratorRequestFilterSensitiveLog, CreateLicenseManagerReportGeneratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateLicenseManagerReportGeneratorCommand, serializeAws_json1_1CreateLicenseManagerReportGeneratorCommand, } from "../protocols/Aws_json1_1";
6
- var CreateLicenseManagerReportGeneratorCommand = (function (_super) {
7
- __extends(CreateLicenseManagerReportGeneratorCommand, _super);
8
- function CreateLicenseManagerReportGeneratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLicenseManagerReportGeneratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLicenseManagerReportGeneratorCommand.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 = "CreateLicenseManagerReportGeneratorCommand";
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 = "CreateLicenseManagerReportGeneratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLicenseManagerReportGeneratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLicenseManagerReportGeneratorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLicenseManagerReportGeneratorCommand.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_1CreateLicenseManagerReportGeneratorCommand(input, context);
33
- };
34
- CreateLicenseManagerReportGeneratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateLicenseManagerReportGeneratorCommand(output, context);
36
- };
37
- return CreateLicenseManagerReportGeneratorCommand;
38
- }($Command));
39
- export { CreateLicenseManagerReportGeneratorCommand };
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 { CreateLicenseVersionRequestFilterSensitiveLog, CreateLicenseVersionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateLicenseVersionCommand, serializeAws_json1_1CreateLicenseVersionCommand, } from "../protocols/Aws_json1_1";
6
- var CreateLicenseVersionCommand = (function (_super) {
7
- __extends(CreateLicenseVersionCommand, _super);
8
- function CreateLicenseVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateLicenseVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateLicenseVersionCommand.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 = "CreateLicenseVersionCommand";
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 = "CreateLicenseVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateLicenseVersionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateLicenseVersionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateLicenseVersionCommand.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_1CreateLicenseVersionCommand(input, context);
33
- };
34
- CreateLicenseVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateLicenseVersionCommand(output, context);
36
- };
37
- return CreateLicenseVersionCommand;
38
- }($Command));
39
- export { CreateLicenseVersionCommand };
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 { CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1CreateTokenCommand, serializeAws_json1_1CreateTokenCommand, } from "../protocols/Aws_json1_1";
6
- var CreateTokenCommand = (function (_super) {
7
- __extends(CreateTokenCommand, _super);
8
- function CreateTokenCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class CreateTokenCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- CreateTokenCommand.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 = "CreateTokenCommand";
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 = "CreateTokenCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: CreateTokenRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: CreateTokenResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- CreateTokenCommand.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_1CreateTokenCommand(input, context);
33
- };
34
- CreateTokenCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1CreateTokenCommand(output, context);
36
- };
37
- return CreateTokenCommand;
38
- }($Command));
39
- export { CreateTokenCommand };
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 { DeleteGrantRequestFilterSensitiveLog, DeleteGrantResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteGrantCommand, serializeAws_json1_1DeleteGrantCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteGrantCommand = (function (_super) {
7
- __extends(DeleteGrantCommand, _super);
8
- function DeleteGrantCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteGrantCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteGrantCommand.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 = "DeleteGrantCommand";
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 = "DeleteGrantCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteGrantRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteGrantResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteGrantCommand.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_1DeleteGrantCommand(input, context);
33
- };
34
- DeleteGrantCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteGrantCommand(output, context);
36
- };
37
- return DeleteGrantCommand;
38
- }($Command));
39
- export { DeleteGrantCommand };
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 { DeleteLicenseRequestFilterSensitiveLog, DeleteLicenseResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteLicenseCommand, serializeAws_json1_1DeleteLicenseCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteLicenseCommand = (function (_super) {
7
- __extends(DeleteLicenseCommand, _super);
8
- function DeleteLicenseCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLicenseCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLicenseCommand.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 = "DeleteLicenseCommand";
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 = "DeleteLicenseCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLicenseRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteLicenseResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLicenseCommand.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_1DeleteLicenseCommand(input, context);
33
- };
34
- DeleteLicenseCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteLicenseCommand(output, context);
36
- };
37
- return DeleteLicenseCommand;
38
- }($Command));
39
- export { DeleteLicenseCommand };
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 { DeleteLicenseConfigurationRequestFilterSensitiveLog, DeleteLicenseConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteLicenseConfigurationCommand, serializeAws_json1_1DeleteLicenseConfigurationCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteLicenseConfigurationCommand = (function (_super) {
7
- __extends(DeleteLicenseConfigurationCommand, _super);
8
- function DeleteLicenseConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLicenseConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLicenseConfigurationCommand.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 = "DeleteLicenseConfigurationCommand";
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 = "DeleteLicenseConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLicenseConfigurationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteLicenseConfigurationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLicenseConfigurationCommand.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_1DeleteLicenseConfigurationCommand(input, context);
33
- };
34
- DeleteLicenseConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteLicenseConfigurationCommand(output, context);
36
- };
37
- return DeleteLicenseConfigurationCommand;
38
- }($Command));
39
- export { DeleteLicenseConfigurationCommand };
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 { DeleteLicenseManagerReportGeneratorRequestFilterSensitiveLog, DeleteLicenseManagerReportGeneratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteLicenseManagerReportGeneratorCommand, serializeAws_json1_1DeleteLicenseManagerReportGeneratorCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteLicenseManagerReportGeneratorCommand = (function (_super) {
7
- __extends(DeleteLicenseManagerReportGeneratorCommand, _super);
8
- function DeleteLicenseManagerReportGeneratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteLicenseManagerReportGeneratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteLicenseManagerReportGeneratorCommand.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 = "DeleteLicenseManagerReportGeneratorCommand";
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 = "DeleteLicenseManagerReportGeneratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteLicenseManagerReportGeneratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteLicenseManagerReportGeneratorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteLicenseManagerReportGeneratorCommand.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_1DeleteLicenseManagerReportGeneratorCommand(input, context);
33
- };
34
- DeleteLicenseManagerReportGeneratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteLicenseManagerReportGeneratorCommand(output, context);
36
- };
37
- return DeleteLicenseManagerReportGeneratorCommand;
38
- }($Command));
39
- export { DeleteLicenseManagerReportGeneratorCommand };
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 { DeleteTokenRequestFilterSensitiveLog, DeleteTokenResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteTokenCommand, serializeAws_json1_1DeleteTokenCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteTokenCommand = (function (_super) {
7
- __extends(DeleteTokenCommand, _super);
8
- function DeleteTokenCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteTokenCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteTokenCommand.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 = "DeleteTokenCommand";
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 = "DeleteTokenCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteTokenRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeleteTokenResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeleteTokenCommand.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_1DeleteTokenCommand(input, context);
33
- };
34
- DeleteTokenCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteTokenCommand(output, context);
36
- };
37
- return DeleteTokenCommand;
38
- }($Command));
39
- export { DeleteTokenCommand };
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 { ExtendLicenseConsumptionRequestFilterSensitiveLog, ExtendLicenseConsumptionResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ExtendLicenseConsumptionCommand, serializeAws_json1_1ExtendLicenseConsumptionCommand, } from "../protocols/Aws_json1_1";
6
- var ExtendLicenseConsumptionCommand = (function (_super) {
7
- __extends(ExtendLicenseConsumptionCommand, _super);
8
- function ExtendLicenseConsumptionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ExtendLicenseConsumptionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ExtendLicenseConsumptionCommand.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 = "ExtendLicenseConsumptionCommand";
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 = "ExtendLicenseConsumptionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ExtendLicenseConsumptionRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ExtendLicenseConsumptionResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ExtendLicenseConsumptionCommand.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_1ExtendLicenseConsumptionCommand(input, context);
33
- };
34
- ExtendLicenseConsumptionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ExtendLicenseConsumptionCommand(output, context);
36
- };
37
- return ExtendLicenseConsumptionCommand;
38
- }($Command));
39
- export { ExtendLicenseConsumptionCommand };
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 { GetAccessTokenRequestFilterSensitiveLog, GetAccessTokenResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1GetAccessTokenCommand, serializeAws_json1_1GetAccessTokenCommand, } from "../protocols/Aws_json1_1";
6
- var GetAccessTokenCommand = (function (_super) {
7
- __extends(GetAccessTokenCommand, _super);
8
- function GetAccessTokenCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class GetAccessTokenCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- GetAccessTokenCommand.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 = "GetAccessTokenCommand";
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 = "GetAccessTokenCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: GetAccessTokenRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: GetAccessTokenResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- GetAccessTokenCommand.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_1GetAccessTokenCommand(input, context);
33
- };
34
- GetAccessTokenCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1GetAccessTokenCommand(output, context);
36
- };
37
- return GetAccessTokenCommand;
38
- }($Command));
39
- export { GetAccessTokenCommand };
31
+ }
32
+ }