@aws-sdk/client-global-accelerator 3.185.0 → 3.188.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-es/GlobalAccelerator.js +190 -197
  3. package/dist-es/GlobalAcceleratorClient.js +22 -28
  4. package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +21 -28
  5. package/dist-es/commands/AdvertiseByoipCidrCommand.js +21 -28
  6. package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +22 -29
  7. package/dist-es/commands/CreateAcceleratorCommand.js +21 -28
  8. package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +21 -28
  9. package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +21 -28
  10. package/dist-es/commands/CreateCustomRoutingListenerCommand.js +21 -28
  11. package/dist-es/commands/CreateEndpointGroupCommand.js +21 -28
  12. package/dist-es/commands/CreateListenerCommand.js +21 -28
  13. package/dist-es/commands/DeleteAcceleratorCommand.js +22 -29
  14. package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +22 -29
  15. package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +22 -29
  16. package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +22 -29
  17. package/dist-es/commands/DeleteEndpointGroupCommand.js +22 -29
  18. package/dist-es/commands/DeleteListenerCommand.js +22 -29
  19. package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +22 -29
  20. package/dist-es/commands/DeprovisionByoipCidrCommand.js +21 -28
  21. package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +21 -28
  22. package/dist-es/commands/DescribeAcceleratorCommand.js +21 -28
  23. package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +21 -28
  24. package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +21 -28
  25. package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +21 -28
  26. package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +21 -28
  27. package/dist-es/commands/DescribeEndpointGroupCommand.js +21 -28
  28. package/dist-es/commands/DescribeListenerCommand.js +21 -28
  29. package/dist-es/commands/ListAcceleratorsCommand.js +21 -28
  30. package/dist-es/commands/ListByoipCidrsCommand.js +21 -28
  31. package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +21 -28
  32. package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +21 -28
  33. package/dist-es/commands/ListCustomRoutingListenersCommand.js +21 -28
  34. package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +21 -28
  35. package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +21 -28
  36. package/dist-es/commands/ListEndpointGroupsCommand.js +21 -28
  37. package/dist-es/commands/ListListenersCommand.js +21 -28
  38. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  39. package/dist-es/commands/ProvisionByoipCidrCommand.js +21 -28
  40. package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +22 -29
  41. package/dist-es/commands/TagResourceCommand.js +21 -28
  42. package/dist-es/commands/UntagResourceCommand.js +21 -28
  43. package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +21 -28
  44. package/dist-es/commands/UpdateAcceleratorCommand.js +21 -28
  45. package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +21 -28
  46. package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +21 -28
  47. package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +21 -28
  48. package/dist-es/commands/UpdateEndpointGroupCommand.js +21 -28
  49. package/dist-es/commands/UpdateListenerCommand.js +21 -28
  50. package/dist-es/commands/WithdrawByoipCidrCommand.js +21 -28
  51. package/dist-es/endpoints.js +8 -8
  52. package/dist-es/models/GlobalAcceleratorServiceException.js +5 -10
  53. package/dist-es/models/models_0.js +546 -327
  54. package/dist-es/pagination/ListAcceleratorsPaginator.js +25 -68
  55. package/dist-es/pagination/ListByoipCidrsPaginator.js +25 -68
  56. package/dist-es/pagination/ListCustomRoutingAcceleratorsPaginator.js +25 -68
  57. package/dist-es/pagination/ListCustomRoutingEndpointGroupsPaginator.js +25 -68
  58. package/dist-es/pagination/ListCustomRoutingListenersPaginator.js +25 -68
  59. package/dist-es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +25 -68
  60. package/dist-es/pagination/ListCustomRoutingPortMappingsPaginator.js +25 -68
  61. package/dist-es/pagination/ListEndpointGroupsPaginator.js +25 -68
  62. package/dist-es/pagination/ListListenersPaginator.js +25 -68
  63. package/dist-es/protocols/Aws_json1_1.js +3127 -4071
  64. package/dist-es/runtimeConfig.browser.js +26 -12
  65. package/dist-es/runtimeConfig.js +30 -12
  66. package/dist-es/runtimeConfig.native.js +8 -5
  67. package/dist-es/runtimeConfig.shared.js +8 -11
  68. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateAcceleratorAttributesRequestFilterSensitiveLog, UpdateAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateAcceleratorAttributesCommand, serializeAws_json1_1UpdateAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateAcceleratorAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateAcceleratorAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateAcceleratorAttributesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateAcceleratorAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateAcceleratorAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateAcceleratorAttributesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateAcceleratorAttributesCommand(input, context);
