@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 { UpdateAcceleratorAttributesRequestFilterSensitiveLog, UpdateAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateAcceleratorAttributesCommand, serializeAws_json1_1UpdateAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateAcceleratorAttributesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAcceleratorAttributesCommand = (function (_super) {
7
+ __extends(UpdateAcceleratorAttributesCommand, _super);
8
+ function UpdateAcceleratorAttributesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAcceleratorAttributesCommand.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 = "UpdateAcceleratorAttributesCommand";
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 = "UpdateAcceleratorAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAcceleratorAttributesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAcceleratorAttributesResponseFilterSensitiveLog,
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
+ UpdateAcceleratorAttributesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateAcceleratorAttributesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateAcceleratorAttributesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAcceleratorAttributesCommand;
38
+ }($Command));
39
+ export { UpdateAcceleratorAttributesCommand };
@@ -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 { UpdateAcceleratorRequestFilterSensitiveLog, UpdateAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateAcceleratorCommand, serializeAws_json1_1UpdateAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateAcceleratorCommand = (function (_super) {
7
+ __extends(UpdateAcceleratorCommand, _super);
8
+ function UpdateAcceleratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateAcceleratorCommand.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 = "UpdateAcceleratorCommand";
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 = "UpdateAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateAcceleratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateAcceleratorResponseFilterSensitiveLog,
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
+ UpdateAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateAcceleratorCommand;
38
+ }($Command));
39
+ export { UpdateAcceleratorCommand };
@@ -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 { UpdateCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog, UpdateCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand, serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateCustomRoutingAcceleratorAttributesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateCustomRoutingAcceleratorAttributesCommand = (function (_super) {
7
+ __extends(UpdateCustomRoutingAcceleratorAttributesCommand, _super);
8
+ function UpdateCustomRoutingAcceleratorAttributesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateCustomRoutingAcceleratorAttributesCommand.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 = "UpdateCustomRoutingAcceleratorAttributesCommand";
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 = "UpdateCustomRoutingAcceleratorAttributesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog,
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
+ UpdateCustomRoutingAcceleratorAttributesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateCustomRoutingAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateCustomRoutingAcceleratorAttributesCommand;
38
+ }($Command));
39
+ export { UpdateCustomRoutingAcceleratorAttributesCommand };
@@ -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 { UpdateCustomRoutingAcceleratorRequestFilterSensitiveLog, UpdateCustomRoutingAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand, serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateCustomRoutingAcceleratorCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateCustomRoutingAcceleratorCommand = (function (_super) {
7
+ __extends(UpdateCustomRoutingAcceleratorCommand, _super);
8
+ function UpdateCustomRoutingAcceleratorCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateCustomRoutingAcceleratorCommand.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 = "UpdateCustomRoutingAcceleratorCommand";
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 = "UpdateCustomRoutingAcceleratorCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateCustomRoutingAcceleratorRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateCustomRoutingAcceleratorResponseFilterSensitiveLog,
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
+ UpdateCustomRoutingAcceleratorCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateCustomRoutingAcceleratorCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateCustomRoutingAcceleratorCommand;
38
+ }($Command));
39
+ export { UpdateCustomRoutingAcceleratorCommand };
@@ -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 { UpdateCustomRoutingListenerRequestFilterSensitiveLog, UpdateCustomRoutingListenerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateCustomRoutingListenerCommand, serializeAws_json1_1UpdateCustomRoutingListenerCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateCustomRoutingListenerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateCustomRoutingListenerCommand = (function (_super) {
7
+ __extends(UpdateCustomRoutingListenerCommand, _super);
8
+ function UpdateCustomRoutingListenerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateCustomRoutingListenerCommand.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 = "UpdateCustomRoutingListenerCommand";
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 = "UpdateCustomRoutingListenerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateCustomRoutingListenerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateCustomRoutingListenerResponseFilterSensitiveLog,
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
+ UpdateCustomRoutingListenerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateCustomRoutingListenerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateCustomRoutingListenerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateCustomRoutingListenerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateCustomRoutingListenerCommand;
38
+ }($Command));
39
+ export { UpdateCustomRoutingListenerCommand };
@@ -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 { UpdateEndpointGroupRequestFilterSensitiveLog, UpdateEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateEndpointGroupCommand, serializeAws_json1_1UpdateEndpointGroupCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateEndpointGroupCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateEndpointGroupCommand = (function (_super) {
7
+ __extends(UpdateEndpointGroupCommand, _super);
8
+ function UpdateEndpointGroupCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateEndpointGroupCommand.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 = "UpdateEndpointGroupCommand";
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 = "UpdateEndpointGroupCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateEndpointGroupRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateEndpointGroupResponseFilterSensitiveLog,
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
+ UpdateEndpointGroupCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateEndpointGroupCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateEndpointGroupCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateEndpointGroupCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateEndpointGroupCommand;
38
+ }($Command));
39
+ export { UpdateEndpointGroupCommand };
@@ -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 { UpdateListenerRequestFilterSensitiveLog, UpdateListenerResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateListenerCommand, serializeAws_json1_1UpdateListenerCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateListenerCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateListenerCommand = (function (_super) {
7
+ __extends(UpdateListenerCommand, _super);
8
+ function UpdateListenerCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateListenerCommand.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 = "UpdateListenerCommand";
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 = "UpdateListenerCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateListenerRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateListenerResponseFilterSensitiveLog,
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
+ UpdateListenerCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateListenerCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateListenerCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateListenerCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateListenerCommand;
38
+ }($Command));
39
+ export { UpdateListenerCommand };
@@ -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 { WithdrawByoipCidrRequestFilterSensitiveLog, WithdrawByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1WithdrawByoipCidrCommand, serializeAws_json1_1WithdrawByoipCidrCommand, } from "../protocols/Aws_json1_1";
5
- export class WithdrawByoipCidrCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var WithdrawByoipCidrCommand = (function (_super) {
7
+ __extends(WithdrawByoipCidrCommand, _super);
8
+ function WithdrawByoipCidrCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ WithdrawByoipCidrCommand.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 = "WithdrawByoipCidrCommand";
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 = "WithdrawByoipCidrCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: WithdrawByoipCidrRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: WithdrawByoipCidrResponseFilterSensitiveLog,
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
+ WithdrawByoipCidrCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1WithdrawByoipCidrCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ WithdrawByoipCidrCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1WithdrawByoipCidrCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return WithdrawByoipCidrCommand;
38
+ }($Command));
39
+ export { WithdrawByoipCidrCommand };
@@ -1,6 +1,7 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {};
3
- const partitionHash = {
3
+ var regionHash = {};
4
+ var partitionHash = {
4
5
  aws: {
5
6
  regions: [
6
7
  "af-south-1",
@@ -120,9 +121,8 @@ const partitionHash = {
120
121
  ],
121
122
  },
122
123
  };
123
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
- ...options,
125
- signingService: "globalaccelerator",
126
- regionHash,
127
- partitionHash,
128
- });
124
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
125
+ return __generator(this, function (_a) {
126
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "globalaccelerator", regionHash: regionHash, partitionHash: partitionHash }))];
127
+ });
128
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class GlobalAcceleratorServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, GlobalAcceleratorServiceException.prototype);
3
+ var GlobalAcceleratorServiceException = (function (_super) {
4
+ __extends(GlobalAcceleratorServiceException, _super);
5
+ function GlobalAcceleratorServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, GlobalAcceleratorServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return GlobalAcceleratorServiceException;
11
+ }(__ServiceException));
12
+ export { GlobalAcceleratorServiceException };