@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,3 +1,4 @@
1
+ import { __extends } from "tslib";
1
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
2
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,26 +9,31 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
10
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
- export class GlobalAcceleratorClient extends __Client {
12
- constructor(configuration) {
13
- const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
22
- this.middlewareStack.use(getRetryPlugin(this.config));
23
- this.middlewareStack.use(getContentLengthPlugin(this.config));
24
- this.middlewareStack.use(getHostHeaderPlugin(this.config));
25
- this.middlewareStack.use(getLoggerPlugin(this.config));
26
- this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
27
- this.middlewareStack.use(getAwsAuthPlugin(this.config));
28
- this.middlewareStack.use(getUserAgentPlugin(this.config));
12
+ var GlobalAcceleratorClient = (function (_super) {
13
+ __extends(GlobalAcceleratorClient, _super);
14
+ function GlobalAcceleratorClient(configuration) {
15
+ var _this = this;
16
+ var _config_0 = __getRuntimeConfig(configuration);
17
+ var _config_1 = resolveRegionConfig(_config_0);
18
+ var _config_2 = resolveEndpointsConfig(_config_1);
19
+ var _config_3 = resolveRetryConfig(_config_2);
20
+ var _config_4 = resolveHostHeaderConfig(_config_3);
21
+ var _config_5 = resolveAwsAuthConfig(_config_4);
22
+ var _config_6 = resolveUserAgentConfig(_config_5);
23
+ _this = _super.call(this, _config_6) || this;
24
+ _this.config = _config_6;
25
+ _this.middlewareStack.use(getRetryPlugin(_this.config));
26
+ _this.middlewareStack.use(getContentLengthPlugin(_this.config));
27
+ _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
28
+ _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
30
+ _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
31
+ _this.middlewareStack.use(getUserAgentPlugin(_this.config));
32
+ return _this;
29
33
  }
30
- destroy() {
31
- super.destroy();
32
- }
33
- }
34
+ GlobalAcceleratorClient.prototype.destroy = function () {
35
+ _super.prototype.destroy.call(this);
36
+ };
37
+ return GlobalAcceleratorClient;
38
+ }(__Client));
39
+ export { GlobalAcceleratorClient };
@@ -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 { AddCustomRoutingEndpointsRequestFilterSensitiveLog, AddCustomRoutingEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AddCustomRoutingEndpointsCommand, serializeAws_json1_1AddCustomRoutingEndpointsCommand, } from "../protocols/Aws_json1_1";
5
- export class AddCustomRoutingEndpointsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AddCustomRoutingEndpointsCommand = (function (_super) {
7
+ __extends(AddCustomRoutingEndpointsCommand, _super);
8
+ function AddCustomRoutingEndpointsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AddCustomRoutingEndpointsCommand.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 = "AddCustomRoutingEndpointsCommand";
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 = "AddCustomRoutingEndpointsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AddCustomRoutingEndpointsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AddCustomRoutingEndpointsResponseFilterSensitiveLog,
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
+ AddCustomRoutingEndpointsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AddCustomRoutingEndpointsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AddCustomRoutingEndpointsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AddCustomRoutingEndpointsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AddCustomRoutingEndpointsCommand;
38
+ }($Command));
39
+ export { AddCustomRoutingEndpointsCommand };
@@ -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 { AdvertiseByoipCidrRequestFilterSensitiveLog, AdvertiseByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AdvertiseByoipCidrCommand, serializeAws_json1_1AdvertiseByoipCidrCommand, } from "../protocols/Aws_json1_1";
5
- export class AdvertiseByoipCidrCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AdvertiseByoipCidrCommand = (function (_super) {
7
+ __extends(AdvertiseByoipCidrCommand, _super);
8
+ function AdvertiseByoipCidrCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AdvertiseByoipCidrCommand.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 = "AdvertiseByoipCidrCommand";
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 = "AdvertiseByoipCidrCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AdvertiseByoipCidrRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: AdvertiseByoipCidrResponseFilterSensitiveLog,
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
+ AdvertiseByoipCidrCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AdvertiseByoipCidrCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AdvertiseByoipCidrCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AdvertiseByoipCidrCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AdvertiseByoipCidrCommand;
38
+ }($Command));
39
+ export { AdvertiseByoipCidrCommand };
@@ -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 { AllowCustomRoutingTrafficRequestFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1AllowCustomRoutingTrafficCommand, serializeAws_json1_1AllowCustomRoutingTrafficCommand, } from "../protocols/Aws_json1_1";
5
- export class AllowCustomRoutingTrafficCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var AllowCustomRoutingTrafficCommand = (function (_super) {
7
+ __extends(AllowCustomRoutingTrafficCommand, _super);
8
+ function AllowCustomRoutingTrafficCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ AllowCustomRoutingTrafficCommand.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 = "AllowCustomRoutingTrafficCommand";
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 = "AllowCustomRoutingTrafficCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: AllowCustomRoutingTrafficRequestFilterSensitiveLog,
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
+ AllowCustomRoutingTrafficCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1AllowCustomRoutingTrafficCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ AllowCustomRoutingTrafficCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1AllowCustomRoutingTrafficCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return AllowCustomRoutingTrafficCommand;
38
+ }($Command));
39
+ export { AllowCustomRoutingTrafficCommand };
@@ -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 { CreateAcceleratorRequestFilterSensitiveLog, CreateAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateAcceleratorCommand, serializeAws_json1_1CreateAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateAcceleratorCommand = (function (_super) {
7
+ __extends(CreateAcceleratorCommand, _super);
8
+ function CreateAcceleratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateAcceleratorCommand.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 = "CreateAcceleratorCommand";
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 = "CreateAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateAcceleratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateAcceleratorResponseFilterSensitiveLog,
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
+ CreateAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateAcceleratorCommand;
38
+ }($Command));
39
+ export { CreateAcceleratorCommand };
@@ -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 { CreateCustomRoutingAcceleratorRequestFilterSensitiveLog, CreateCustomRoutingAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateCustomRoutingAcceleratorCommand, serializeAws_json1_1CreateCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateCustomRoutingAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateCustomRoutingAcceleratorCommand = (function (_super) {
7
+ __extends(CreateCustomRoutingAcceleratorCommand, _super);
8
+ function CreateCustomRoutingAcceleratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCustomRoutingAcceleratorCommand.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 = "CreateCustomRoutingAcceleratorCommand";
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 = "CreateCustomRoutingAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCustomRoutingAcceleratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateCustomRoutingAcceleratorResponseFilterSensitiveLog,
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
+ CreateCustomRoutingAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateCustomRoutingAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCustomRoutingAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateCustomRoutingAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCustomRoutingAcceleratorCommand;
38
+ }($Command));
39
+ export { CreateCustomRoutingAcceleratorCommand };
@@ -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 { CreateCustomRoutingEndpointGroupRequestFilterSensitiveLog, CreateCustomRoutingEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateCustomRoutingEndpointGroupCommand, serializeAws_json1_1CreateCustomRoutingEndpointGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateCustomRoutingEndpointGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateCustomRoutingEndpointGroupCommand = (function (_super) {
7
+ __extends(CreateCustomRoutingEndpointGroupCommand, _super);
8
+ function CreateCustomRoutingEndpointGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCustomRoutingEndpointGroupCommand.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 = "CreateCustomRoutingEndpointGroupCommand";
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 = "CreateCustomRoutingEndpointGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCustomRoutingEndpointGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateCustomRoutingEndpointGroupResponseFilterSensitiveLog,
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
+ CreateCustomRoutingEndpointGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateCustomRoutingEndpointGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCustomRoutingEndpointGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateCustomRoutingEndpointGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCustomRoutingEndpointGroupCommand;
38
+ }($Command));
39
+ export { CreateCustomRoutingEndpointGroupCommand };
@@ -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 { CreateCustomRoutingListenerRequestFilterSensitiveLog, CreateCustomRoutingListenerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateCustomRoutingListenerCommand, serializeAws_json1_1CreateCustomRoutingListenerCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateCustomRoutingListenerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateCustomRoutingListenerCommand = (function (_super) {
7
+ __extends(CreateCustomRoutingListenerCommand, _super);
8
+ function CreateCustomRoutingListenerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateCustomRoutingListenerCommand.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 = "CreateCustomRoutingListenerCommand";
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 = "CreateCustomRoutingListenerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateCustomRoutingListenerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateCustomRoutingListenerResponseFilterSensitiveLog,
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
+ CreateCustomRoutingListenerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateCustomRoutingListenerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateCustomRoutingListenerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateCustomRoutingListenerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateCustomRoutingListenerCommand;
38
+ }($Command));
39
+ export { CreateCustomRoutingListenerCommand };
@@ -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 { CreateEndpointGroupRequestFilterSensitiveLog, CreateEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateEndpointGroupCommand, serializeAws_json1_1CreateEndpointGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateEndpointGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateEndpointGroupCommand = (function (_super) {
7
+ __extends(CreateEndpointGroupCommand, _super);
8
+ function CreateEndpointGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateEndpointGroupCommand.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 = "CreateEndpointGroupCommand";
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 = "CreateEndpointGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateEndpointGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateEndpointGroupResponseFilterSensitiveLog,
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
+ CreateEndpointGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateEndpointGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateEndpointGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateEndpointGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateEndpointGroupCommand;
38
+ }($Command));
39
+ export { CreateEndpointGroupCommand };
@@ -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 { CreateListenerRequestFilterSensitiveLog, CreateListenerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateListenerCommand, serializeAws_json1_1CreateListenerCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateListenerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateListenerCommand = (function (_super) {
7
+ __extends(CreateListenerCommand, _super);
8
+ function CreateListenerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateListenerCommand.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 = "CreateListenerCommand";
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 = "CreateListenerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateListenerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateListenerResponseFilterSensitiveLog,
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
+ CreateListenerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateListenerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateListenerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateListenerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateListenerCommand;
38
+ }($Command));
39
+ export { CreateListenerCommand };