@aws-sdk/client-global-accelerator 3.186.0 → 3.190.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 { DeleteAcceleratorRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteAcceleratorCommand, serializeAws_json1_1DeleteAcceleratorCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteAcceleratorCommand = (function (_super) {
7
- __extends(DeleteAcceleratorCommand, _super);
8
- function DeleteAcceleratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteAcceleratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteAcceleratorCommand.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 = "DeleteAcceleratorCommand";
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 = "DeleteAcceleratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteAcceleratorRequestFilterSensitiveLog,
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
- DeleteAcceleratorCommand.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_1DeleteAcceleratorCommand(input, context);
33
- };
34
- DeleteAcceleratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteAcceleratorCommand(output, context);
36
- };
37
- return DeleteAcceleratorCommand;
38
- }($Command));
39
- export { DeleteAcceleratorCommand };
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 { DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand, serializeAws_json1_1DeleteCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteCustomRoutingAcceleratorCommand = (function (_super) {
7
- __extends(DeleteCustomRoutingAcceleratorCommand, _super);
8
- function DeleteCustomRoutingAcceleratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCustomRoutingAcceleratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCustomRoutingAcceleratorCommand.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 = "DeleteCustomRoutingAcceleratorCommand";
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 = "DeleteCustomRoutingAcceleratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog,
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
- DeleteCustomRoutingAcceleratorCommand.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_1DeleteCustomRoutingAcceleratorCommand(input, context);
33
- };
34
- DeleteCustomRoutingAcceleratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand(output, context);
36
- };
37
- return DeleteCustomRoutingAcceleratorCommand;
38
- }($Command));
39
- export { DeleteCustomRoutingAcceleratorCommand };
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 { DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand, serializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteCustomRoutingEndpointGroupCommand = (function (_super) {
7
- __extends(DeleteCustomRoutingEndpointGroupCommand, _super);
8
- function DeleteCustomRoutingEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCustomRoutingEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCustomRoutingEndpointGroupCommand.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 = "DeleteCustomRoutingEndpointGroupCommand";
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 = "DeleteCustomRoutingEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog,
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
- DeleteCustomRoutingEndpointGroupCommand.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_1DeleteCustomRoutingEndpointGroupCommand(input, context);
33
- };
34
- DeleteCustomRoutingEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand(output, context);
36
- };
37
- return DeleteCustomRoutingEndpointGroupCommand;
38
- }($Command));
39
- export { DeleteCustomRoutingEndpointGroupCommand };
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 { DeleteCustomRoutingListenerRequestFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteCustomRoutingListenerCommand, serializeAws_json1_1DeleteCustomRoutingListenerCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteCustomRoutingListenerCommand = (function (_super) {
7
- __extends(DeleteCustomRoutingListenerCommand, _super);
8
- function DeleteCustomRoutingListenerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteCustomRoutingListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteCustomRoutingListenerCommand.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 = "DeleteCustomRoutingListenerCommand";
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 = "DeleteCustomRoutingListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteCustomRoutingListenerRequestFilterSensitiveLog,
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
- DeleteCustomRoutingListenerCommand.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_1DeleteCustomRoutingListenerCommand(input, context);
33
- };
34
- DeleteCustomRoutingListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteCustomRoutingListenerCommand(output, context);
36
- };
37
- return DeleteCustomRoutingListenerCommand;
38
- }($Command));
39
- export { DeleteCustomRoutingListenerCommand };
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 { DeleteEndpointGroupRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteEndpointGroupCommand, serializeAws_json1_1DeleteEndpointGroupCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteEndpointGroupCommand = (function (_super) {
7
- __extends(DeleteEndpointGroupCommand, _super);
8
- function DeleteEndpointGroupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteEndpointGroupCommand.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 = "DeleteEndpointGroupCommand";
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 = "DeleteEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteEndpointGroupRequestFilterSensitiveLog,
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
- DeleteEndpointGroupCommand.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_1DeleteEndpointGroupCommand(input, context);
33
- };
34
- DeleteEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteEndpointGroupCommand(output, context);
36
- };
37
- return DeleteEndpointGroupCommand;
38
- }($Command));
39
- export { DeleteEndpointGroupCommand };
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 { DeleteListenerRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeleteListenerCommand, serializeAws_json1_1DeleteListenerCommand, } from "../protocols/Aws_json1_1";
6
- var DeleteListenerCommand = (function (_super) {
7
- __extends(DeleteListenerCommand, _super);
8
- function DeleteListenerCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeleteListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeleteListenerCommand.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 = "DeleteListenerCommand";
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 = "DeleteListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeleteListenerRequestFilterSensitiveLog,
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
- DeleteListenerCommand.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_1DeleteListenerCommand(input, context);
33
- };
34
- DeleteListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeleteListenerCommand(output, context);
36
- };
37
- return DeleteListenerCommand;
38
- }($Command));
39
- export { DeleteListenerCommand };
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 { DenyCustomRoutingTrafficRequestFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DenyCustomRoutingTrafficCommand, serializeAws_json1_1DenyCustomRoutingTrafficCommand, } from "../protocols/Aws_json1_1";
6
- var DenyCustomRoutingTrafficCommand = (function (_super) {
7
- __extends(DenyCustomRoutingTrafficCommand, _super);
8
- function DenyCustomRoutingTrafficCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DenyCustomRoutingTrafficCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DenyCustomRoutingTrafficCommand.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 = "DenyCustomRoutingTrafficCommand";
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 = "DenyCustomRoutingTrafficCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DenyCustomRoutingTrafficRequestFilterSensitiveLog,
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
- DenyCustomRoutingTrafficCommand.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_1DenyCustomRoutingTrafficCommand(input, context);
33
- };
34
- DenyCustomRoutingTrafficCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DenyCustomRoutingTrafficCommand(output, context);
36
- };
37
- return DenyCustomRoutingTrafficCommand;
38
- }($Command));
39
- export { DenyCustomRoutingTrafficCommand };
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 { DeprovisionByoipCidrRequestFilterSensitiveLog, DeprovisionByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DeprovisionByoipCidrCommand, serializeAws_json1_1DeprovisionByoipCidrCommand, } from "../protocols/Aws_json1_1";
6
- var DeprovisionByoipCidrCommand = (function (_super) {
7
- __extends(DeprovisionByoipCidrCommand, _super);
8
- function DeprovisionByoipCidrCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DeprovisionByoipCidrCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DeprovisionByoipCidrCommand.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 = "DeprovisionByoipCidrCommand";
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 = "DeprovisionByoipCidrCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DeprovisionByoipCidrRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DeprovisionByoipCidrResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DeprovisionByoipCidrCommand.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_1DeprovisionByoipCidrCommand(input, context);
33
- };
34
- DeprovisionByoipCidrCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DeprovisionByoipCidrCommand(output, context);
36
- };
37
- return DeprovisionByoipCidrCommand;
38
- }($Command));
39
- export { DeprovisionByoipCidrCommand };
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 { DescribeAcceleratorAttributesRequestFilterSensitiveLog, DescribeAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeAcceleratorAttributesCommand, serializeAws_json1_1DescribeAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeAcceleratorAttributesCommand = (function (_super) {
7
- __extends(DescribeAcceleratorAttributesCommand, _super);
8
- function DescribeAcceleratorAttributesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAcceleratorAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAcceleratorAttributesCommand.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 = "DescribeAcceleratorAttributesCommand";
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 = "DescribeAcceleratorAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAcceleratorAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAcceleratorAttributesResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAcceleratorAttributesCommand.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_1DescribeAcceleratorAttributesCommand(input, context);
33
- };
34
- DescribeAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeAcceleratorAttributesCommand(output, context);
36
- };
37
- return DescribeAcceleratorAttributesCommand;
38
- }($Command));
39
- export { DescribeAcceleratorAttributesCommand };
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 { DescribeAcceleratorRequestFilterSensitiveLog, DescribeAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeAcceleratorCommand, serializeAws_json1_1DescribeAcceleratorCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeAcceleratorCommand = (function (_super) {
7
- __extends(DescribeAcceleratorCommand, _super);
8
- function DescribeAcceleratorCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeAcceleratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAcceleratorCommand.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 = "DescribeAcceleratorCommand";
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 = "DescribeAcceleratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeAcceleratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAcceleratorResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeAcceleratorCommand.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_1DescribeAcceleratorCommand(input, context);
33
- };
34
- DescribeAcceleratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeAcceleratorCommand(output, context);
36
- };
37
- return DescribeAcceleratorCommand;
38
- }($Command));
39
- export { DescribeAcceleratorCommand };
31
+ }
32
+ }