@aws-sdk/middleware-bucket-endpoint 3.170.0 → 3.171.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
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/middleware-bucket-endpoint
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @aws-sdk/middleware-bucket-endpoint
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { LoadedConfigSelectors } from "@aws-sdk/node-config-provider";
|
|
2
2
|
export declare const NODE_USE_ARN_REGION_ENV_NAME = "AWS_S3_USE_ARN_REGION";
|
|
3
3
|
export declare const NODE_USE_ARN_REGION_INI_NAME = "s3_use_arn_region";
|
|
4
|
-
|
|
5
4
|
export declare const NODE_USE_ARN_REGION_CONFIG_OPTIONS: LoadedConfigSelectors<boolean>;
|
|
@@ -29,10 +29,8 @@ export interface ArnHostnameParams
|
|
|
29
29
|
export declare const isBucketNameOptions: (
|
|
30
30
|
options: BucketHostnameParams | ArnHostnameParams
|
|
31
31
|
) => options is BucketHostnameParams;
|
|
32
|
-
|
|
33
32
|
export declare const isDnsCompatibleBucketName: (bucketName: string) => boolean;
|
|
34
33
|
export declare const getSuffix: (hostname: string) => [string, string];
|
|
35
|
-
|
|
36
34
|
export declare const getSuffixForArnEndpoint: (
|
|
37
35
|
hostname: string
|
|
38
36
|
) => [string, string];
|
|
@@ -44,14 +42,12 @@ export declare const validateArnEndpointOptions: (options: {
|
|
|
44
42
|
export declare const validateService: (service: string) => void;
|
|
45
43
|
export declare const validateS3Service: (service: string) => void;
|
|
46
44
|
export declare const validateOutpostService: (service: string) => void;
|
|
47
|
-
|
|
48
45
|
export declare const validatePartition: (
|
|
49
46
|
partition: string,
|
|
50
47
|
options: {
|
|
51
48
|
clientPartition: string;
|
|
52
49
|
}
|
|
53
50
|
) => void;
|
|
54
|
-
|
|
55
51
|
export declare const validateRegion: (
|
|
56
52
|
region: string,
|
|
57
53
|
options: {
|
|
@@ -62,11 +58,8 @@ export declare const validateRegion: (
|
|
|
62
58
|
useFipsEndpoint: boolean;
|
|
63
59
|
}
|
|
64
60
|
) => void;
|
|
65
|
-
|
|
66
61
|
export declare const validateRegionalClient: (region: string) => void;
|
|
67
|
-
|
|
68
62
|
export declare const validateAccountId: (accountId: string) => void;
|
|
69
|
-
|
|
70
63
|
export declare const validateDNSHostLabel: (
|
|
71
64
|
label: string,
|
|
72
65
|
options?: {
|
|
@@ -78,18 +71,14 @@ export declare const validateCustomEndpoint: (options: {
|
|
|
78
71
|
dualstackEndpoint?: boolean;
|
|
79
72
|
accelerateEndpoint?: boolean;
|
|
80
73
|
}) => void;
|
|
81
|
-
|
|
82
74
|
export declare const getArnResources: (resource: string) => {
|
|
83
75
|
accesspointName: string;
|
|
84
76
|
outpostId?: string;
|
|
85
77
|
};
|
|
86
|
-
|
|
87
78
|
export declare const validateNoDualstack: (
|
|
88
79
|
dualstackEndpoint?: boolean | undefined
|
|
89
80
|
) => void;
|
|
90
|
-
|
|
91
81
|
export declare const validateNoFIPS: (
|
|
92
82
|
useFipsEndpoint?: boolean | undefined
|
|
93
83
|
) => void;
|
|
94
|
-
|
|
95
84
|
export declare const validateMrapAlias: (name: string) => void;
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { Provider, RegionInfoProvider } from "@aws-sdk/types";
|
|
2
2
|
export interface BucketEndpointInputConfig {
|
|
3
3
|
bucketEndpoint?: boolean;
|
|
4
|
-
|
|
5
4
|
forcePathStyle?: boolean;
|
|
6
|
-
|
|
7
5
|
useAccelerateEndpoint?: boolean;
|
|
8
|
-
|
|
9
6
|
useArnRegion?: boolean | Provider<boolean>;
|
|
10
|
-
|
|
11
7
|
disableMultiregionAccessPoints?: boolean | Provider<boolean>;
|
|
12
8
|
}
|
|
13
9
|
interface PreviouslyResolved {
|
|
@@ -19,21 +15,13 @@ interface PreviouslyResolved {
|
|
|
19
15
|
}
|
|
20
16
|
export interface BucketEndpointResolvedConfig {
|
|
21
17
|
isCustomEndpoint: boolean;
|
|
22
|
-
|
|
23
18
|
bucketEndpoint: boolean;
|
|
24
|
-
|
|
25
19
|
forcePathStyle: boolean;
|
|
26
|
-
|
|
27
20
|
useAccelerateEndpoint: boolean;
|
|
28
|
-
|
|
29
21
|
useFipsEndpoint: Provider<boolean>;
|
|
30
|
-
|
|
31
22
|
useDualstackEndpoint: Provider<boolean>;
|
|
32
|
-
|
|
33
23
|
useArnRegion: Provider<boolean>;
|
|
34
|
-
|
|
35
24
|
region: Provider<string>;
|
|
36
|
-
|
|
37
25
|
regionInfoProvider: RegionInfoProvider;
|
|
38
26
|
disableMultiregionAccessPoints: Provider<boolean>;
|
|
39
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/middleware-bucket-endpoint",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.171.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,15 +20,15 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@aws-sdk/protocol-http": "3.
|
|
24
|
-
"@aws-sdk/types": "3.
|
|
23
|
+
"@aws-sdk/protocol-http": "3.171.0",
|
|
24
|
+
"@aws-sdk/types": "3.171.0",
|
|
25
25
|
"@aws-sdk/util-arn-parser": "3.170.0",
|
|
26
26
|
"@aws-sdk/util-config-provider": "3.170.0",
|
|
27
27
|
"tslib": "^2.3.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@aws-sdk/middleware-stack": "3.
|
|
31
|
-
"@aws-sdk/node-config-provider": "3.
|
|
30
|
+
"@aws-sdk/middleware-stack": "3.171.0",
|
|
31
|
+
"@aws-sdk/node-config-provider": "3.171.0",
|
|
32
32
|
"@tsconfig/recommended": "1.0.1",
|
|
33
33
|
"concurrently": "7.0.0",
|
|
34
34
|
"downlevel-dts": "0.10.1",
|