@aws-sdk/client-global-accelerator 3.181.0 → 3.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/GlobalAccelerator.js +190 -197
  3. package/dist-es/GlobalAcceleratorClient.js +22 -28
  4. package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +21 -28
  5. package/dist-es/commands/AdvertiseByoipCidrCommand.js +21 -28
  6. package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +22 -29
  7. package/dist-es/commands/CreateAcceleratorCommand.js +21 -28
  8. package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +21 -28
  9. package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +21 -28
  10. package/dist-es/commands/CreateCustomRoutingListenerCommand.js +21 -28
  11. package/dist-es/commands/CreateEndpointGroupCommand.js +21 -28
  12. package/dist-es/commands/CreateListenerCommand.js +21 -28
  13. package/dist-es/commands/DeleteAcceleratorCommand.js +22 -29
  14. package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +22 -29
  15. package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +22 -29
  16. package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +22 -29
  17. package/dist-es/commands/DeleteEndpointGroupCommand.js +22 -29
  18. package/dist-es/commands/DeleteListenerCommand.js +22 -29
  19. package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +22 -29
  20. package/dist-es/commands/DeprovisionByoipCidrCommand.js +21 -28
  21. package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +21 -28
  22. package/dist-es/commands/DescribeAcceleratorCommand.js +21 -28
  23. package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +21 -28
  24. package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +21 -28
  25. package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +21 -28
  26. package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +21 -28
  27. package/dist-es/commands/DescribeEndpointGroupCommand.js +21 -28
  28. package/dist-es/commands/DescribeListenerCommand.js +21 -28
  29. package/dist-es/commands/ListAcceleratorsCommand.js +21 -28
  30. package/dist-es/commands/ListByoipCidrsCommand.js +21 -28
  31. package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +21 -28
  32. package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +21 -28
  33. package/dist-es/commands/ListCustomRoutingListenersCommand.js +21 -28
  34. package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +21 -28
  35. package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +21 -28
  36. package/dist-es/commands/ListEndpointGroupsCommand.js +21 -28
  37. package/dist-es/commands/ListListenersCommand.js +21 -28
  38. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  39. package/dist-es/commands/ProvisionByoipCidrCommand.js +21 -28
  40. package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +22 -29
  41. package/dist-es/commands/TagResourceCommand.js +21 -28
  42. package/dist-es/commands/UntagResourceCommand.js +21 -28
  43. package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +21 -28
  44. package/dist-es/commands/UpdateAcceleratorCommand.js +21 -28
  45. package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +21 -28
  46. package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +21 -28
  47. package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +21 -28
  48. package/dist-es/commands/UpdateEndpointGroupCommand.js +21 -28
  49. package/dist-es/commands/UpdateListenerCommand.js +21 -28
  50. package/dist-es/commands/WithdrawByoipCidrCommand.js +21 -28
  51. package/dist-es/endpoints.js +8 -8
  52. package/dist-es/models/GlobalAcceleratorServiceException.js +5 -10
  53. package/dist-es/models/models_0.js +546 -327
  54. package/dist-es/pagination/ListAcceleratorsPaginator.js +25 -68
  55. package/dist-es/pagination/ListByoipCidrsPaginator.js +25 -68
  56. package/dist-es/pagination/ListCustomRoutingAcceleratorsPaginator.js +25 -68
  57. package/dist-es/pagination/ListCustomRoutingEndpointGroupsPaginator.js +25 -68
  58. package/dist-es/pagination/ListCustomRoutingListenersPaginator.js +25 -68
  59. package/dist-es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +25 -68
  60. package/dist-es/pagination/ListCustomRoutingPortMappingsPaginator.js +25 -68
  61. package/dist-es/pagination/ListEndpointGroupsPaginator.js +25 -68
  62. package/dist-es/pagination/ListListenersPaginator.js +25 -68
  63. package/dist-es/protocols/Aws_json1_1.js +3127 -4071
  64. package/dist-es/runtimeConfig.browser.js +26 -12
  65. package/dist-es/runtimeConfig.js +30 -12
  66. package/dist-es/runtimeConfig.native.js +8 -5
  67. package/dist-es/runtimeConfig.shared.js +8 -11
  68. 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 { ListCustomRoutingListenersRequestFilterSensitiveLog, ListCustomRoutingListenersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCustomRoutingListenersCommand, serializeAws_json1_1ListCustomRoutingListenersCommand, } from "../protocols/Aws_json1_1";
