@aws-sdk/client-global-accelerator 3.183.0 → 3.185.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.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/GlobalAccelerator.js +197 -190
- package/dist-es/GlobalAcceleratorClient.js +28 -22
- package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +28 -21
- package/dist-es/commands/AdvertiseByoipCidrCommand.js +28 -21
- package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +29 -22
- package/dist-es/commands/CreateAcceleratorCommand.js +28 -21
- package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +28 -21
- package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +28 -21
- package/dist-es/commands/CreateCustomRoutingListenerCommand.js +28 -21
- package/dist-es/commands/CreateEndpointGroupCommand.js +28 -21
- package/dist-es/commands/CreateListenerCommand.js +28 -21
- package/dist-es/commands/DeleteAcceleratorCommand.js +29 -22
- package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +29 -22
- package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +29 -22
- package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +29 -22
- package/dist-es/commands/DeleteEndpointGroupCommand.js +29 -22
- package/dist-es/commands/DeleteListenerCommand.js +29 -22
- package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +29 -22
- package/dist-es/commands/DeprovisionByoipCidrCommand.js +28 -21
- package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +28 -21
- package/dist-es/commands/DescribeAcceleratorCommand.js +28 -21
- package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +28 -21
- package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +28 -21
- package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +28 -21
- package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointGroupCommand.js +28 -21
- package/dist-es/commands/DescribeListenerCommand.js +28 -21
- package/dist-es/commands/ListAcceleratorsCommand.js +28 -21
- package/dist-es/commands/ListByoipCidrsCommand.js +28 -21
- package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +28 -21
- package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +28 -21
- package/dist-es/commands/ListCustomRoutingListenersCommand.js +28 -21
- package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +28 -21
- package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +28 -21
- package/dist-es/commands/ListEndpointGroupsCommand.js +28 -21
- package/dist-es/commands/ListListenersCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/ProvisionByoipCidrCommand.js +28 -21
- package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +29 -22
- package/dist-es/commands/TagResourceCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +28 -21
- package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +28 -21
- package/dist-es/commands/UpdateAcceleratorCommand.js +28 -21
- package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +28 -21
- package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +28 -21
- package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +28 -21
- package/dist-es/commands/UpdateEndpointGroupCommand.js +28 -21
- package/dist-es/commands/UpdateListenerCommand.js +28 -21
- package/dist-es/commands/WithdrawByoipCidrCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/GlobalAcceleratorServiceException.js +10 -5
- package/dist-es/models/models_0.js +327 -546
- package/dist-es/pagination/ListAcceleratorsPaginator.js +68 -25
- package/dist-es/pagination/ListByoipCidrsPaginator.js +68 -25
- package/dist-es/pagination/ListCustomRoutingAcceleratorsPaginator.js +68 -25
- package/dist-es/pagination/ListCustomRoutingEndpointGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListCustomRoutingListenersPaginator.js +68 -25
- package/dist-es/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +68 -25
- package/dist-es/pagination/ListCustomRoutingPortMappingsPaginator.js +68 -25
- package/dist-es/pagination/ListEndpointGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListListenersPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +4071 -3127
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
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 };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
-
|
|
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
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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 };
|