33
- };
34
- UpdateAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateAcceleratorAttributesCommand(output, context);
36
- };
37
- return UpdateAcceleratorAttributesCommand;
38
- }($Command));
39
- export { UpdateAcceleratorAttributesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateAcceleratorRequestFilterSensitiveLog, UpdateAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateAcceleratorCommand, serializeAws_json1_1UpdateAcceleratorCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateAcceleratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateAcceleratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateAcceleratorCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateAcceleratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateAcceleratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateAcceleratorResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateAcceleratorCommand(input, context);
33
- };
34
- UpdateAcceleratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateAcceleratorCommand(output, context);
36
- };
37
- return UpdateAcceleratorCommand;
38
- }($Command));
39
- export { UpdateAcceleratorCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog, UpdateCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand, serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateCustomRoutingAcceleratorAttributesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateCustomRoutingAcceleratorAttributesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateCustomRoutingAcceleratorAttributesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateCustomRoutingAcceleratorAttributesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand(input, context);
33
- };
34
- UpdateCustomRoutingAcceleratorAttributesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand(output, context);
36
- };
37
- return UpdateCustomRoutingAcceleratorAttributesCommand;
38
- }($Command));
39
- export { UpdateCustomRoutingAcceleratorAttributesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateCustomRoutingAcceleratorRequestFilterSensitiveLog, UpdateCustomRoutingAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand, serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateCustomRoutingAcceleratorCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateCustomRoutingAcceleratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateCustomRoutingAcceleratorCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateCustomRoutingAcceleratorCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateCustomRoutingAcceleratorRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateCustomRoutingAcceleratorResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand(input, context);
33
- };
34
- UpdateCustomRoutingAcceleratorCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand(output, context);
36
- };
37
- return UpdateCustomRoutingAcceleratorCommand;
38
- }($Command));
39
- export { UpdateCustomRoutingAcceleratorCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateCustomRoutingListenerRequestFilterSensitiveLog, UpdateCustomRoutingListenerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateCustomRoutingListenerCommand, serializeAws_json1_1UpdateCustomRoutingListenerCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateCustomRoutingListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateCustomRoutingListenerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateCustomRoutingListenerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateCustomRoutingListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateCustomRoutingListenerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateCustomRoutingListenerResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateCustomRoutingListenerCommand(input, context);
33
- };
34
- UpdateCustomRoutingListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateCustomRoutingListenerCommand(output, context);
36
- };
37
- return UpdateCustomRoutingListenerCommand;
38
- }($Command));
39
- export { UpdateCustomRoutingListenerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateEndpointGroupRequestFilterSensitiveLog, UpdateEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateEndpointGroupCommand, serializeAws_json1_1UpdateEndpointGroupCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateEndpointGroupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateEndpointGroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateEndpointGroupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateEndpointGroupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateEndpointGroupRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateEndpointGroupResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateEndpointGroupCommand(input, context);
33
- };
34
- UpdateEndpointGroupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateEndpointGroupCommand(output, context);
36
- };
37
- return UpdateEndpointGroupCommand;
38
- }($Command));
39
- export { UpdateEndpointGroupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { UpdateListenerRequestFilterSensitiveLog, UpdateListenerResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1UpdateListenerCommand, serializeAws_json1_1UpdateListenerCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class UpdateListenerCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- UpdateListenerCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "UpdateListenerCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "UpdateListenerCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: UpdateListenerRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: UpdateListenerResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1UpdateListenerCommand(input, context);
33
- };
34
- UpdateListenerCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1UpdateListenerCommand(output, context);
36
- };
37
- return UpdateListenerCommand;
38
- }($Command));
39
- export { UpdateListenerCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { WithdrawByoipCidrRequestFilterSensitiveLog, WithdrawByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1WithdrawByoipCidrCommand, serializeAws_json1_1WithdrawByoipCidrCommand, } from "../protocols/Aws_json1_1";
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;
5
+ export class WithdrawByoipCidrCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- WithdrawByoipCidrCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "GlobalAcceleratorClient";
18
- var commandName = "WithdrawByoipCidrCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "GlobalAcceleratorClient";
15
+ const commandName = "WithdrawByoipCidrCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: WithdrawByoipCidrRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: WithdrawByoipCidrResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1WithdrawByoipCidrCommand(input, context);
33
- };
34
- WithdrawByoipCidrCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1WithdrawByoipCidrCommand(output, context);
36
- };
37
- return WithdrawByoipCidrCommand;
38
- }($Command));
39
- export { WithdrawByoipCidrCommand };
31
+ }
32
+ }
@@ -1,7 +1,6 @@
1
- import { __assign, __awaiter, __generator } from "tslib";
2
1
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
- var regionHash = {};
4
- var partitionHash = {
2
+ const regionHash = {};
3
+ const partitionHash = {
5
4
  aws: {
6
5
  regions: [
7
6
  "af-south-1",
@@ -121,8 +120,9 @@ var partitionHash = {
121
120
  ],
122
121
  },
123
122
  };
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
- }); };
123
+ export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
124
+ ...options,
125
+ signingService: "globalaccelerator",
126
+ regionHash,
127
+ partitionHash,
128
+ });
@@ -1,12 +1,7 @@
1
- import { __extends } from "tslib";
2
1
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
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;
2
+ export class GlobalAcceleratorServiceException extends __ServiceException {
3
+ constructor(options) {
4
+ super(options);
5
+ Object.setPrototypeOf(this, GlobalAcceleratorServiceException.prototype);
9
6
  }
10
- return GlobalAcceleratorServiceException;
11
- }(__ServiceException));
12
- export { GlobalAcceleratorServiceException };
7
+ }