@aws-sdk/client-ebs 3.934.0 → 3.936.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/dist-cjs/index.js +52 -51
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +51 -0
- package/dist-es/models/errors.js +123 -0
- package/dist-es/models/models_0.js +1 -174
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +123 -0
- package/dist-types/models/errors.d.ts +136 -0
- package/dist-types/models/models_0.d.ts +1 -258
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +67 -0
- package/dist-types/ts3.4/models/errors.d.ts +79 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -139
- package/package.json +19 -19
- package/dist-es/models/index.js +0 -1
- package/dist-types/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/index.d.ts +0 -1
|
@@ -1,21 +1,10 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
1
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
(typeof AccessDeniedExceptionReason)[keyof typeof AccessDeniedExceptionReason];
|
|
10
|
-
export declare class AccessDeniedException extends __BaseException {
|
|
11
|
-
readonly name: "AccessDeniedException";
|
|
12
|
-
readonly $fault: "client";
|
|
13
|
-
Message?: string | undefined;
|
|
14
|
-
Reason: AccessDeniedExceptionReason | undefined;
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
17
|
-
);
|
|
18
|
-
}
|
|
2
|
+
import {
|
|
3
|
+
ChecksumAggregationMethod,
|
|
4
|
+
ChecksumAlgorithm,
|
|
5
|
+
SSEType,
|
|
6
|
+
Status,
|
|
7
|
+
} from "./enums";
|
|
19
8
|
export interface Block {
|
|
20
9
|
BlockIndex?: number | undefined;
|
|
21
10
|
BlockToken?: string | undefined;
|
|
@@ -25,16 +14,6 @@ export interface ChangedBlock {
|
|
|
25
14
|
FirstBlockToken?: string | undefined;
|
|
26
15
|
SecondBlockToken?: string | undefined;
|
|
27
16
|
}
|
|
28
|
-
export declare const ChecksumAggregationMethod: {
|
|
29
|
-
readonly CHECKSUM_AGGREGATION_LINEAR: "LINEAR";
|
|
30
|
-
};
|
|
31
|
-
export type ChecksumAggregationMethod =
|
|
32
|
-
(typeof ChecksumAggregationMethod)[keyof typeof ChecksumAggregationMethod];
|
|
33
|
-
export declare const ChecksumAlgorithm: {
|
|
34
|
-
readonly CHECKSUM_ALGORITHM_SHA256: "SHA256";
|
|
35
|
-
};
|
|
36
|
-
export type ChecksumAlgorithm =
|
|
37
|
-
(typeof ChecksumAlgorithm)[keyof typeof ChecksumAlgorithm];
|
|
38
17
|
export interface CompleteSnapshotRequest {
|
|
39
18
|
SnapshotId: string | undefined;
|
|
40
19
|
ChangedBlocksCount: number | undefined;
|
|
@@ -42,115 +21,9 @@ export interface CompleteSnapshotRequest {
|
|
|
42
21
|
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
43
22
|
ChecksumAggregationMethod?: ChecksumAggregationMethod | undefined;
|
|
44
23
|
}
|
|
45
|
-
export declare const Status: {
|
|
46
|
-
readonly COMPLETED: "completed";
|
|
47
|
-
readonly ERROR: "error";
|
|
48
|
-
readonly PENDING: "pending";
|
|
49
|
-
};
|
|
50
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
51
24
|
export interface CompleteSnapshotResponse {
|
|
52
25
|
Status?: Status | undefined;
|
|
53
26
|
}
|
|
54
|
-
export declare class InternalServerException extends __BaseException {
|
|
55
|
-
readonly name: "InternalServerException";
|
|
56
|
-
readonly $fault: "server";
|
|
57
|
-
Message?: string | undefined;
|
|
58
|
-
constructor(
|
|
59
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
60
|
-
);
|
|
61
|
-
}
|
|
62
|
-
export declare const RequestThrottledExceptionReason: {
|
|
63
|
-
readonly ACCOUNT_THROTTLED: "ACCOUNT_THROTTLED";
|
|
64
|
-
readonly DEPENDENCY_REQUEST_THROTTLED: "DEPENDENCY_REQUEST_THROTTLED";
|
|
65
|
-
readonly RESOURCE_LEVEL_THROTTLE: "RESOURCE_LEVEL_THROTTLE";
|
|
66
|
-
};
|
|
67
|
-
export type RequestThrottledExceptionReason =
|
|
68
|
-
(typeof RequestThrottledExceptionReason)[keyof typeof RequestThrottledExceptionReason];
|
|
69
|
-
export declare class RequestThrottledException extends __BaseException {
|
|
70
|
-
readonly name: "RequestThrottledException";
|
|
71
|
-
readonly $fault: "client";
|
|
72
|
-
Message?: string | undefined;
|
|
73
|
-
Reason?: RequestThrottledExceptionReason | undefined;
|
|
74
|
-
constructor(
|
|
75
|
-
opts: __ExceptionOptionType<RequestThrottledException, __BaseException>
|
|
76
|
-
);
|
|
77
|
-
}
|
|
78
|
-
export declare const ResourceNotFoundExceptionReason: {
|
|
79
|
-
readonly DEPENDENCY_RESOURCE_NOT_FOUND: "DEPENDENCY_RESOURCE_NOT_FOUND";
|
|
80
|
-
readonly GRANT_NOT_FOUND: "GRANT_NOT_FOUND";
|
|
81
|
-
readonly IMAGE_NOT_FOUND: "IMAGE_NOT_FOUND";
|
|
82
|
-
readonly SNAPSHOT_NOT_FOUND: "SNAPSHOT_NOT_FOUND";
|
|
83
|
-
};
|
|
84
|
-
export type ResourceNotFoundExceptionReason =
|
|
85
|
-
(typeof ResourceNotFoundExceptionReason)[keyof typeof ResourceNotFoundExceptionReason];
|
|
86
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
87
|
-
readonly name: "ResourceNotFoundException";
|
|
88
|
-
readonly $fault: "client";
|
|
89
|
-
Message?: string | undefined;
|
|
90
|
-
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
91
|
-
constructor(
|
|
92
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
export declare const ServiceQuotaExceededExceptionReason: {
|
|
96
|
-
readonly DEPENDENCY_SERVICE_QUOTA_EXCEEDED: "DEPENDENCY_SERVICE_QUOTA_EXCEEDED";
|
|
97
|
-
};
|
|
98
|
-
export type ServiceQuotaExceededExceptionReason =
|
|
99
|
-
(typeof ServiceQuotaExceededExceptionReason)[keyof typeof ServiceQuotaExceededExceptionReason];
|
|
100
|
-
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
101
|
-
readonly name: "ServiceQuotaExceededException";
|
|
102
|
-
readonly $fault: "client";
|
|
103
|
-
Message?: string | undefined;
|
|
104
|
-
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
105
|
-
constructor(
|
|
106
|
-
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
107
|
-
);
|
|
108
|
-
}
|
|
109
|
-
export declare const ValidationExceptionReason: {
|
|
110
|
-
readonly CONFLICTING_BLOCK_UPDATE: "CONFLICTING_BLOCK_UPDATE";
|
|
111
|
-
readonly INVALID_BLOCK: "INVALID_BLOCK";
|
|
112
|
-
readonly INVALID_BLOCK_TOKEN: "INVALID_BLOCK_TOKEN";
|
|
113
|
-
readonly INVALID_CONTENT_ENCODING: "INVALID_CONTENT_ENCODING";
|
|
114
|
-
readonly INVALID_CUSTOMER_KEY: "INVALID_CUSTOMER_KEY";
|
|
115
|
-
readonly INVALID_DEPENDENCY_REQUEST: "INVALID_DEPENDENCY_REQUEST";
|
|
116
|
-
readonly INVALID_GRANT_TOKEN: "INVALID_GRANT_TOKEN";
|
|
117
|
-
readonly INVALID_IMAGE_ID: "INVALID_IMAGE_ID";
|
|
118
|
-
readonly INVALID_PAGE_TOKEN: "INVALID_PAGE_TOKEN";
|
|
119
|
-
readonly INVALID_PARAMETER_VALUE: "INVALID_PARAMETER_VALUE";
|
|
120
|
-
readonly INVALID_SNAPSHOT_ID: "INVALID_SNAPSHOT_ID";
|
|
121
|
-
readonly INVALID_TAG: "INVALID_TAG";
|
|
122
|
-
readonly INVALID_VOLUME_SIZE: "INVALID_VOLUME_SIZE";
|
|
123
|
-
readonly UNRELATED_SNAPSHOTS: "UNRELATED_SNAPSHOTS";
|
|
124
|
-
readonly WRITE_REQUEST_TIMEOUT: "WRITE_REQUEST_TIMEOUT";
|
|
125
|
-
};
|
|
126
|
-
export type ValidationExceptionReason =
|
|
127
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
128
|
-
export declare class ValidationException extends __BaseException {
|
|
129
|
-
readonly name: "ValidationException";
|
|
130
|
-
readonly $fault: "client";
|
|
131
|
-
Message?: string | undefined;
|
|
132
|
-
Reason?: ValidationExceptionReason | undefined;
|
|
133
|
-
constructor(
|
|
134
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
135
|
-
);
|
|
136
|
-
}
|
|
137
|
-
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
138
|
-
readonly name: "ConcurrentLimitExceededException";
|
|
139
|
-
readonly $fault: "client";
|
|
140
|
-
Message?: string | undefined;
|
|
141
|
-
constructor(
|
|
142
|
-
opts: __ExceptionOptionType<
|
|
143
|
-
ConcurrentLimitExceededException,
|
|
144
|
-
__BaseException
|
|
145
|
-
>
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
export declare class ConflictException extends __BaseException {
|
|
149
|
-
readonly name: "ConflictException";
|
|
150
|
-
readonly $fault: "client";
|
|
151
|
-
Message?: string | undefined;
|
|
152
|
-
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
153
|
-
}
|
|
154
27
|
export interface GetSnapshotBlockRequest {
|
|
155
28
|
SnapshotId: string | undefined;
|
|
156
29
|
BlockIndex: number | undefined;
|
|
@@ -216,12 +89,6 @@ export interface StartSnapshotRequest {
|
|
|
216
89
|
KmsKeyArn?: string | undefined;
|
|
217
90
|
Timeout?: number | undefined;
|
|
218
91
|
}
|
|
219
|
-
export declare const SSEType: {
|
|
220
|
-
readonly NONE: "none";
|
|
221
|
-
readonly SSE_EBS: "sse-ebs";
|
|
222
|
-
readonly SSE_KMS: "sse-kms";
|
|
223
|
-
};
|
|
224
|
-
export type SSEType = (typeof SSEType)[keyof typeof SSEType];
|
|
225
92
|
export interface StartSnapshotResponse {
|
|
226
93
|
Description?: string | undefined;
|
|
227
94
|
SnapshotId?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ebs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ebs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.936.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ebs",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
|
+
"@aws-sdk/types": "3.936.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
|
-
"@smithy/core": "^3.18.
|
|
35
|
+
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|
|
37
37
|
"@smithy/hash-node": "^4.2.5",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.5",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.5",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.12",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.6",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.5",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.5",
|
|
45
45
|
"@smithy/node-http-handler": "^4.4.5",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.5",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.8",
|
|
48
48
|
"@smithy/types": "^4.9.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.5",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.11",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.14",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.5",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.5",
|
|
57
57
|
"@smithy/util-retry": "^4.2.5",
|
package/dist-es/models/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./models_0";
|