@aws-sdk/client-ebs 3.928.0 → 3.930.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 +519 -465
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/EBSClient.js +2 -0
- package/dist-es/commands/CompleteSnapshotCommand.js +3 -9
- package/dist-es/commands/GetSnapshotBlockCommand.js +3 -10
- package/dist-es/commands/ListChangedBlocksCommand.js +3 -10
- package/dist-es/commands/ListSnapshotBlocksCommand.js +3 -10
- package/dist-es/commands/PutSnapshotBlockCommand.js +3 -10
- package/dist-es/commands/StartSnapshotCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -28
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +498 -0
- package/dist-types/EBSClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -28
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +37 -0
- package/dist-types/ts3.4/EBSClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -19
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +43 -0
- package/package.json +34 -35
- package/dist-es/protocols/Aws_restJson1.js +0 -382
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -56
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -80
|
@@ -0,0 +1,498 @@
|
|
|
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 = "streaming";
|
|
78
|
+
const _sBI = "startingBlockIndex";
|
|
79
|
+
const _se = "sensitive";
|
|
80
|
+
const _ser = "server";
|
|
81
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ebs";
|
|
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
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
|
+
import { EBSServiceException as __EBSServiceException } from "../models/EBSServiceException";
|
|
91
|
+
import { AccessDeniedException as __AccessDeniedException, ConcurrentLimitExceededException as __ConcurrentLimitExceededException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, RequestThrottledException as __RequestThrottledException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ValidationException as __ValidationException, } from "../models/index";
|
|
92
|
+
export var BlockData = [
|
|
93
|
+
0,
|
|
94
|
+
n0,
|
|
95
|
+
_BD,
|
|
96
|
+
{
|
|
97
|
+
[_s]: 1,
|
|
98
|
+
[_se]: 1,
|
|
99
|
+
},
|
|
100
|
+
42,
|
|
101
|
+
];
|
|
102
|
+
export var KmsKeyArn = [0, n0, _KKA, 8, 0];
|
|
103
|
+
export var AccessDeniedException = [
|
|
104
|
+
-3,
|
|
105
|
+
n0,
|
|
106
|
+
_ADE,
|
|
107
|
+
{
|
|
108
|
+
[_e]: _c,
|
|
109
|
+
[_hE]: 403,
|
|
110
|
+
},
|
|
111
|
+
[_M, _R],
|
|
112
|
+
[0, 0],
|
|
113
|
+
];
|
|
114
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
115
|
+
export var Block = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
|
|
116
|
+
export var ChangedBlock = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
|
|
117
|
+
export var CompleteSnapshotRequest = [
|
|
118
|
+
3,
|
|
119
|
+
n0,
|
|
120
|
+
_CSR,
|
|
121
|
+
0,
|
|
122
|
+
[_SI, _CBC, _C, _CA, _CAM],
|
|
123
|
+
[
|
|
124
|
+
[0, 1],
|
|
125
|
+
[
|
|
126
|
+
1,
|
|
127
|
+
{
|
|
128
|
+
[_hH]: _xaC,
|
|
129
|
+
},
|
|
130
|
+
],
|
|
131
|
+
[
|
|
132
|
+
0,
|
|
133
|
+
{
|
|
134
|
+
[_hH]: _xaC_,
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
[
|
|
138
|
+
0,
|
|
139
|
+
{
|
|
140
|
+
[_hH]: _xaCA,
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
[
|
|
144
|
+
0,
|
|
145
|
+
{
|
|
146
|
+
[_hH]: _xaCAM,
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
],
|
|
150
|
+
];
|
|
151
|
+
export var CompleteSnapshotResponse = [3, n0, _CSRo, 0, [_S], [0]];
|
|
152
|
+
export var ConcurrentLimitExceededException = [
|
|
153
|
+
-3,
|
|
154
|
+
n0,
|
|
155
|
+
_CLEE,
|
|
156
|
+
{
|
|
157
|
+
[_e]: _c,
|
|
158
|
+
[_hE]: 400,
|
|
159
|
+
},
|
|
160
|
+
[_M],
|
|
161
|
+
[0],
|
|
162
|
+
];
|
|
163
|
+
TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException, __ConcurrentLimitExceededException);
|
|
164
|
+
export var ConflictException = [
|
|
165
|
+
-3,
|
|
166
|
+
n0,
|
|
167
|
+
_CE,
|
|
168
|
+
{
|
|
169
|
+
[_e]: _c,
|
|
170
|
+
[_hE]: 409,
|
|
171
|
+
},
|
|
172
|
+
[_M],
|
|
173
|
+
[0],
|
|
174
|
+
];
|
|
175
|
+
TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
|
|
176
|
+
export var GetSnapshotBlockRequest = [
|
|
177
|
+
3,
|
|
178
|
+
n0,
|
|
179
|
+
_GSBR,
|
|
180
|
+
0,
|
|
181
|
+
[_SI, _BI, _BT],
|
|
182
|
+
[
|
|
183
|
+
[0, 1],
|
|
184
|
+
[1, 1],
|
|
185
|
+
[
|
|
186
|
+
0,
|
|
187
|
+
{
|
|
188
|
+
[_hQ]: _bT,
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
],
|
|
192
|
+
];
|
|
193
|
+
export var GetSnapshotBlockResponse = [
|
|
194
|
+
3,
|
|
195
|
+
n0,
|
|
196
|
+
_GSBRe,
|
|
197
|
+
0,
|
|
198
|
+
[_DL, _BD, _C, _CA],
|
|
199
|
+
[
|
|
200
|
+
[
|
|
201
|
+
1,
|
|
202
|
+
{
|
|
203
|
+
[_hH]: _xaDL,
|
|
204
|
+
},
|
|
205
|
+
],
|
|
206
|
+
[() => BlockData, 16],
|
|
207
|
+
[
|
|
208
|
+
0,
|
|
209
|
+
{
|
|
210
|
+
[_hH]: _xaC_,
|
|
211
|
+
},
|
|
212
|
+
],
|
|
213
|
+
[
|
|
214
|
+
0,
|
|
215
|
+
{
|
|
216
|
+
[_hH]: _xaCA,
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
],
|
|
220
|
+
];
|
|
221
|
+
export var InternalServerException = [
|
|
222
|
+
-3,
|
|
223
|
+
n0,
|
|
224
|
+
_ISE,
|
|
225
|
+
{
|
|
226
|
+
[_e]: _ser,
|
|
227
|
+
[_hE]: 500,
|
|
228
|
+
},
|
|
229
|
+
[_M],
|
|
230
|
+
[0],
|
|
231
|
+
];
|
|
232
|
+
TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
|
|
233
|
+
export var ListChangedBlocksRequest = [
|
|
234
|
+
3,
|
|
235
|
+
n0,
|
|
236
|
+
_LCBR,
|
|
237
|
+
0,
|
|
238
|
+
[_FSI, _SSI, _NT, _MR, _SBI],
|
|
239
|
+
[
|
|
240
|
+
[
|
|
241
|
+
0,
|
|
242
|
+
{
|
|
243
|
+
[_hQ]: _fSI,
|
|
244
|
+
},
|
|
245
|
+
],
|
|
246
|
+
[0, 1],
|
|
247
|
+
[
|
|
248
|
+
0,
|
|
249
|
+
{
|
|
250
|
+
[_hQ]: _pT,
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
[
|
|
254
|
+
1,
|
|
255
|
+
{
|
|
256
|
+
[_hQ]: _mR,
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
[
|
|
260
|
+
1,
|
|
261
|
+
{
|
|
262
|
+
[_hQ]: _sBI,
|
|
263
|
+
},
|
|
264
|
+
],
|
|
265
|
+
],
|
|
266
|
+
];
|
|
267
|
+
export var ListChangedBlocksResponse = [
|
|
268
|
+
3,
|
|
269
|
+
n0,
|
|
270
|
+
_LCBRi,
|
|
271
|
+
0,
|
|
272
|
+
[_CBh, _ET, _VS, _BS, _NT],
|
|
273
|
+
[[() => ChangedBlocks, 0], 4, 1, 1, 0],
|
|
274
|
+
];
|
|
275
|
+
export var ListSnapshotBlocksRequest = [
|
|
276
|
+
3,
|
|
277
|
+
n0,
|
|
278
|
+
_LSBR,
|
|
279
|
+
0,
|
|
280
|
+
[_SI, _NT, _MR, _SBI],
|
|
281
|
+
[
|
|
282
|
+
[0, 1],
|
|
283
|
+
[
|
|
284
|
+
0,
|
|
285
|
+
{
|
|
286
|
+
[_hQ]: _pT,
|
|
287
|
+
},
|
|
288
|
+
],
|
|
289
|
+
[
|
|
290
|
+
1,
|
|
291
|
+
{
|
|
292
|
+
[_hQ]: _mR,
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
[
|
|
296
|
+
1,
|
|
297
|
+
{
|
|
298
|
+
[_hQ]: _sBI,
|
|
299
|
+
},
|
|
300
|
+
],
|
|
301
|
+
],
|
|
302
|
+
];
|
|
303
|
+
export var ListSnapshotBlocksResponse = [
|
|
304
|
+
3,
|
|
305
|
+
n0,
|
|
306
|
+
_LSBRi,
|
|
307
|
+
0,
|
|
308
|
+
[_Bl, _ET, _VS, _BS, _NT],
|
|
309
|
+
[[() => Blocks, 0], 4, 1, 1, 0],
|
|
310
|
+
];
|
|
311
|
+
export var PutSnapshotBlockRequest = [
|
|
312
|
+
3,
|
|
313
|
+
n0,
|
|
314
|
+
_PSBR,
|
|
315
|
+
0,
|
|
316
|
+
[_SI, _BI, _BD, _DL, _P, _C, _CA],
|
|
317
|
+
[
|
|
318
|
+
[0, 1],
|
|
319
|
+
[1, 1],
|
|
320
|
+
[() => BlockData, 16],
|
|
321
|
+
[
|
|
322
|
+
1,
|
|
323
|
+
{
|
|
324
|
+
[_hH]: _xaDL,
|
|
325
|
+
},
|
|
326
|
+
],
|
|
327
|
+
[
|
|
328
|
+
1,
|
|
329
|
+
{
|
|
330
|
+
[_hH]: _xaP,
|
|
331
|
+
},
|
|
332
|
+
],
|
|
333
|
+
[
|
|
334
|
+
0,
|
|
335
|
+
{
|
|
336
|
+
[_hH]: _xaC_,
|
|
337
|
+
},
|
|
338
|
+
],
|
|
339
|
+
[
|
|
340
|
+
0,
|
|
341
|
+
{
|
|
342
|
+
[_hH]: _xaCA,
|
|
343
|
+
},
|
|
344
|
+
],
|
|
345
|
+
],
|
|
346
|
+
];
|
|
347
|
+
export var PutSnapshotBlockResponse = [
|
|
348
|
+
3,
|
|
349
|
+
n0,
|
|
350
|
+
_PSBRu,
|
|
351
|
+
0,
|
|
352
|
+
[_C, _CA],
|
|
353
|
+
[
|
|
354
|
+
[
|
|
355
|
+
0,
|
|
356
|
+
{
|
|
357
|
+
[_hH]: _xaC_,
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
[
|
|
361
|
+
0,
|
|
362
|
+
{
|
|
363
|
+
[_hH]: _xaCA,
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
],
|
|
367
|
+
];
|
|
368
|
+
export var RequestThrottledException = [
|
|
369
|
+
-3,
|
|
370
|
+
n0,
|
|
371
|
+
_RTE,
|
|
372
|
+
{
|
|
373
|
+
[_e]: _c,
|
|
374
|
+
[_hE]: 400,
|
|
375
|
+
},
|
|
376
|
+
[_M, _R],
|
|
377
|
+
[0, 0],
|
|
378
|
+
];
|
|
379
|
+
TypeRegistry.for(n0).registerError(RequestThrottledException, __RequestThrottledException);
|
|
380
|
+
export var ResourceNotFoundException = [
|
|
381
|
+
-3,
|
|
382
|
+
n0,
|
|
383
|
+
_RNFE,
|
|
384
|
+
{
|
|
385
|
+
[_e]: _c,
|
|
386
|
+
[_hE]: 404,
|
|
387
|
+
},
|
|
388
|
+
[_M, _R],
|
|
389
|
+
[0, 0],
|
|
390
|
+
];
|
|
391
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
392
|
+
export var ServiceQuotaExceededException = [
|
|
393
|
+
-3,
|
|
394
|
+
n0,
|
|
395
|
+
_SQEE,
|
|
396
|
+
{
|
|
397
|
+
[_e]: _c,
|
|
398
|
+
[_hE]: 402,
|
|
399
|
+
},
|
|
400
|
+
[_M, _R],
|
|
401
|
+
[0, 0],
|
|
402
|
+
];
|
|
403
|
+
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
|
|
404
|
+
export var StartSnapshotRequest = [
|
|
405
|
+
3,
|
|
406
|
+
n0,
|
|
407
|
+
_SSR,
|
|
408
|
+
0,
|
|
409
|
+
[_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
|
|
410
|
+
[1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1],
|
|
411
|
+
];
|
|
412
|
+
export var StartSnapshotResponse = [
|
|
413
|
+
3,
|
|
414
|
+
n0,
|
|
415
|
+
_SSRt,
|
|
416
|
+
0,
|
|
417
|
+
[_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
|
|
418
|
+
[0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0],
|
|
419
|
+
];
|
|
420
|
+
export var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
|
|
421
|
+
export var ValidationException = [
|
|
422
|
+
-3,
|
|
423
|
+
n0,
|
|
424
|
+
_VE,
|
|
425
|
+
{
|
|
426
|
+
[_e]: _c,
|
|
427
|
+
[_hE]: 400,
|
|
428
|
+
},
|
|
429
|
+
[_M, _R],
|
|
430
|
+
[0, 0],
|
|
431
|
+
];
|
|
432
|
+
TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
|
|
433
|
+
export var __Unit = "unit";
|
|
434
|
+
export var EBSServiceException = [-3, _sm, "EBSServiceException", 0, [], []];
|
|
435
|
+
TypeRegistry.for(_sm).registerError(EBSServiceException, __EBSServiceException);
|
|
436
|
+
export var Blocks = [1, n0, _Bl, 8, () => Block];
|
|
437
|
+
export var ChangedBlocks = [1, n0, _CBh, 0, [() => ChangedBlock, 0]];
|
|
438
|
+
export var Tags = [1, n0, _T, 0, () => Tag];
|
|
439
|
+
export var CompleteSnapshot = [
|
|
440
|
+
9,
|
|
441
|
+
n0,
|
|
442
|
+
_CS,
|
|
443
|
+
{
|
|
444
|
+
[_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202],
|
|
445
|
+
},
|
|
446
|
+
() => CompleteSnapshotRequest,
|
|
447
|
+
() => CompleteSnapshotResponse,
|
|
448
|
+
];
|
|
449
|
+
export var GetSnapshotBlock = [
|
|
450
|
+
9,
|
|
451
|
+
n0,
|
|
452
|
+
_GSB,
|
|
453
|
+
{
|
|
454
|
+
[_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200],
|
|
455
|
+
},
|
|
456
|
+
() => GetSnapshotBlockRequest,
|
|
457
|
+
() => GetSnapshotBlockResponse,
|
|
458
|
+
];
|
|
459
|
+
export var ListChangedBlocks = [
|
|
460
|
+
9,
|
|
461
|
+
n0,
|
|
462
|
+
_LCB,
|
|
463
|
+
{
|
|
464
|
+
[_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200],
|
|
465
|
+
},
|
|
466
|
+
() => ListChangedBlocksRequest,
|
|
467
|
+
() => ListChangedBlocksResponse,
|
|
468
|
+
];
|
|
469
|
+
export var ListSnapshotBlocks = [
|
|
470
|
+
9,
|
|
471
|
+
n0,
|
|
472
|
+
_LSB,
|
|
473
|
+
{
|
|
474
|
+
[_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200],
|
|
475
|
+
},
|
|
476
|
+
() => ListSnapshotBlocksRequest,
|
|
477
|
+
() => ListSnapshotBlocksResponse,
|
|
478
|
+
];
|
|
479
|
+
export var PutSnapshotBlock = [
|
|
480
|
+
9,
|
|
481
|
+
n0,
|
|
482
|
+
_PSB,
|
|
483
|
+
{
|
|
484
|
+
[_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201],
|
|
485
|
+
},
|
|
486
|
+
() => PutSnapshotBlockRequest,
|
|
487
|
+
() => PutSnapshotBlockResponse,
|
|
488
|
+
];
|
|
489
|
+
export var StartSnapshot = [
|
|
490
|
+
9,
|
|
491
|
+
n0,
|
|
492
|
+
_SS,
|
|
493
|
+
{
|
|
494
|
+
[_h]: ["POST", "/snapshots", 201],
|
|
495
|
+
},
|
|
496
|
+
() => StartSnapshotRequest,
|
|
497
|
+
() => StartSnapshotResponse,
|
|
498
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { CompleteSnapshotCommandInput, CompleteSnapshotCommandOutput } from "./commands/CompleteSnapshotCommand";
|
|
11
11
|
import { GetSnapshotBlockCommandInput, GetSnapshotBlockCommandOutput } from "./commands/GetSnapshotBlockCommand";
|
|
@@ -147,6 +147,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
147
147
|
* Optional extensions
|
|
148
148
|
*/
|
|
149
149
|
extensions?: RuntimeExtension[];
|
|
150
|
+
/**
|
|
151
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
152
|
+
* may be overridden. A default will always be set by the client.
|
|
153
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
154
|
+
* the client.
|
|
155
|
+
* @alpha
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
150
159
|
/**
|
|
151
160
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
152
161
|
*/
|
|
@@ -818,31 +818,3 @@ export interface StartSnapshotResponse {
|
|
|
818
818
|
*/
|
|
819
819
|
SseType?: SSEType | undefined;
|
|
820
820
|
}
|
|
821
|
-
/**
|
|
822
|
-
* @internal
|
|
823
|
-
*/
|
|
824
|
-
export declare const ChangedBlockFilterSensitiveLog: (obj: ChangedBlock) => any;
|
|
825
|
-
/**
|
|
826
|
-
* @internal
|
|
827
|
-
*/
|
|
828
|
-
export declare const GetSnapshotBlockResponseFilterSensitiveLog: (obj: GetSnapshotBlockResponse) => any;
|
|
829
|
-
/**
|
|
830
|
-
* @internal
|
|
831
|
-
*/
|
|
832
|
-
export declare const ListChangedBlocksResponseFilterSensitiveLog: (obj: ListChangedBlocksResponse) => any;
|
|
833
|
-
/**
|
|
834
|
-
* @internal
|
|
835
|
-
*/
|
|
836
|
-
export declare const ListSnapshotBlocksResponseFilterSensitiveLog: (obj: ListSnapshotBlocksResponse) => any;
|
|
837
|
-
/**
|
|
838
|
-
* @internal
|
|
839
|
-
*/
|
|
840
|
-
export declare const PutSnapshotBlockRequestFilterSensitiveLog: (obj: PutSnapshotBlockRequest) => any;
|
|
841
|
-
/**
|
|
842
|
-
* @internal
|
|
843
|
-
*/
|
|
844
|
-
export declare const StartSnapshotRequestFilterSensitiveLog: (obj: StartSnapshotRequest) => any;
|
|
845
|
-
/**
|
|
846
|
-
* @internal
|
|
847
|
-
*/
|
|
848
|
-
export declare const StartSnapshotResponseFilterSensitiveLog: (obj: StartSnapshotResponse) => any;
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
33
34
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
34
35
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
35
36
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
36
37
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EBSHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
18
19
|
serviceId: string;
|
|
19
20
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var BlockData: StaticSimpleSchema;
|
|
3
|
+
export declare var KmsKeyArn: StaticSimpleSchema;
|
|
4
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
5
|
+
export declare var Block: StaticStructureSchema;
|
|
6
|
+
export declare var ChangedBlock: StaticStructureSchema;
|
|
7
|
+
export declare var CompleteSnapshotRequest: StaticStructureSchema;
|
|
8
|
+
export declare var CompleteSnapshotResponse: StaticStructureSchema;
|
|
9
|
+
export declare var ConcurrentLimitExceededException: StaticErrorSchema;
|
|
10
|
+
export declare var ConflictException: StaticErrorSchema;
|
|
11
|
+
export declare var GetSnapshotBlockRequest: StaticStructureSchema;
|
|
12
|
+
export declare var GetSnapshotBlockResponse: StaticStructureSchema;
|
|
13
|
+
export declare var InternalServerException: StaticErrorSchema;
|
|
14
|
+
export declare var ListChangedBlocksRequest: StaticStructureSchema;
|
|
15
|
+
export declare var ListChangedBlocksResponse: StaticStructureSchema;
|
|
16
|
+
export declare var ListSnapshotBlocksRequest: StaticStructureSchema;
|
|
17
|
+
export declare var ListSnapshotBlocksResponse: StaticStructureSchema;
|
|
18
|
+
export declare var PutSnapshotBlockRequest: StaticStructureSchema;
|
|
19
|
+
export declare var PutSnapshotBlockResponse: StaticStructureSchema;
|
|
20
|
+
export declare var RequestThrottledException: StaticErrorSchema;
|
|
21
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
22
|
+
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
23
|
+
export declare var StartSnapshotRequest: StaticStructureSchema;
|
|
24
|
+
export declare var StartSnapshotResponse: StaticStructureSchema;
|
|
25
|
+
export declare var Tag: StaticStructureSchema;
|
|
26
|
+
export declare var ValidationException: StaticErrorSchema;
|
|
27
|
+
export declare var __Unit: "unit";
|
|
28
|
+
export declare var EBSServiceException: StaticErrorSchema;
|
|
29
|
+
export declare var Blocks: StaticListSchema;
|
|
30
|
+
export declare var ChangedBlocks: StaticListSchema;
|
|
31
|
+
export declare var Tags: StaticListSchema;
|
|
32
|
+
export declare var CompleteSnapshot: StaticOperationSchema;
|
|
33
|
+
export declare var GetSnapshotBlock: StaticOperationSchema;
|
|
34
|
+
export declare var ListChangedBlocks: StaticOperationSchema;
|
|
35
|
+
export declare var ListSnapshotBlocks: StaticOperationSchema;
|
|
36
|
+
export declare var PutSnapshotBlock: StaticOperationSchema;
|
|
37
|
+
export declare var StartSnapshot: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -115,6 +118,7 @@ export interface ClientDefaults
|
|
|
115
118
|
retryMode?: string | __Provider<string>;
|
|
116
119
|
logger?: __Logger;
|
|
117
120
|
extensions?: RuntimeExtension[];
|
|
121
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
118
122
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
119
123
|
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
120
124
|
}
|
|
@@ -235,22 +235,3 @@ export interface StartSnapshotResponse {
|
|
|
235
235
|
KmsKeyArn?: string | undefined;
|
|
236
236
|
SseType?: SSEType | undefined;
|
|
237
237
|
}
|
|
238
|
-
export declare const ChangedBlockFilterSensitiveLog: (obj: ChangedBlock) => any;
|
|
239
|
-
export declare const GetSnapshotBlockResponseFilterSensitiveLog: (
|
|
240
|
-
obj: GetSnapshotBlockResponse
|
|
241
|
-
) => any;
|
|
242
|
-
export declare const ListChangedBlocksResponseFilterSensitiveLog: (
|
|
243
|
-
obj: ListChangedBlocksResponse
|
|
244
|
-
) => any;
|
|
245
|
-
export declare const ListSnapshotBlocksResponseFilterSensitiveLog: (
|
|
246
|
-
obj: ListSnapshotBlocksResponse
|
|
247
|
-
) => any;
|
|
248
|
-
export declare const PutSnapshotBlockRequestFilterSensitiveLog: (
|
|
249
|
-
obj: PutSnapshotBlockRequest
|
|
250
|
-
) => any;
|
|
251
|
-
export declare const StartSnapshotRequestFilterSensitiveLog: (
|
|
252
|
-
obj: StartSnapshotRequest
|
|
253
|
-
) => any;
|
|
254
|
-
export declare const StartSnapshotResponseFilterSensitiveLog: (
|
|
255
|
-
obj: StartSnapshotResponse
|
|
256
|
-
) => any;
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
42
46
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
43
47
|
userAgentAppId?:
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: EBSClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
sdkStreamMixin: import("@smithy/types").SdkStreamMixinInjector;
|
|
42
46
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
43
47
|
retryStrategy?:
|