6
- var ListCustomRoutingListenersCommand = (function (_super) {
7
- __extends(ListCustomRoutingListenersCommand, _super);
8
- function ListCustomRoutingListenersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListCustomRoutingListenersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCustomRoutingListenersCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "ListCustomRoutingListenersCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "ListCustomRoutingListenersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCustomRoutingListenersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCustomRoutingListenersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListCustomRoutingListenersCommand.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_1ListCustomRoutingListenersCommand(input, context);
33
- };
34
- ListCustomRoutingListenersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCustomRoutingListenersCommand(output, context);
36
- };
37
- return ListCustomRoutingListenersCommand;
38
- }($Command));
39
- export { ListCustomRoutingListenersCommand };
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 { ListCustomRoutingPortMappingsByDestinationRequestFilterSensitiveLog, ListCustomRoutingPortMappingsByDestinationResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand, serializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand, } from "../protocols/Aws_json1_1";
6
- var ListCustomRoutingPortMappingsByDestinationCommand = (function (_super) {
7
- __extends(ListCustomRoutingPortMappingsByDestinationCommand, _super);
8
- function ListCustomRoutingPortMappingsByDestinationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListCustomRoutingPortMappingsByDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCustomRoutingPortMappingsByDestinationCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "ListCustomRoutingPortMappingsByDestinationCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "ListCustomRoutingPortMappingsByDestinationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCustomRoutingPortMappingsByDestinationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCustomRoutingPortMappingsByDestinationResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListCustomRoutingPortMappingsByDestinationCommand.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_1ListCustomRoutingPortMappingsByDestinationCommand(input, context);
33
- };
34
- ListCustomRoutingPortMappingsByDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand(output, context);
36
- };
37
- return ListCustomRoutingPortMappingsByDestinationCommand;
38
- }($Command));
39
- export { ListCustomRoutingPortMappingsByDestinationCommand };
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 { ListCustomRoutingPortMappingsRequestFilterSensitiveLog, ListCustomRoutingPortMappingsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCustomRoutingPortMappingsCommand, serializeAws_json1_1ListCustomRoutingPortMappingsCommand, } from "../protocols/Aws_json1_1";
6
- var ListCustomRoutingPortMappingsCommand = (function (_super) {
7
- __extends(ListCustomRoutingPortMappingsCommand, _super);
8
- function ListCustomRoutingPortMappingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListCustomRoutingPortMappingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCustomRoutingPortMappingsCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "ListCustomRoutingPortMappingsCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "ListCustomRoutingPortMappingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCustomRoutingPortMappingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCustomRoutingPortMappingsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListCustomRoutingPortMappingsCommand.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_1ListCustomRoutingPortMappingsCommand(input, context);
33
- };
34
- ListCustomRoutingPortMappingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCustomRoutingPortMappingsCommand(output, context);
36
- };
37
- return ListCustomRoutingPortMappingsCommand;
38
- }($Command));
39
- export { ListCustomRoutingPortMappingsCommand };
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 { ListEndpointGroupsRequestFilterSensitiveLog, ListEndpointGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListEndpointGroupsCommand, serializeAws_json1_1ListEndpointGroupsCommand, } from "../protocols/Aws_json1_1";
6
- var ListEndpointGroupsCommand = (function (_super) {
7
- __extends(ListEndpointGroupsCommand, _super);
8
- function ListEndpointGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListEndpointGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListEndpointGroupsCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "ListEndpointGroupsCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "ListEndpointGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListEndpointGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListEndpointGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListEndpointGroupsCommand.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_1ListEndpointGroupsCommand(input, context);
33
- };
34
- ListEndpointGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListEndpointGroupsCommand(output, context);
36
- };
37
- return ListEndpointGroupsCommand;
38
- }($Command));
39
- export { ListEndpointGroupsCommand };
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 { ListListenersRequestFilterSensitiveLog, ListListenersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListListenersCommand, serializeAws_json1_1ListListenersCommand, } from "../protocols/Aws_json1_1";
6
- var ListListenersCommand = (function (_super) {
7
- __extends(ListListenersCommand, _super);
8
- function ListListenersCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListListenersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListListenersCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "ListListenersCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "ListListenersCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListListenersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListListenersResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListListenersCommand.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_1ListListenersCommand(input, context);
33
- };
34
- ListListenersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListListenersCommand(output, context);
36
- };
37
- return ListListenersCommand;
38
- }($Command));
39
- export { ListListenersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListTagsForResourceCommand, serializeAws_json1_1ListTagsForResourceCommand, } from "../protocols/Aws_json1_1";
6
- var ListTagsForResourceCommand = (function (_super) {
7
- __extends(ListTagsForResourceCommand, _super);
8
- function ListTagsForResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTagsForResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "ListTagsForResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "ListTagsForResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTagsForResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1ListTagsForResourceCommand(input, context);
33
- };
34
- ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListTagsForResourceCommand(output, context);
36
- };
37
- return ListTagsForResourceCommand;
38
- }($Command));
39
- export { ListTagsForResourceCommand };
31
+ }
32
+ }
@@ -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 { ProvisionByoipCidrRequestFilterSensitiveLog, ProvisionByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ProvisionByoipCidrCommand, serializeAws_json1_1ProvisionByoipCidrCommand, } from "../protocols/Aws_json1_1";
6
- var ProvisionByoipCidrCommand = (function (_super) {
7
- __extends(ProvisionByoipCidrCommand, _super);
8
- function ProvisionByoipCidrCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ProvisionByoipCidrCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ProvisionByoipCidrCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "ProvisionByoipCidrCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "ProvisionByoipCidrCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ProvisionByoipCidrRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ProvisionByoipCidrResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ProvisionByoipCidrCommand.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_1ProvisionByoipCidrCommand(input, context);
33
- };
34
- ProvisionByoipCidrCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ProvisionByoipCidrCommand(output, context);
36
- };
37
- return ProvisionByoipCidrCommand;
38
- }($Command));
39
- export { ProvisionByoipCidrCommand };
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 { RemoveCustomRoutingEndpointsRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1RemoveCustomRoutingEndpointsCommand, serializeAws_json1_1RemoveCustomRoutingEndpointsCommand, } from "../protocols/Aws_json1_1";
6
- var RemoveCustomRoutingEndpointsCommand = (function (_super) {
7
- __extends(RemoveCustomRoutingEndpointsCommand, _super);
8
- function RemoveCustomRoutingEndpointsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RemoveCustomRoutingEndpointsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RemoveCustomRoutingEndpointsCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "RemoveCustomRoutingEndpointsCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "RemoveCustomRoutingEndpointsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RemoveCustomRoutingEndpointsRequestFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RemoveCustomRoutingEndpointsCommand.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_1RemoveCustomRoutingEndpointsCommand(input, context);
33
- };
34
- RemoveCustomRoutingEndpointsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1RemoveCustomRoutingEndpointsCommand(output, context);
36
- };
37
- return RemoveCustomRoutingEndpointsCommand;
38
- }($Command));
39
- export { RemoveCustomRoutingEndpointsCommand };
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 { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1TagResourceCommand, serializeAws_json1_1TagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var TagResourceCommand = (function (_super) {
7
- __extends(TagResourceCommand, _super);
8
- function TagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class TagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- TagResourceCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "TagResourceCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "TagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- TagResourceCommand.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_1TagResourceCommand(input, context);
33
- };
34
- TagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1TagResourceCommand(output, context);
36
- };
37
- return TagResourceCommand;
38
- }($Command));
39
- export { TagResourceCommand };
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 { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UntagResourceCommand, serializeAws_json1_1UntagResourceCommand, } from "../protocols/Aws_json1_1";
6
- var UntagResourceCommand = (function (_super) {
7
- __extends(UntagResourceCommand, _super);
8
- function UntagResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class UntagResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UntagResourceCommand.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 = "GlobalAcceleratorClient";
18
- var commandName = "UntagResourceCommand";
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 = "GlobalAcceleratorClient";
15
+ const commandName = "UntagResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- UntagResourceCommand.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_1UntagResourceCommand(input, context);
33
- };
34
- UntagResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UntagResourceCommand(output, context);
36
- };
37
- return UntagResourceCommand;
38
- }($Command));
39
- export { UntagResourceCommand };
31
+ }
32
+ }