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

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