@aws-sdk/client-global-accelerator 3.185.0 → 3.188.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 +16 -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 { DescribeCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog, DescribeCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand, serializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeCustomRoutingAcceleratorAttributesCommand = (function (_super) {
7
- __extends(DescribeCustomRoutingAcceleratorAttributesCommand, _super);
8
- function DescribeCustomRoutingAcceleratorAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCustomRoutingAcceleratorAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCustomRoutingAcceleratorAttributesCommand.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 = "DescribeCustomRoutingAcceleratorAttributesCommand";
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 = "DescribeCustomRoutingAcceleratorAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCustomRoutingAcceleratorAttributesCommand.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_1DescribeCustomRoutingAcceleratorAttributesCommand(input, context);
33
- };
34
- DescribeCustomRoutingAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand(output, context);
36
- };
37
- return DescribeCustomRoutingAcceleratorAttributesCommand;
38
- }($Command));
39
- export { DescribeCustomRoutingAcceleratorAttributesCommand };
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 { DescribeCustomRoutingAcceleratorRequestFilterSensitiveLog, DescribeCustomRoutingAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommand, serializeAws_json1_1DescribeCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeCustomRoutingAcceleratorCommand = (function (_super) {
7
- __extends(DescribeCustomRoutingAcceleratorCommand, _super);
8
- function DescribeCustomRoutingAcceleratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCustomRoutingAcceleratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCustomRoutingAcceleratorCommand.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 = "DescribeCustomRoutingAcceleratorCommand";
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 = "DescribeCustomRoutingAcceleratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCustomRoutingAcceleratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeCustomRoutingAcceleratorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCustomRoutingAcceleratorCommand.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_1DescribeCustomRoutingAcceleratorCommand(input, context);
33
- };
34
- DescribeCustomRoutingAcceleratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommand(output, context);
36
- };
37
- return DescribeCustomRoutingAcceleratorCommand;
38
- }($Command));
39
- export { DescribeCustomRoutingAcceleratorCommand };
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 { DescribeCustomRoutingEndpointGroupRequestFilterSensitiveLog, DescribeCustomRoutingEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand, serializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeCustomRoutingEndpointGroupCommand = (function (_super) {
7
- __extends(DescribeCustomRoutingEndpointGroupCommand, _super);
8
- function DescribeCustomRoutingEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCustomRoutingEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCustomRoutingEndpointGroupCommand.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 = "DescribeCustomRoutingEndpointGroupCommand";
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 = "DescribeCustomRoutingEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCustomRoutingEndpointGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeCustomRoutingEndpointGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCustomRoutingEndpointGroupCommand.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_1DescribeCustomRoutingEndpointGroupCommand(input, context);
33
- };
34
- DescribeCustomRoutingEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand(output, context);
36
- };
37
- return DescribeCustomRoutingEndpointGroupCommand;
38
- }($Command));
39
- export { DescribeCustomRoutingEndpointGroupCommand };
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 { DescribeCustomRoutingListenerRequestFilterSensitiveLog, DescribeCustomRoutingListenerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeCustomRoutingListenerCommand, serializeAws_json1_1DescribeCustomRoutingListenerCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeCustomRoutingListenerCommand = (function (_super) {
7
- __extends(DescribeCustomRoutingListenerCommand, _super);
8
- function DescribeCustomRoutingListenerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeCustomRoutingListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeCustomRoutingListenerCommand.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 = "DescribeCustomRoutingListenerCommand";
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 = "DescribeCustomRoutingListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeCustomRoutingListenerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeCustomRoutingListenerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeCustomRoutingListenerCommand.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_1DescribeCustomRoutingListenerCommand(input, context);
33
- };
34
- DescribeCustomRoutingListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeCustomRoutingListenerCommand(output, context);
36
- };
37
- return DescribeCustomRoutingListenerCommand;
38
- }($Command));
39
- export { DescribeCustomRoutingListenerCommand };
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 { DescribeEndpointGroupRequestFilterSensitiveLog, DescribeEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeEndpointGroupCommand, serializeAws_json1_1DescribeEndpointGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeEndpointGroupCommand = (function (_super) {
7
- __extends(DescribeEndpointGroupCommand, _super);
8
- function DescribeEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEndpointGroupCommand.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 = "DescribeEndpointGroupCommand";
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 = "DescribeEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEndpointGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEndpointGroupResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEndpointGroupCommand.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_1DescribeEndpointGroupCommand(input, context);
33
- };
34
- DescribeEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeEndpointGroupCommand(output, context);
36
- };
37
- return DescribeEndpointGroupCommand;
38
- }($Command));
39
- export { DescribeEndpointGroupCommand };
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 { DescribeListenerRequestFilterSensitiveLog, DescribeListenerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeListenerCommand, serializeAws_json1_1DescribeListenerCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeListenerCommand = (function (_super) {
7
- __extends(DescribeListenerCommand, _super);
8
- function DescribeListenerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeListenerCommand.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 = "DescribeListenerCommand";
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 = "DescribeListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeListenerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeListenerResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeListenerCommand.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_1DescribeListenerCommand(input, context);
33
- };
34
- DescribeListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeListenerCommand(output, context);
36
- };
37
- return DescribeListenerCommand;
38
- }($Command));
39
- export { DescribeListenerCommand };
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 { ListAcceleratorsRequestFilterSensitiveLog, ListAcceleratorsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListAcceleratorsCommand, serializeAws_json1_1ListAcceleratorsCommand, } from "../protocols/Aws_json1_1";
6
- var ListAcceleratorsCommand = (function (_super) {
7
- __extends(ListAcceleratorsCommand, _super);
8
- function ListAcceleratorsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListAcceleratorsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListAcceleratorsCommand.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 = "ListAcceleratorsCommand";
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 = "ListAcceleratorsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListAcceleratorsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListAcceleratorsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListAcceleratorsCommand.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_1ListAcceleratorsCommand(input, context);
33
- };
34
- ListAcceleratorsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListAcceleratorsCommand(output, context);
36
- };
37
- return ListAcceleratorsCommand;
38
- }($Command));
39
- export { ListAcceleratorsCommand };
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 { ListByoipCidrsRequestFilterSensitiveLog, ListByoipCidrsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListByoipCidrsCommand, serializeAws_json1_1ListByoipCidrsCommand, } from "../protocols/Aws_json1_1";
6
- var ListByoipCidrsCommand = (function (_super) {
7
- __extends(ListByoipCidrsCommand, _super);
8
- function ListByoipCidrsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListByoipCidrsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListByoipCidrsCommand.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 = "ListByoipCidrsCommand";
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 = "ListByoipCidrsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListByoipCidrsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListByoipCidrsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListByoipCidrsCommand.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_1ListByoipCidrsCommand(input, context);
33
- };
34
- ListByoipCidrsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListByoipCidrsCommand(output, context);
36
- };
37
- return ListByoipCidrsCommand;
38
- }($Command));
39
- export { ListByoipCidrsCommand };
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 { ListCustomRoutingAcceleratorsRequestFilterSensitiveLog, ListCustomRoutingAcceleratorsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCustomRoutingAcceleratorsCommand, serializeAws_json1_1ListCustomRoutingAcceleratorsCommand, } from "../protocols/Aws_json1_1";
6
- var ListCustomRoutingAcceleratorsCommand = (function (_super) {
7
- __extends(ListCustomRoutingAcceleratorsCommand, _super);
8
- function ListCustomRoutingAcceleratorsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListCustomRoutingAcceleratorsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCustomRoutingAcceleratorsCommand.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 = "ListCustomRoutingAcceleratorsCommand";
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 = "ListCustomRoutingAcceleratorsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCustomRoutingAcceleratorsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCustomRoutingAcceleratorsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListCustomRoutingAcceleratorsCommand.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_1ListCustomRoutingAcceleratorsCommand(input, context);
33
- };
34
- ListCustomRoutingAcceleratorsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCustomRoutingAcceleratorsCommand(output, context);
36
- };
37
- return ListCustomRoutingAcceleratorsCommand;
38
- }($Command));
39
- export { ListCustomRoutingAcceleratorsCommand };
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 { ListCustomRoutingEndpointGroupsRequestFilterSensitiveLog, ListCustomRoutingEndpointGroupsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1ListCustomRoutingEndpointGroupsCommand, serializeAws_json1_1ListCustomRoutingEndpointGroupsCommand, } from "../protocols/Aws_json1_1";
6
- var ListCustomRoutingEndpointGroupsCommand = (function (_super) {
7
- __extends(ListCustomRoutingEndpointGroupsCommand, _super);
8
- function ListCustomRoutingEndpointGroupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListCustomRoutingEndpointGroupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListCustomRoutingEndpointGroupsCommand.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 = "ListCustomRoutingEndpointGroupsCommand";
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 = "ListCustomRoutingEndpointGroupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListCustomRoutingEndpointGroupsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListCustomRoutingEndpointGroupsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListCustomRoutingEndpointGroupsCommand.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_1ListCustomRoutingEndpointGroupsCommand(input, context);
33
- };
34
- ListCustomRoutingEndpointGroupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1ListCustomRoutingEndpointGroupsCommand(output, context);
36
- };
37
- return ListCustomRoutingEndpointGroupsCommand;
38
- }($Command));
39
- export { ListCustomRoutingEndpointGroupsCommand };
31
+ }
32
+ }