@aws-sdk/client-ebs 3.34.0 → 3.37.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 +47 -0
- package/{dist/cjs → dist-cjs}/EBS.js +1 -24
- package/dist-cjs/EBSClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/CompleteSnapshotCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetSnapshotBlockCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListChangedBlocksCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListSnapshotBlocksCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutSnapshotBlockCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/StartSnapshotCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -70
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListChangedBlocksPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/pagination/ListSnapshotBlocksPaginator.js +1 -12
- package/{dist/cjs → dist-cjs}/protocols/Aws_restJson1.js +1 -7
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/EBS.js +1 -2
- package/{dist/es → dist-es}/EBSClient.js +1 -2
- package/{dist/es → dist-es}/commands/CompleteSnapshotCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetSnapshotBlockCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListChangedBlocksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListSnapshotBlocksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutSnapshotBlockCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartSnapshotCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListChangedBlocksPaginator.js +1 -2
- package/{dist/es → dist-es}/pagination/ListSnapshotBlocksPaginator.js +1 -2
- package/{dist/es → dist-es}/protocols/Aws_restJson1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/EBS.d.ts +2 -2
- package/{dist/types → dist-types}/EBSClient.d.ts +7 -7
- package/{dist/types → dist-types}/commands/CompleteSnapshotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetSnapshotBlockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListChangedBlocksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListSnapshotBlocksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutSnapshotBlockCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartSnapshotCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListChangedBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/dist-types/ts3.4/EBS.d.ts +35 -0
- package/dist-types/ts3.4/EBSClient.d.ts +73 -0
- package/dist-types/ts3.4/commands/CompleteSnapshotCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetSnapshotBlockCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListChangedBlocksCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListSnapshotBlocksCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +24 -0
- package/dist-types/ts3.4/commands/StartSnapshotCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +357 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListChangedBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListSnapshotBlocksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_restJson1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/EBS.ts +0 -257
- package/EBSClient.ts +0 -272
- package/commands/CompleteSnapshotCommand.ts +0 -96
- package/commands/GetSnapshotBlockCommand.ts +0 -94
- package/commands/ListChangedBlocksCommand.ts +0 -95
- package/commands/ListSnapshotBlocksCommand.ts +0 -94
- package/commands/PutSnapshotBlockCommand.ts +0 -106
- package/commands/StartSnapshotCommand.ts +0 -97
- package/dist/cjs/EBS.js.map +0 -1
- package/dist/cjs/EBSClient.js +0 -63
- package/dist/cjs/EBSClient.js.map +0 -1
- package/dist/cjs/commands/CompleteSnapshotCommand.js.map +0 -1
- package/dist/cjs/commands/GetSnapshotBlockCommand.js.map +0 -1
- package/dist/cjs/commands/ListChangedBlocksCommand.js.map +0 -1
- package/dist/cjs/commands/ListSnapshotBlocksCommand.js.map +0 -1
- package/dist/cjs/commands/PutSnapshotBlockCommand.js.map +0 -1
- package/dist/cjs/commands/StartSnapshotCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListChangedBlocksPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListSnapshotBlocksPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/EBS.js.map +0 -1
- package/dist/es/EBSClient.js.map +0 -1
- package/dist/es/commands/CompleteSnapshotCommand.js.map +0 -1
- package/dist/es/commands/GetSnapshotBlockCommand.js.map +0 -1
- package/dist/es/commands/ListChangedBlocksCommand.js.map +0 -1
- package/dist/es/commands/ListSnapshotBlocksCommand.js.map +0 -1
- package/dist/es/commands/PutSnapshotBlockCommand.js.map +0 -1
- package/dist/es/commands/StartSnapshotCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -13
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListChangedBlocksPaginator.js.map +0 -1
- package/dist/es/pagination/ListSnapshotBlocksPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_restJson1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/EBS.d.ts +0 -77
- package/dist/types/ts3.4/EBSClient.d.ts +0 -157
- package/dist/types/ts3.4/commands/CompleteSnapshotCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/ListChangedBlocksCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutSnapshotBlockCommand.d.ts +0 -49
- package/dist/types/ts3.4/commands/StartSnapshotCommand.d.ts +0 -38
- package/dist/types/ts3.4/models/models_0.d.ts +0 -667
- package/endpoints.ts +0 -83
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -824
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListChangedBlocksPaginator.ts +0 -58
- package/pagination/ListSnapshotBlocksPaginator.ts +0 -58
- package/protocols/Aws_restJson1.ts +0 -1237
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
package/endpoints.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { PartitionHash, RegionHash, getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
import { RegionInfoProvider } from "@aws-sdk/types";
|
|
3
|
-
|
|
4
|
-
const regionHash: RegionHash = {
|
|
5
|
-
"fips-ca-central-1": {
|
|
6
|
-
hostname: "ebs-fips.ca-central-1.amazonaws.com",
|
|
7
|
-
signingRegion: "ca-central-1",
|
|
8
|
-
},
|
|
9
|
-
"fips-us-east-1": {
|
|
10
|
-
hostname: "ebs-fips.us-east-1.amazonaws.com",
|
|
11
|
-
signingRegion: "us-east-1",
|
|
12
|
-
},
|
|
13
|
-
"fips-us-east-2": {
|
|
14
|
-
hostname: "ebs-fips.us-east-2.amazonaws.com",
|
|
15
|
-
signingRegion: "us-east-2",
|
|
16
|
-
},
|
|
17
|
-
"fips-us-west-1": {
|
|
18
|
-
hostname: "ebs-fips.us-west-1.amazonaws.com",
|
|
19
|
-
signingRegion: "us-west-1",
|
|
20
|
-
},
|
|
21
|
-
"fips-us-west-2": {
|
|
22
|
-
hostname: "ebs-fips.us-west-2.amazonaws.com",
|
|
23
|
-
signingRegion: "us-west-2",
|
|
24
|
-
},
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const partitionHash: PartitionHash = {
|
|
28
|
-
aws: {
|
|
29
|
-
regions: [
|
|
30
|
-
"af-south-1",
|
|
31
|
-
"ap-east-1",
|
|
32
|
-
"ap-northeast-1",
|
|
33
|
-
"ap-northeast-2",
|
|
34
|
-
"ap-northeast-3",
|
|
35
|
-
"ap-south-1",
|
|
36
|
-
"ap-southeast-1",
|
|
37
|
-
"ap-southeast-2",
|
|
38
|
-
"ca-central-1",
|
|
39
|
-
"eu-central-1",
|
|
40
|
-
"eu-north-1",
|
|
41
|
-
"eu-south-1",
|
|
42
|
-
"eu-west-1",
|
|
43
|
-
"eu-west-2",
|
|
44
|
-
"eu-west-3",
|
|
45
|
-
"fips-ca-central-1",
|
|
46
|
-
"fips-us-east-1",
|
|
47
|
-
"fips-us-east-2",
|
|
48
|
-
"fips-us-west-1",
|
|
49
|
-
"fips-us-west-2",
|
|
50
|
-
"me-south-1",
|
|
51
|
-
"sa-east-1",
|
|
52
|
-
"us-east-1",
|
|
53
|
-
"us-east-2",
|
|
54
|
-
"us-west-1",
|
|
55
|
-
"us-west-2",
|
|
56
|
-
],
|
|
57
|
-
hostname: "ebs.{region}.amazonaws.com",
|
|
58
|
-
},
|
|
59
|
-
"aws-cn": {
|
|
60
|
-
regions: ["cn-north-1", "cn-northwest-1"],
|
|
61
|
-
hostname: "ebs.{region}.amazonaws.com.cn",
|
|
62
|
-
},
|
|
63
|
-
"aws-iso": {
|
|
64
|
-
regions: ["us-iso-east-1"],
|
|
65
|
-
hostname: "ebs.{region}.c2s.ic.gov",
|
|
66
|
-
},
|
|
67
|
-
"aws-iso-b": {
|
|
68
|
-
regions: ["us-isob-east-1"],
|
|
69
|
-
hostname: "ebs.{region}.sc2s.sgov.gov",
|
|
70
|
-
},
|
|
71
|
-
"aws-us-gov": {
|
|
72
|
-
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
73
|
-
hostname: "ebs.{region}.amazonaws.com",
|
|
74
|
-
},
|
|
75
|
-
};
|
|
76
|
-
|
|
77
|
-
export const defaultRegionInfoProvider: RegionInfoProvider = async (region: string, options?: any) =>
|
|
78
|
-
getRegionInfo(region, {
|
|
79
|
-
...options,
|
|
80
|
-
signingService: "ebs",
|
|
81
|
-
regionHash,
|
|
82
|
-
partitionHash,
|
|
83
|
-
});
|
package/jest.config.js
DELETED