@aws-sdk/client-global-accelerator 3.183.0 → 3.186.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 +19 -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 +33 -33
@@ -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 { DeleteAcceleratorRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteAcceleratorCommand, serializeAws_json1_1DeleteAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAcceleratorCommand.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 = "DeleteAcceleratorCommand";
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 = "DeleteAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAcceleratorRequestFilterSensitiveLog,
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
+ DeleteAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAcceleratorCommand;
38
+ }($Command));
39
+ export { DeleteAcceleratorCommand };
@@ -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 { DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand, serializeAws_json1_1DeleteCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteCustomRoutingAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomRoutingAcceleratorCommand.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 = "DeleteCustomRoutingAcceleratorCommand";
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 = "DeleteCustomRoutingAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog,
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
+ DeleteCustomRoutingAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteCustomRoutingAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomRoutingAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomRoutingAcceleratorCommand;
38
+ }($Command));
39
+ export { DeleteCustomRoutingAcceleratorCommand };
@@ -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 { DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand, serializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteCustomRoutingEndpointGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomRoutingEndpointGroupCommand.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 = "DeleteCustomRoutingEndpointGroupCommand";
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 = "DeleteCustomRoutingEndpointGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog,
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
+ DeleteCustomRoutingEndpointGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomRoutingEndpointGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomRoutingEndpointGroupCommand;
38
+ }($Command));
39
+ export { DeleteCustomRoutingEndpointGroupCommand };
@@ -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 { DeleteCustomRoutingListenerRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteCustomRoutingListenerCommand, serializeAws_json1_1DeleteCustomRoutingListenerCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteCustomRoutingListenerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteCustomRoutingListenerCommand.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 = "DeleteCustomRoutingListenerCommand";
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 = "DeleteCustomRoutingListenerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteCustomRoutingListenerRequestFilterSensitiveLog,
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
+ DeleteCustomRoutingListenerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteCustomRoutingListenerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteCustomRoutingListenerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteCustomRoutingListenerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteCustomRoutingListenerCommand;
38
+ }($Command));
39
+ export { DeleteCustomRoutingListenerCommand };
@@ -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 { DeleteEndpointGroupRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteEndpointGroupCommand, serializeAws_json1_1DeleteEndpointGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteEndpointGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteEndpointGroupCommand.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 = "DeleteEndpointGroupCommand";
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 = "DeleteEndpointGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteEndpointGroupRequestFilterSensitiveLog,
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
+ DeleteEndpointGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteEndpointGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteEndpointGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteEndpointGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteEndpointGroupCommand;
38
+ }($Command));
39
+ export { DeleteEndpointGroupCommand };
@@ -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 { DeleteListenerRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteListenerCommand, serializeAws_json1_1DeleteListenerCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteListenerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteListenerCommand.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 = "DeleteListenerCommand";
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 = "DeleteListenerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteListenerRequestFilterSensitiveLog,
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
+ DeleteListenerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteListenerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteListenerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteListenerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteListenerCommand;
38
+ }($Command));
39
+ export { DeleteListenerCommand };
@@ -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 { DenyCustomRoutingTrafficRequestFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DenyCustomRoutingTrafficCommand, serializeAws_json1_1DenyCustomRoutingTrafficCommand, } from "../protocols/Aws_json1_1";
5
- export class DenyCustomRoutingTrafficCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DenyCustomRoutingTrafficCommand.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 = "DenyCustomRoutingTrafficCommand";
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 = "DenyCustomRoutingTrafficCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DenyCustomRoutingTrafficRequestFilterSensitiveLog,
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
+ DenyCustomRoutingTrafficCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DenyCustomRoutingTrafficCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DenyCustomRoutingTrafficCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DenyCustomRoutingTrafficCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DenyCustomRoutingTrafficCommand;
38
+ }($Command));
39
+ export { DenyCustomRoutingTrafficCommand };
@@ -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 { DeprovisionByoipCidrRequestFilterSensitiveLog, DeprovisionByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeprovisionByoipCidrCommand, serializeAws_json1_1DeprovisionByoipCidrCommand, } from "../protocols/Aws_json1_1";
5
- export class DeprovisionByoipCidrCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeprovisionByoipCidrCommand.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 = "DeprovisionByoipCidrCommand";
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 = "DeprovisionByoipCidrCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeprovisionByoipCidrRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeprovisionByoipCidrResponseFilterSensitiveLog,
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
+ DeprovisionByoipCidrCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeprovisionByoipCidrCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeprovisionByoipCidrCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeprovisionByoipCidrCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeprovisionByoipCidrCommand;
38
+ }($Command));
39
+ export { DeprovisionByoipCidrCommand };
@@ -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 { DescribeAcceleratorAttributesRequestFilterSensitiveLog, DescribeAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAcceleratorAttributesCommand, serializeAws_json1_1DescribeAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAcceleratorAttributesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAcceleratorAttributesCommand.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 = "DescribeAcceleratorAttributesCommand";
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 = "DescribeAcceleratorAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAcceleratorAttributesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAcceleratorAttributesResponseFilterSensitiveLog,
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
+ DescribeAcceleratorAttributesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAcceleratorAttributesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAcceleratorAttributesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAcceleratorAttributesCommand;
38
+ }($Command));
39
+ export { DescribeAcceleratorAttributesCommand };
@@ -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 { DescribeAcceleratorRequestFilterSensitiveLog, DescribeAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DescribeAcceleratorCommand, serializeAws_json1_1DescribeAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class DescribeAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAcceleratorCommand.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 = "DescribeAcceleratorCommand";
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 = "DescribeAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAcceleratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAcceleratorResponseFilterSensitiveLog,
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
+ DescribeAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DescribeAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DescribeAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAcceleratorCommand;
38
+ }($Command));
39
+ export { DescribeAcceleratorCommand };