@aws-sdk/client-global-accelerator 3.192.0 → 3.193.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/GlobalAccelerator.js +30 -0
- package/dist-cjs/GlobalAcceleratorClient.js +11 -8
- package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +10 -0
- package/dist-cjs/commands/AddEndpointsCommand.js +46 -0
- package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +10 -0
- package/dist-cjs/commands/CreateAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/CreateEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/CreateListenerCommand.js +10 -0
- package/dist-cjs/commands/DeleteAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/DeleteEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DeleteListenerCommand.js +10 -0
- package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +10 -0
- package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/DescribeAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/DescribeListenerCommand.js +10 -0
- package/dist-cjs/commands/ListAcceleratorsCommand.js +10 -0
- package/dist-cjs/commands/ListByoipCidrsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +10 -0
- package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +10 -0
- package/dist-cjs/commands/ListEndpointGroupsCommand.js +10 -0
- package/dist-cjs/commands/ListListenersCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ProvisionByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +10 -0
- package/dist-cjs/commands/RemoveEndpointsCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +10 -0
- package/dist-cjs/commands/UpdateEndpointGroupCommand.js +10 -0
- package/dist-cjs/commands/UpdateListenerCommand.js +10 -0
- package/dist-cjs/commands/WithdrawByoipCidrCommand.js +10 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/models/models_0.js +62 -11
- package/dist-cjs/protocols/Aws_json1_1.js +167 -2
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/GlobalAccelerator.js +30 -0
- package/dist-es/GlobalAcceleratorClient.js +12 -9
- package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +10 -0
- package/dist-es/commands/AddEndpointsCommand.js +42 -0
- package/dist-es/commands/AdvertiseByoipCidrCommand.js +10 -0
- package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +10 -0
- package/dist-es/commands/CreateAcceleratorCommand.js +10 -0
- package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-es/commands/CreateCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/CreateEndpointGroupCommand.js +10 -0
- package/dist-es/commands/CreateListenerCommand.js +10 -0
- package/dist-es/commands/DeleteAcceleratorCommand.js +10 -0
- package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/DeleteEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DeleteListenerCommand.js +10 -0
- package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +10 -0
- package/dist-es/commands/DeprovisionByoipCidrCommand.js +10 -0
- package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/DescribeAcceleratorCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointGroupCommand.js +10 -0
- package/dist-es/commands/DescribeListenerCommand.js +10 -0
- package/dist-es/commands/ListAcceleratorsCommand.js +10 -0
- package/dist-es/commands/ListByoipCidrsCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingListenersCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +10 -0
- package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +10 -0
- package/dist-es/commands/ListEndpointGroupsCommand.js +10 -0
- package/dist-es/commands/ListListenersCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ProvisionByoipCidrCommand.js +10 -0
- package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +10 -0
- package/dist-es/commands/RemoveEndpointsCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateAcceleratorCommand.js +10 -0
- package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +10 -0
- package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +10 -0
- package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +10 -0
- package/dist-es/commands/UpdateEndpointGroupCommand.js +10 -0
- package/dist-es/commands/UpdateListenerCommand.js +10 -0
- package/dist-es/commands/WithdrawByoipCidrCommand.js +10 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/models/models_0.js +52 -6
- package/dist-es/protocols/Aws_json1_1.js +162 -1
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/GlobalAccelerator.d.ts +45 -0
- package/dist-types/GlobalAcceleratorClient.d.ts +10 -11
- package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/AddEndpointsCommand.d.ts +52 -0
- package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/commands/CreateAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/CreateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/DeleteEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +2 -0
- package/dist-types/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/DescribeListenerCommand.d.ts +2 -0
- package/dist-types/commands/ListAcceleratorsCommand.d.ts +2 -0
- package/dist-types/commands/ListByoipCidrsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingListenersCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -0
- package/dist-types/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -0
- package/dist-types/commands/ListEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/commands/ListListenersCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/RemoveEndpointsCommand.d.ts +53 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/commands/UpdateListenerCommand.d.ts +2 -0
- package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +187 -94
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/GlobalAccelerator.d.ts +34 -0
- package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +27 -8
- package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AddEndpointsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RemoveEndpointsCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +71 -22
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +28 -26
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListCustomRoutingListenersRequestFilterSensitiveLog, ListCustomRoutingListenersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListCustomRoutingListenersCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListCustomRoutingListenersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListCustomRoutingPortMappingsByDestinationRequestFilterSensitiveLog, ListCustomRoutingPortMappingsByDestinationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListCustomRoutingPortMappingsByDestinationCommand extends $Command
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListCustomRoutingPortMappingsByDestinationCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListCustomRoutingPortMappingsRequestFilterSensitiveLog, ListCustomRoutingPortMappingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListCustomRoutingPortMappingsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListCustomRoutingPortMappingsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListEndpointGroupsRequestFilterSensitiveLog, ListEndpointGroupsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListEndpointGroupsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListEndpointGroupsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListListenersRequestFilterSensitiveLog, ListListenersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListListenersCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListListenersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ProvisionByoipCidrRequestFilterSensitiveLog, ProvisionByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class ProvisionByoipCidrCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ProvisionByoipCidrCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { RemoveCustomRoutingEndpointsRequestFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class RemoveCustomRoutingEndpointsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveCustomRoutingEndpointsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { RemoveEndpointsRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_json1_1RemoveEndpointsCommand, serializeAws_json1_1RemoveEndpointsCommand, } from "../protocols/Aws_json1_1";
|
|
6
|
+
export class RemoveEndpointsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, RemoveEndpointsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "GlobalAcceleratorClient";
|
|
25
|
+
const commandName = "RemoveEndpointsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: RemoveEndpointsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: (output) => output,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_json1_1RemoveEndpointsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_json1_1RemoveEndpointsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateAcceleratorAttributesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAcceleratorAttributesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateAcceleratorCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAcceleratorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateCustomRoutingAcceleratorAttributesCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomRoutingAcceleratorAttributesCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateCustomRoutingAcceleratorCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomRoutingAcceleratorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateCustomRoutingListenerCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCustomRoutingListenerCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateEndpointGroupCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEndpointGroupCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class UpdateListenerCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateListenerCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
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";
|
|
@@ -7,8 +8,17 @@ export class WithdrawByoipCidrCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, WithdrawByoipCidrCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "GlobalAcceleratorClient";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AddCustomRoutingEndpointsCommand";
|
|
2
|
+
export * from "./AddEndpointsCommand";
|
|
2
3
|
export * from "./AdvertiseByoipCidrCommand";
|
|
3
4
|
export * from "./AllowCustomRoutingTrafficCommand";
|
|
4
5
|
export * from "./CreateAcceleratorCommand";
|
|
@@ -35,6 +36,7 @@ export * from "./ListListenersCommand";
|
|
|
35
36
|
export * from "./ListTagsForResourceCommand";
|
|
36
37
|
export * from "./ProvisionByoipCidrCommand";
|
|
37
38
|
export * from "./RemoveCustomRoutingEndpointsCommand";
|
|
39
|
+
export * from "./RemoveEndpointsCommand";
|
|
38
40
|
export * from "./TagResourceCommand";
|
|
39
41
|
export * from "./UntagResourceCommand";
|
|
40
42
|
export * from "./UpdateAcceleratorAttributesCommand";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|