@aws-sdk/client-ebs 3.1074.0 → 3.1076.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 +600 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/EBSServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -123
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -39
- package/dist-cjs/schemas/schemas_0.js +0 -276
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
const _ADE = "AccessDeniedException";
|
|
2
|
-
const _B = "Block";
|
|
3
|
-
const _BD = "BlockData";
|
|
4
|
-
const _BI = "BlockIndex";
|
|
5
|
-
const _BS = "BlockSize";
|
|
6
|
-
const _BT = "BlockToken";
|
|
7
|
-
const _Bl = "Blocks";
|
|
8
|
-
const _C = "Checksum";
|
|
9
|
-
const _CA = "ChecksumAlgorithm";
|
|
10
|
-
const _CAM = "ChecksumAggregationMethod";
|
|
11
|
-
const _CB = "ChangedBlock";
|
|
12
|
-
const _CBC = "ChangedBlocksCount";
|
|
13
|
-
const _CBh = "ChangedBlocks";
|
|
14
|
-
const _CE = "ConflictException";
|
|
15
|
-
const _CLEE = "ConcurrentLimitExceededException";
|
|
16
|
-
const _CS = "CompleteSnapshot";
|
|
17
|
-
const _CSR = "CompleteSnapshotRequest";
|
|
18
|
-
const _CSRo = "CompleteSnapshotResponse";
|
|
19
|
-
const _CT = "ClientToken";
|
|
20
|
-
const _D = "Description";
|
|
21
|
-
const _DL = "DataLength";
|
|
22
|
-
const _E = "Encrypted";
|
|
23
|
-
const _ET = "ExpiryTime";
|
|
24
|
-
const _FBT = "FirstBlockToken";
|
|
25
|
-
const _FSI = "FirstSnapshotId";
|
|
26
|
-
const _GSB = "GetSnapshotBlock";
|
|
27
|
-
const _GSBR = "GetSnapshotBlockRequest";
|
|
28
|
-
const _GSBRe = "GetSnapshotBlockResponse";
|
|
29
|
-
const _ISE = "InternalServerException";
|
|
30
|
-
const _K = "Key";
|
|
31
|
-
const _KKA = "KmsKeyArn";
|
|
32
|
-
const _LCB = "ListChangedBlocks";
|
|
33
|
-
const _LCBR = "ListChangedBlocksRequest";
|
|
34
|
-
const _LCBRi = "ListChangedBlocksResponse";
|
|
35
|
-
const _LSB = "ListSnapshotBlocks";
|
|
36
|
-
const _LSBR = "ListSnapshotBlocksRequest";
|
|
37
|
-
const _LSBRi = "ListSnapshotBlocksResponse";
|
|
38
|
-
const _M = "Message";
|
|
39
|
-
const _MR = "MaxResults";
|
|
40
|
-
const _NT = "NextToken";
|
|
41
|
-
const _OI = "OwnerId";
|
|
42
|
-
const _P = "Progress";
|
|
43
|
-
const _PSB = "PutSnapshotBlock";
|
|
44
|
-
const _PSBR = "PutSnapshotBlockRequest";
|
|
45
|
-
const _PSBRu = "PutSnapshotBlockResponse";
|
|
46
|
-
const _PSI = "ParentSnapshotId";
|
|
47
|
-
const _R = "Reason";
|
|
48
|
-
const _RNFE = "ResourceNotFoundException";
|
|
49
|
-
const _RTE = "RequestThrottledException";
|
|
50
|
-
const _S = "Status";
|
|
51
|
-
const _SBI = "StartingBlockIndex";
|
|
52
|
-
const _SBT = "SecondBlockToken";
|
|
53
|
-
const _SI = "SnapshotId";
|
|
54
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
55
|
-
const _SS = "StartSnapshot";
|
|
56
|
-
const _SSI = "SecondSnapshotId";
|
|
57
|
-
const _SSR = "StartSnapshotRequest";
|
|
58
|
-
const _SSRt = "StartSnapshotResponse";
|
|
59
|
-
const _ST = "StartTime";
|
|
60
|
-
const _STs = "SseType";
|
|
61
|
-
const _T = "Tags";
|
|
62
|
-
const _Ta = "Tag";
|
|
63
|
-
const _Ti = "Timeout";
|
|
64
|
-
const _V = "Value";
|
|
65
|
-
const _VE = "ValidationException";
|
|
66
|
-
const _VS = "VolumeSize";
|
|
67
|
-
const _bT = "blockToken";
|
|
68
|
-
const _c = "client";
|
|
69
|
-
const _e = "error";
|
|
70
|
-
const _fSI = "firstSnapshotId";
|
|
71
|
-
const _h = "http";
|
|
72
|
-
const _hE = "httpError";
|
|
73
|
-
const _hH = "httpHeader";
|
|
74
|
-
const _hQ = "httpQuery";
|
|
75
|
-
const _mR = "maxResults";
|
|
76
|
-
const _pT = "pageToken";
|
|
77
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ebs";
|
|
78
|
-
const _sBI = "startingBlockIndex";
|
|
79
|
-
const _se = "server";
|
|
80
|
-
const _sen = "sensitive";
|
|
81
|
-
const _st = "streaming";
|
|
82
|
-
const _xaC = "x-amz-ChangedBlocksCount";
|
|
83
|
-
const _xaCA = "x-amz-Checksum-Algorithm";
|
|
84
|
-
const _xaCAM = "x-amz-Checksum-Aggregation-Method";
|
|
85
|
-
const _xaC_ = "x-amz-Checksum";
|
|
86
|
-
const _xaDL = "x-amz-Data-Length";
|
|
87
|
-
const _xaP = "x-amz-Progress";
|
|
88
|
-
const n0 = "com.amazonaws.ebs";
|
|
89
|
-
const { TypeRegistry } = require("@smithy/core/schema");
|
|
90
|
-
const { EBSServiceException } = require("../models/EBSServiceException");
|
|
91
|
-
const { AccessDeniedException, ConcurrentLimitExceededException, ConflictException, InternalServerException, RequestThrottledException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException } = require("../models/errors");
|
|
92
|
-
const _s_registry = TypeRegistry.for(_s);
|
|
93
|
-
const EBSServiceException$ = [-3, _s, "EBSServiceException", 0, [], []];
|
|
94
|
-
exports.EBSServiceException$ = EBSServiceException$;
|
|
95
|
-
_s_registry.registerError(EBSServiceException$, EBSServiceException);
|
|
96
|
-
const n0_registry = TypeRegistry.for(n0);
|
|
97
|
-
const AccessDeniedException$ = [-3, n0, _ADE,
|
|
98
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
99
|
-
[_R, _M],
|
|
100
|
-
[0, 0], 1
|
|
101
|
-
];
|
|
102
|
-
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
103
|
-
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
104
|
-
const ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
|
|
105
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
106
|
-
[_M],
|
|
107
|
-
[0]
|
|
108
|
-
];
|
|
109
|
-
exports.ConcurrentLimitExceededException$ = ConcurrentLimitExceededException$;
|
|
110
|
-
n0_registry.registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
|
|
111
|
-
const ConflictException$ = [-3, n0, _CE,
|
|
112
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
113
|
-
[_M],
|
|
114
|
-
[0]
|
|
115
|
-
];
|
|
116
|
-
exports.ConflictException$ = ConflictException$;
|
|
117
|
-
n0_registry.registerError(ConflictException$, ConflictException);
|
|
118
|
-
const InternalServerException$ = [-3, n0, _ISE,
|
|
119
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
120
|
-
[_M],
|
|
121
|
-
[0]
|
|
122
|
-
];
|
|
123
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
124
|
-
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
125
|
-
const RequestThrottledException$ = [-3, n0, _RTE,
|
|
126
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
127
|
-
[_M, _R],
|
|
128
|
-
[0, 0]
|
|
129
|
-
];
|
|
130
|
-
exports.RequestThrottledException$ = RequestThrottledException$;
|
|
131
|
-
n0_registry.registerError(RequestThrottledException$, RequestThrottledException);
|
|
132
|
-
const ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
133
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
134
|
-
[_M, _R],
|
|
135
|
-
[0, 0]
|
|
136
|
-
];
|
|
137
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
138
|
-
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
139
|
-
const ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
140
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
141
|
-
[_M, _R],
|
|
142
|
-
[0, 0]
|
|
143
|
-
];
|
|
144
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
145
|
-
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
146
|
-
const ValidationException$ = [-3, n0, _VE,
|
|
147
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
148
|
-
[_M, _R],
|
|
149
|
-
[0, 0]
|
|
150
|
-
];
|
|
151
|
-
exports.ValidationException$ = ValidationException$;
|
|
152
|
-
n0_registry.registerError(ValidationException$, ValidationException);
|
|
153
|
-
exports.errorTypeRegistries = [
|
|
154
|
-
_s_registry,
|
|
155
|
-
n0_registry,
|
|
156
|
-
];
|
|
157
|
-
var BlockData = [0, n0, _BD, { [_sen]: 1, [_st]: 1 }, 42];
|
|
158
|
-
var KmsKeyArn = [0, n0, _KKA, 8, 0];
|
|
159
|
-
const Block$ = [3, n0, _B,
|
|
160
|
-
0,
|
|
161
|
-
[_BI, _BT],
|
|
162
|
-
[1, 0]
|
|
163
|
-
];
|
|
164
|
-
exports.Block$ = Block$;
|
|
165
|
-
const ChangedBlock$ = [3, n0, _CB,
|
|
166
|
-
8,
|
|
167
|
-
[_BI, _FBT, _SBT],
|
|
168
|
-
[1, 0, 0]
|
|
169
|
-
];
|
|
170
|
-
exports.ChangedBlock$ = ChangedBlock$;
|
|
171
|
-
const CompleteSnapshotRequest$ = [3, n0, _CSR,
|
|
172
|
-
0,
|
|
173
|
-
[_SI, _CBC, _C, _CA, _CAM],
|
|
174
|
-
[[0, 1], [1, { [_hH]: _xaC }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [0, { [_hH]: _xaCAM }]], 2
|
|
175
|
-
];
|
|
176
|
-
exports.CompleteSnapshotRequest$ = CompleteSnapshotRequest$;
|
|
177
|
-
const CompleteSnapshotResponse$ = [3, n0, _CSRo,
|
|
178
|
-
0,
|
|
179
|
-
[_S],
|
|
180
|
-
[0]
|
|
181
|
-
];
|
|
182
|
-
exports.CompleteSnapshotResponse$ = CompleteSnapshotResponse$;
|
|
183
|
-
const GetSnapshotBlockRequest$ = [3, n0, _GSBR,
|
|
184
|
-
0,
|
|
185
|
-
[_SI, _BI, _BT],
|
|
186
|
-
[[0, 1], [1, 1], [0, { [_hQ]: _bT }]], 3
|
|
187
|
-
];
|
|
188
|
-
exports.GetSnapshotBlockRequest$ = GetSnapshotBlockRequest$;
|
|
189
|
-
const GetSnapshotBlockResponse$ = [3, n0, _GSBRe,
|
|
190
|
-
0,
|
|
191
|
-
[_DL, _BD, _C, _CA],
|
|
192
|
-
[[1, { [_hH]: _xaDL }], [() => BlockData, 16], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
193
|
-
];
|
|
194
|
-
exports.GetSnapshotBlockResponse$ = GetSnapshotBlockResponse$;
|
|
195
|
-
const ListChangedBlocksRequest$ = [3, n0, _LCBR,
|
|
196
|
-
0,
|
|
197
|
-
[_SSI, _FSI, _NT, _MR, _SBI],
|
|
198
|
-
[[0, 1], [0, { [_hQ]: _fSI }], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]], 1
|
|
199
|
-
];
|
|
200
|
-
exports.ListChangedBlocksRequest$ = ListChangedBlocksRequest$;
|
|
201
|
-
const ListChangedBlocksResponse$ = [3, n0, _LCBRi,
|
|
202
|
-
0,
|
|
203
|
-
[_CBh, _ET, _VS, _BS, _NT],
|
|
204
|
-
[[() => ChangedBlocks, 0], 4, 1, 1, 0]
|
|
205
|
-
];
|
|
206
|
-
exports.ListChangedBlocksResponse$ = ListChangedBlocksResponse$;
|
|
207
|
-
const ListSnapshotBlocksRequest$ = [3, n0, _LSBR,
|
|
208
|
-
0,
|
|
209
|
-
[_SI, _NT, _MR, _SBI],
|
|
210
|
-
[[0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]], 1
|
|
211
|
-
];
|
|
212
|
-
exports.ListSnapshotBlocksRequest$ = ListSnapshotBlocksRequest$;
|
|
213
|
-
const ListSnapshotBlocksResponse$ = [3, n0, _LSBRi,
|
|
214
|
-
0,
|
|
215
|
-
[_Bl, _ET, _VS, _BS, _NT],
|
|
216
|
-
[[() => Blocks, 0], 4, 1, 1, 0]
|
|
217
|
-
];
|
|
218
|
-
exports.ListSnapshotBlocksResponse$ = ListSnapshotBlocksResponse$;
|
|
219
|
-
const PutSnapshotBlockRequest$ = [3, n0, _PSBR,
|
|
220
|
-
0,
|
|
221
|
-
[_SI, _BI, _BD, _DL, _C, _CA, _P],
|
|
222
|
-
[[0, 1], [1, 1], [() => BlockData, 16], [1, { [_hH]: _xaDL }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [1, { [_hH]: _xaP }]], 6
|
|
223
|
-
];
|
|
224
|
-
exports.PutSnapshotBlockRequest$ = PutSnapshotBlockRequest$;
|
|
225
|
-
const PutSnapshotBlockResponse$ = [3, n0, _PSBRu,
|
|
226
|
-
0,
|
|
227
|
-
[_C, _CA],
|
|
228
|
-
[[0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
229
|
-
];
|
|
230
|
-
exports.PutSnapshotBlockResponse$ = PutSnapshotBlockResponse$;
|
|
231
|
-
const StartSnapshotRequest$ = [3, n0, _SSR,
|
|
232
|
-
0,
|
|
233
|
-
[_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
|
|
234
|
-
[1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1], 1
|
|
235
|
-
];
|
|
236
|
-
exports.StartSnapshotRequest$ = StartSnapshotRequest$;
|
|
237
|
-
const StartSnapshotResponse$ = [3, n0, _SSRt,
|
|
238
|
-
0,
|
|
239
|
-
[_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
|
|
240
|
-
[0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0]
|
|
241
|
-
];
|
|
242
|
-
exports.StartSnapshotResponse$ = StartSnapshotResponse$;
|
|
243
|
-
const Tag$ = [3, n0, _Ta,
|
|
244
|
-
0,
|
|
245
|
-
[_K, _V],
|
|
246
|
-
[0, 0]
|
|
247
|
-
];
|
|
248
|
-
exports.Tag$ = Tag$;
|
|
249
|
-
var Blocks = [1, n0, _Bl,
|
|
250
|
-
8, () => Block$
|
|
251
|
-
];
|
|
252
|
-
var ChangedBlocks = [1, n0, _CBh,
|
|
253
|
-
0, [() => ChangedBlock$,
|
|
254
|
-
0]
|
|
255
|
-
];
|
|
256
|
-
var Tags = [1, n0, _T,
|
|
257
|
-
0, () => Tag$
|
|
258
|
-
];
|
|
259
|
-
exports.CompleteSnapshot$ = [9, n0, _CS,
|
|
260
|
-
{ [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] }, () => CompleteSnapshotRequest$, () => CompleteSnapshotResponse$
|
|
261
|
-
];
|
|
262
|
-
exports.GetSnapshotBlock$ = [9, n0, _GSB,
|
|
263
|
-
{ [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] }, () => GetSnapshotBlockRequest$, () => GetSnapshotBlockResponse$
|
|
264
|
-
];
|
|
265
|
-
exports.ListChangedBlocks$ = [9, n0, _LCB,
|
|
266
|
-
{ [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] }, () => ListChangedBlocksRequest$, () => ListChangedBlocksResponse$
|
|
267
|
-
];
|
|
268
|
-
exports.ListSnapshotBlocks$ = [9, n0, _LSB,
|
|
269
|
-
{ [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] }, () => ListSnapshotBlocksRequest$, () => ListSnapshotBlocksResponse$
|
|
270
|
-
];
|
|
271
|
-
exports.PutSnapshotBlock$ = [9, n0, _PSB,
|
|
272
|
-
{ [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] }, () => PutSnapshotBlockRequest$, () => PutSnapshotBlockResponse$
|
|
273
|
-
];
|
|
274
|
-
exports.StartSnapshot$ = [9, n0, _SS,
|
|
275
|
-
{ [_h]: ["POST", "/snapshots", 201] }, () => StartSnapshotRequest$, () => StartSnapshotResponse$
|
|
276
|
-
];
|