Skip to content

Commit 4c8ed6e

Browse files
committed
fix(middleware-*): move useDualstackEndpoint to previously resolved
1 parent 1cb5994 commit 4c8ed6e

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

packages/middleware-bucket-endpoint/src/configurations.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ export interface BucketEndpointInputConfig {
1414
* Whether to use the S3 Transfer Acceleration endpoint by default
1515
*/
1616
useAccelerateEndpoint?: boolean;
17-
/**
18-
* Enables IPv6/IPv4 dualstack endpoint. When a DNS lookup is performed on an endpoint of this type, it returns an “A”
19-
* record with an IPv4 address and an “AAAA” record with an IPv6 address. In most cases the network stack in the
20-
* client environment will automatically prefer the AAAA record and make a connection using the IPv6 address. Note,
21-
* however, that currently on Windows, the IPv4 address will be preferred.
22-
*/
23-
useDualstackEndpoint: Provider<boolean>;
2417
/**
2518
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false
2619
*/
@@ -36,6 +29,7 @@ interface PreviouslyResolved {
3629
isCustomEndpoint: boolean;
3730
region: Provider<string>;
3831
regionInfoProvider: RegionInfoProvider;
32+
useDualstackEndpoint: Provider<boolean>;
3933
}
4034

4135
export interface BucketEndpointResolvedConfig {

packages/middleware-sdk-s3-control/src/configurations.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@ import { Provider, RegionInfoProvider } from "@aws-sdk/types";
22
export { NODE_USE_ARN_REGION_CONFIG_OPTIONS } from "@aws-sdk/middleware-bucket-endpoint";
33

44
export interface S3ControlInputConfig {
5-
/**
6-
* Enables IPv6/IPv4 dualstack endpoint. When a DNS lookup is performed on an endpoint of this type, it returns an “A”
7-
* record with an IPv4 address and an “AAAA” record with an IPv6 address. In most cases the network stack in the
8-
* client environment will automatically prefer the AAAA record and make a connection using the IPv6 address. Note,
9-
* however, that currently on Windows, the IPv4 address will be preferred.
10-
*/
11-
useDualstackEndpoint: Provider<boolean>;
125
/**
136
* Whether to override the request region with the region inferred from requested resource's ARN. Defaults to false
147
*/
@@ -19,6 +12,7 @@ interface PreviouslyResolved {
1912
isCustomEndpoint: boolean;
2013
region: Provider<string>;
2114
regionInfoProvider: RegionInfoProvider;
15+
useDualstackEndpoint: Provider<boolean>;
2216
}
2317

2418
export interface S3ControlResolvedConfig {

0 commit comments

Comments
 (0)