@aws-sdk/client-ebs 3.986.0 → 3.988.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 +25 -419
- package/dist-cjs/models/EBSServiceException.js +12 -0
- package/dist-cjs/models/errors.js +134 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +255 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +55 -49
- package/dist-types/schemas/schemas_0.d.ts +15 -8
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -8
- package/package.json +14 -14
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var EBSServiceException = require('./models/EBSServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,380 +113,6 @@ class EBSClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class EBSServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, EBSServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends EBSServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
Message;
|
|
124
|
-
Reason;
|
|
125
|
-
constructor(opts) {
|
|
126
|
-
super({
|
|
127
|
-
name: "AccessDeniedException",
|
|
128
|
-
$fault: "client",
|
|
129
|
-
...opts,
|
|
130
|
-
});
|
|
131
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
|
-
this.Message = opts.Message;
|
|
133
|
-
this.Reason = opts.Reason;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
class InternalServerException extends EBSServiceException {
|
|
137
|
-
name = "InternalServerException";
|
|
138
|
-
$fault = "server";
|
|
139
|
-
Message;
|
|
140
|
-
constructor(opts) {
|
|
141
|
-
super({
|
|
142
|
-
name: "InternalServerException",
|
|
143
|
-
$fault: "server",
|
|
144
|
-
...opts,
|
|
145
|
-
});
|
|
146
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
147
|
-
this.Message = opts.Message;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
class RequestThrottledException extends EBSServiceException {
|
|
151
|
-
name = "RequestThrottledException";
|
|
152
|
-
$fault = "client";
|
|
153
|
-
Message;
|
|
154
|
-
Reason;
|
|
155
|
-
constructor(opts) {
|
|
156
|
-
super({
|
|
157
|
-
name: "RequestThrottledException",
|
|
158
|
-
$fault: "client",
|
|
159
|
-
...opts,
|
|
160
|
-
});
|
|
161
|
-
Object.setPrototypeOf(this, RequestThrottledException.prototype);
|
|
162
|
-
this.Message = opts.Message;
|
|
163
|
-
this.Reason = opts.Reason;
|
|
164
|
-
}
|
|
165
|
-
}
|
|
166
|
-
class ResourceNotFoundException extends EBSServiceException {
|
|
167
|
-
name = "ResourceNotFoundException";
|
|
168
|
-
$fault = "client";
|
|
169
|
-
Message;
|
|
170
|
-
Reason;
|
|
171
|
-
constructor(opts) {
|
|
172
|
-
super({
|
|
173
|
-
name: "ResourceNotFoundException",
|
|
174
|
-
$fault: "client",
|
|
175
|
-
...opts,
|
|
176
|
-
});
|
|
177
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
178
|
-
this.Message = opts.Message;
|
|
179
|
-
this.Reason = opts.Reason;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
class ServiceQuotaExceededException extends EBSServiceException {
|
|
183
|
-
name = "ServiceQuotaExceededException";
|
|
184
|
-
$fault = "client";
|
|
185
|
-
Message;
|
|
186
|
-
Reason;
|
|
187
|
-
constructor(opts) {
|
|
188
|
-
super({
|
|
189
|
-
name: "ServiceQuotaExceededException",
|
|
190
|
-
$fault: "client",
|
|
191
|
-
...opts,
|
|
192
|
-
});
|
|
193
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
194
|
-
this.Message = opts.Message;
|
|
195
|
-
this.Reason = opts.Reason;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
class ValidationException extends EBSServiceException {
|
|
199
|
-
name = "ValidationException";
|
|
200
|
-
$fault = "client";
|
|
201
|
-
Message;
|
|
202
|
-
Reason;
|
|
203
|
-
constructor(opts) {
|
|
204
|
-
super({
|
|
205
|
-
name: "ValidationException",
|
|
206
|
-
$fault: "client",
|
|
207
|
-
...opts,
|
|
208
|
-
});
|
|
209
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
210
|
-
this.Message = opts.Message;
|
|
211
|
-
this.Reason = opts.Reason;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
class ConcurrentLimitExceededException extends EBSServiceException {
|
|
215
|
-
name = "ConcurrentLimitExceededException";
|
|
216
|
-
$fault = "client";
|
|
217
|
-
Message;
|
|
218
|
-
constructor(opts) {
|
|
219
|
-
super({
|
|
220
|
-
name: "ConcurrentLimitExceededException",
|
|
221
|
-
$fault: "client",
|
|
222
|
-
...opts,
|
|
223
|
-
});
|
|
224
|
-
Object.setPrototypeOf(this, ConcurrentLimitExceededException.prototype);
|
|
225
|
-
this.Message = opts.Message;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
class ConflictException extends EBSServiceException {
|
|
229
|
-
name = "ConflictException";
|
|
230
|
-
$fault = "client";
|
|
231
|
-
Message;
|
|
232
|
-
constructor(opts) {
|
|
233
|
-
super({
|
|
234
|
-
name: "ConflictException",
|
|
235
|
-
$fault: "client",
|
|
236
|
-
...opts,
|
|
237
|
-
});
|
|
238
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
239
|
-
this.Message = opts.Message;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
const _ADE = "AccessDeniedException";
|
|
244
|
-
const _B = "Block";
|
|
245
|
-
const _BD = "BlockData";
|
|
246
|
-
const _BI = "BlockIndex";
|
|
247
|
-
const _BS = "BlockSize";
|
|
248
|
-
const _BT = "BlockToken";
|
|
249
|
-
const _Bl = "Blocks";
|
|
250
|
-
const _C = "Checksum";
|
|
251
|
-
const _CA = "ChecksumAlgorithm";
|
|
252
|
-
const _CAM = "ChecksumAggregationMethod";
|
|
253
|
-
const _CB = "ChangedBlock";
|
|
254
|
-
const _CBC = "ChangedBlocksCount";
|
|
255
|
-
const _CBh = "ChangedBlocks";
|
|
256
|
-
const _CE = "ConflictException";
|
|
257
|
-
const _CLEE = "ConcurrentLimitExceededException";
|
|
258
|
-
const _CS = "CompleteSnapshot";
|
|
259
|
-
const _CSR = "CompleteSnapshotRequest";
|
|
260
|
-
const _CSRo = "CompleteSnapshotResponse";
|
|
261
|
-
const _CT = "ClientToken";
|
|
262
|
-
const _D = "Description";
|
|
263
|
-
const _DL = "DataLength";
|
|
264
|
-
const _E = "Encrypted";
|
|
265
|
-
const _ET = "ExpiryTime";
|
|
266
|
-
const _FBT = "FirstBlockToken";
|
|
267
|
-
const _FSI = "FirstSnapshotId";
|
|
268
|
-
const _GSB = "GetSnapshotBlock";
|
|
269
|
-
const _GSBR = "GetSnapshotBlockRequest";
|
|
270
|
-
const _GSBRe = "GetSnapshotBlockResponse";
|
|
271
|
-
const _ISE = "InternalServerException";
|
|
272
|
-
const _K = "Key";
|
|
273
|
-
const _KKA = "KmsKeyArn";
|
|
274
|
-
const _LCB = "ListChangedBlocks";
|
|
275
|
-
const _LCBR = "ListChangedBlocksRequest";
|
|
276
|
-
const _LCBRi = "ListChangedBlocksResponse";
|
|
277
|
-
const _LSB = "ListSnapshotBlocks";
|
|
278
|
-
const _LSBR = "ListSnapshotBlocksRequest";
|
|
279
|
-
const _LSBRi = "ListSnapshotBlocksResponse";
|
|
280
|
-
const _M = "Message";
|
|
281
|
-
const _MR = "MaxResults";
|
|
282
|
-
const _NT = "NextToken";
|
|
283
|
-
const _OI = "OwnerId";
|
|
284
|
-
const _P = "Progress";
|
|
285
|
-
const _PSB = "PutSnapshotBlock";
|
|
286
|
-
const _PSBR = "PutSnapshotBlockRequest";
|
|
287
|
-
const _PSBRu = "PutSnapshotBlockResponse";
|
|
288
|
-
const _PSI = "ParentSnapshotId";
|
|
289
|
-
const _R = "Reason";
|
|
290
|
-
const _RNFE = "ResourceNotFoundException";
|
|
291
|
-
const _RTE = "RequestThrottledException";
|
|
292
|
-
const _S = "Status";
|
|
293
|
-
const _SBI = "StartingBlockIndex";
|
|
294
|
-
const _SBT = "SecondBlockToken";
|
|
295
|
-
const _SI = "SnapshotId";
|
|
296
|
-
const _SQEE = "ServiceQuotaExceededException";
|
|
297
|
-
const _SS = "StartSnapshot";
|
|
298
|
-
const _SSI = "SecondSnapshotId";
|
|
299
|
-
const _SSR = "StartSnapshotRequest";
|
|
300
|
-
const _SSRt = "StartSnapshotResponse";
|
|
301
|
-
const _ST = "StartTime";
|
|
302
|
-
const _STs = "SseType";
|
|
303
|
-
const _T = "Tags";
|
|
304
|
-
const _Ta = "Tag";
|
|
305
|
-
const _Ti = "Timeout";
|
|
306
|
-
const _V = "Value";
|
|
307
|
-
const _VE = "ValidationException";
|
|
308
|
-
const _VS = "VolumeSize";
|
|
309
|
-
const _bT = "blockToken";
|
|
310
|
-
const _c = "client";
|
|
311
|
-
const _e = "error";
|
|
312
|
-
const _fSI = "firstSnapshotId";
|
|
313
|
-
const _h = "http";
|
|
314
|
-
const _hE = "httpError";
|
|
315
|
-
const _hH = "httpHeader";
|
|
316
|
-
const _hQ = "httpQuery";
|
|
317
|
-
const _mR = "maxResults";
|
|
318
|
-
const _pT = "pageToken";
|
|
319
|
-
const _s = "sensitive";
|
|
320
|
-
const _sBI = "startingBlockIndex";
|
|
321
|
-
const _se = "server";
|
|
322
|
-
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.ebs";
|
|
323
|
-
const _st = "streaming";
|
|
324
|
-
const _xaC = "x-amz-ChangedBlocksCount";
|
|
325
|
-
const _xaCA = "x-amz-Checksum-Algorithm";
|
|
326
|
-
const _xaCAM = "x-amz-Checksum-Aggregation-Method";
|
|
327
|
-
const _xaC_ = "x-amz-Checksum";
|
|
328
|
-
const _xaDL = "x-amz-Data-Length";
|
|
329
|
-
const _xaP = "x-amz-Progress";
|
|
330
|
-
const n0 = "com.amazonaws.ebs";
|
|
331
|
-
var BlockData = [0, n0, _BD, { [_s]: 1, [_st]: 1 }, 42];
|
|
332
|
-
var KmsKeyArn = [0, n0, _KKA, 8, 0];
|
|
333
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
334
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
335
|
-
[_R, _M],
|
|
336
|
-
[0, 0], 1
|
|
337
|
-
];
|
|
338
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
339
|
-
var Block$ = [3, n0, _B,
|
|
340
|
-
0,
|
|
341
|
-
[_BI, _BT],
|
|
342
|
-
[1, 0]
|
|
343
|
-
];
|
|
344
|
-
var ChangedBlock$ = [3, n0, _CB,
|
|
345
|
-
8,
|
|
346
|
-
[_BI, _FBT, _SBT],
|
|
347
|
-
[1, 0, 0]
|
|
348
|
-
];
|
|
349
|
-
var CompleteSnapshotRequest$ = [3, n0, _CSR,
|
|
350
|
-
0,
|
|
351
|
-
[_SI, _CBC, _C, _CA, _CAM],
|
|
352
|
-
[[0, 1], [1, { [_hH]: _xaC }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [0, { [_hH]: _xaCAM }]], 2
|
|
353
|
-
];
|
|
354
|
-
var CompleteSnapshotResponse$ = [3, n0, _CSRo,
|
|
355
|
-
0,
|
|
356
|
-
[_S],
|
|
357
|
-
[0]
|
|
358
|
-
];
|
|
359
|
-
var ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
|
|
360
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
361
|
-
[_M],
|
|
362
|
-
[0]
|
|
363
|
-
];
|
|
364
|
-
schema.TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
|
|
365
|
-
var ConflictException$ = [-3, n0, _CE,
|
|
366
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
367
|
-
[_M],
|
|
368
|
-
[0]
|
|
369
|
-
];
|
|
370
|
-
schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
371
|
-
var GetSnapshotBlockRequest$ = [3, n0, _GSBR,
|
|
372
|
-
0,
|
|
373
|
-
[_SI, _BI, _BT],
|
|
374
|
-
[[0, 1], [1, 1], [0, { [_hQ]: _bT }]], 3
|
|
375
|
-
];
|
|
376
|
-
var GetSnapshotBlockResponse$ = [3, n0, _GSBRe,
|
|
377
|
-
0,
|
|
378
|
-
[_DL, _BD, _C, _CA],
|
|
379
|
-
[[1, { [_hH]: _xaDL }], [() => BlockData, 16], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
380
|
-
];
|
|
381
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
382
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
383
|
-
[_M],
|
|
384
|
-
[0]
|
|
385
|
-
];
|
|
386
|
-
schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
387
|
-
var ListChangedBlocksRequest$ = [3, n0, _LCBR,
|
|
388
|
-
0,
|
|
389
|
-
[_SSI, _FSI, _NT, _MR, _SBI],
|
|
390
|
-
[[0, 1], [0, { [_hQ]: _fSI }], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]], 1
|
|
391
|
-
];
|
|
392
|
-
var ListChangedBlocksResponse$ = [3, n0, _LCBRi,
|
|
393
|
-
0,
|
|
394
|
-
[_CBh, _ET, _VS, _BS, _NT],
|
|
395
|
-
[[() => ChangedBlocks, 0], 4, 1, 1, 0]
|
|
396
|
-
];
|
|
397
|
-
var ListSnapshotBlocksRequest$ = [3, n0, _LSBR,
|
|
398
|
-
0,
|
|
399
|
-
[_SI, _NT, _MR, _SBI],
|
|
400
|
-
[[0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]], 1
|
|
401
|
-
];
|
|
402
|
-
var ListSnapshotBlocksResponse$ = [3, n0, _LSBRi,
|
|
403
|
-
0,
|
|
404
|
-
[_Bl, _ET, _VS, _BS, _NT],
|
|
405
|
-
[[() => Blocks, 0], 4, 1, 1, 0]
|
|
406
|
-
];
|
|
407
|
-
var PutSnapshotBlockRequest$ = [3, n0, _PSBR,
|
|
408
|
-
0,
|
|
409
|
-
[_SI, _BI, _BD, _DL, _C, _CA, _P],
|
|
410
|
-
[[0, 1], [1, 1], [() => BlockData, 16], [1, { [_hH]: _xaDL }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [1, { [_hH]: _xaP }]], 6
|
|
411
|
-
];
|
|
412
|
-
var PutSnapshotBlockResponse$ = [3, n0, _PSBRu,
|
|
413
|
-
0,
|
|
414
|
-
[_C, _CA],
|
|
415
|
-
[[0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
416
|
-
];
|
|
417
|
-
var RequestThrottledException$ = [-3, n0, _RTE,
|
|
418
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
419
|
-
[_M, _R],
|
|
420
|
-
[0, 0]
|
|
421
|
-
];
|
|
422
|
-
schema.TypeRegistry.for(n0).registerError(RequestThrottledException$, RequestThrottledException);
|
|
423
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
424
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
425
|
-
[_M, _R],
|
|
426
|
-
[0, 0]
|
|
427
|
-
];
|
|
428
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
429
|
-
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
430
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
431
|
-
[_M, _R],
|
|
432
|
-
[0, 0]
|
|
433
|
-
];
|
|
434
|
-
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
435
|
-
var StartSnapshotRequest$ = [3, n0, _SSR,
|
|
436
|
-
0,
|
|
437
|
-
[_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
|
|
438
|
-
[1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1], 1
|
|
439
|
-
];
|
|
440
|
-
var StartSnapshotResponse$ = [3, n0, _SSRt,
|
|
441
|
-
0,
|
|
442
|
-
[_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
|
|
443
|
-
[0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0]
|
|
444
|
-
];
|
|
445
|
-
var Tag$ = [3, n0, _Ta,
|
|
446
|
-
0,
|
|
447
|
-
[_K, _V],
|
|
448
|
-
[0, 0]
|
|
449
|
-
];
|
|
450
|
-
var ValidationException$ = [-3, n0, _VE,
|
|
451
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
452
|
-
[_M, _R],
|
|
453
|
-
[0, 0]
|
|
454
|
-
];
|
|
455
|
-
schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
456
|
-
var EBSServiceException$ = [-3, _sm, "EBSServiceException", 0, [], []];
|
|
457
|
-
schema.TypeRegistry.for(_sm).registerError(EBSServiceException$, EBSServiceException);
|
|
458
|
-
var Blocks = [1, n0, _Bl,
|
|
459
|
-
8, () => Block$
|
|
460
|
-
];
|
|
461
|
-
var ChangedBlocks = [1, n0, _CBh,
|
|
462
|
-
0, [() => ChangedBlock$,
|
|
463
|
-
0]
|
|
464
|
-
];
|
|
465
|
-
var Tags = [1, n0, _T,
|
|
466
|
-
0, () => Tag$
|
|
467
|
-
];
|
|
468
|
-
var CompleteSnapshot$ = [9, n0, _CS,
|
|
469
|
-
{ [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] }, () => CompleteSnapshotRequest$, () => CompleteSnapshotResponse$
|
|
470
|
-
];
|
|
471
|
-
var GetSnapshotBlock$ = [9, n0, _GSB,
|
|
472
|
-
{ [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] }, () => GetSnapshotBlockRequest$, () => GetSnapshotBlockResponse$
|
|
473
|
-
];
|
|
474
|
-
var ListChangedBlocks$ = [9, n0, _LCB,
|
|
475
|
-
{ [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] }, () => ListChangedBlocksRequest$, () => ListChangedBlocksResponse$
|
|
476
|
-
];
|
|
477
|
-
var ListSnapshotBlocks$ = [9, n0, _LSB,
|
|
478
|
-
{ [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] }, () => ListSnapshotBlocksRequest$, () => ListSnapshotBlocksResponse$
|
|
479
|
-
];
|
|
480
|
-
var PutSnapshotBlock$ = [9, n0, _PSB,
|
|
481
|
-
{ [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] }, () => PutSnapshotBlockRequest$, () => PutSnapshotBlockResponse$
|
|
482
|
-
];
|
|
483
|
-
var StartSnapshot$ = [9, n0, _SS,
|
|
484
|
-
{ [_h]: ["POST", "/snapshots", 201] }, () => StartSnapshotRequest$, () => StartSnapshotResponse$
|
|
485
|
-
];
|
|
486
|
-
|
|
487
116
|
class CompleteSnapshotCommand extends smithyClient.Command
|
|
488
117
|
.classBuilder()
|
|
489
118
|
.ep(commonParams)
|
|
@@ -492,7 +121,7 @@ class CompleteSnapshotCommand extends smithyClient.Command
|
|
|
492
121
|
})
|
|
493
122
|
.s("Ebs", "CompleteSnapshot", {})
|
|
494
123
|
.n("EBSClient", "CompleteSnapshotCommand")
|
|
495
|
-
.sc(CompleteSnapshot$)
|
|
124
|
+
.sc(schemas_0.CompleteSnapshot$)
|
|
496
125
|
.build() {
|
|
497
126
|
}
|
|
498
127
|
|
|
@@ -504,7 +133,7 @@ class GetSnapshotBlockCommand extends smithyClient.Command
|
|
|
504
133
|
})
|
|
505
134
|
.s("Ebs", "GetSnapshotBlock", {})
|
|
506
135
|
.n("EBSClient", "GetSnapshotBlockCommand")
|
|
507
|
-
.sc(GetSnapshotBlock$)
|
|
136
|
+
.sc(schemas_0.GetSnapshotBlock$)
|
|
508
137
|
.build() {
|
|
509
138
|
}
|
|
510
139
|
|
|
@@ -516,7 +145,7 @@ class ListChangedBlocksCommand extends smithyClient.Command
|
|
|
516
145
|
})
|
|
517
146
|
.s("Ebs", "ListChangedBlocks", {})
|
|
518
147
|
.n("EBSClient", "ListChangedBlocksCommand")
|
|
519
|
-
.sc(ListChangedBlocks$)
|
|
148
|
+
.sc(schemas_0.ListChangedBlocks$)
|
|
520
149
|
.build() {
|
|
521
150
|
}
|
|
522
151
|
|
|
@@ -528,7 +157,7 @@ class ListSnapshotBlocksCommand extends smithyClient.Command
|
|
|
528
157
|
})
|
|
529
158
|
.s("Ebs", "ListSnapshotBlocks", {})
|
|
530
159
|
.n("EBSClient", "ListSnapshotBlocksCommand")
|
|
531
|
-
.sc(ListSnapshotBlocks$)
|
|
160
|
+
.sc(schemas_0.ListSnapshotBlocks$)
|
|
532
161
|
.build() {
|
|
533
162
|
}
|
|
534
163
|
|
|
@@ -540,7 +169,7 @@ class PutSnapshotBlockCommand extends smithyClient.Command
|
|
|
540
169
|
})
|
|
541
170
|
.s("Ebs", "PutSnapshotBlock", {})
|
|
542
171
|
.n("EBSClient", "PutSnapshotBlockCommand")
|
|
543
|
-
.sc(PutSnapshotBlock$)
|
|
172
|
+
.sc(schemas_0.PutSnapshotBlock$)
|
|
544
173
|
.build() {
|
|
545
174
|
}
|
|
546
175
|
|
|
@@ -552,7 +181,7 @@ class StartSnapshotCommand extends smithyClient.Command
|
|
|
552
181
|
})
|
|
553
182
|
.s("Ebs", "StartSnapshot", {})
|
|
554
183
|
.n("EBSClient", "StartSnapshotCommand")
|
|
555
|
-
.sc(StartSnapshot$)
|
|
184
|
+
.sc(schemas_0.StartSnapshot$)
|
|
556
185
|
.build() {
|
|
557
186
|
}
|
|
558
187
|
|
|
@@ -636,61 +265,38 @@ Object.defineProperty(exports, "__Client", {
|
|
|
636
265
|
enumerable: true,
|
|
637
266
|
get: function () { return smithyClient.Client; }
|
|
638
267
|
});
|
|
639
|
-
exports
|
|
640
|
-
|
|
268
|
+
Object.defineProperty(exports, "EBSServiceException", {
|
|
269
|
+
enumerable: true,
|
|
270
|
+
get: function () { return EBSServiceException.EBSServiceException; }
|
|
271
|
+
});
|
|
641
272
|
exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
|
|
642
|
-
exports.Block$ = Block$;
|
|
643
|
-
exports.ChangedBlock$ = ChangedBlock$;
|
|
644
273
|
exports.ChecksumAggregationMethod = ChecksumAggregationMethod;
|
|
645
274
|
exports.ChecksumAlgorithm = ChecksumAlgorithm;
|
|
646
|
-
exports.CompleteSnapshot$ = CompleteSnapshot$;
|
|
647
275
|
exports.CompleteSnapshotCommand = CompleteSnapshotCommand;
|
|
648
|
-
exports.CompleteSnapshotRequest$ = CompleteSnapshotRequest$;
|
|
649
|
-
exports.CompleteSnapshotResponse$ = CompleteSnapshotResponse$;
|
|
650
|
-
exports.ConcurrentLimitExceededException = ConcurrentLimitExceededException;
|
|
651
|
-
exports.ConcurrentLimitExceededException$ = ConcurrentLimitExceededException$;
|
|
652
|
-
exports.ConflictException = ConflictException;
|
|
653
|
-
exports.ConflictException$ = ConflictException$;
|
|
654
276
|
exports.EBS = EBS;
|
|
655
277
|
exports.EBSClient = EBSClient;
|
|
656
|
-
exports.EBSServiceException = EBSServiceException;
|
|
657
|
-
exports.EBSServiceException$ = EBSServiceException$;
|
|
658
|
-
exports.GetSnapshotBlock$ = GetSnapshotBlock$;
|
|
659
278
|
exports.GetSnapshotBlockCommand = GetSnapshotBlockCommand;
|
|
660
|
-
exports.GetSnapshotBlockRequest$ = GetSnapshotBlockRequest$;
|
|
661
|
-
exports.GetSnapshotBlockResponse$ = GetSnapshotBlockResponse$;
|
|
662
|
-
exports.InternalServerException = InternalServerException;
|
|
663
|
-
exports.InternalServerException$ = InternalServerException$;
|
|
664
|
-
exports.ListChangedBlocks$ = ListChangedBlocks$;
|
|
665
279
|
exports.ListChangedBlocksCommand = ListChangedBlocksCommand;
|
|
666
|
-
exports.ListChangedBlocksRequest$ = ListChangedBlocksRequest$;
|
|
667
|
-
exports.ListChangedBlocksResponse$ = ListChangedBlocksResponse$;
|
|
668
|
-
exports.ListSnapshotBlocks$ = ListSnapshotBlocks$;
|
|
669
280
|
exports.ListSnapshotBlocksCommand = ListSnapshotBlocksCommand;
|
|
670
|
-
exports.ListSnapshotBlocksRequest$ = ListSnapshotBlocksRequest$;
|
|
671
|
-
exports.ListSnapshotBlocksResponse$ = ListSnapshotBlocksResponse$;
|
|
672
|
-
exports.PutSnapshotBlock$ = PutSnapshotBlock$;
|
|
673
281
|
exports.PutSnapshotBlockCommand = PutSnapshotBlockCommand;
|
|
674
|
-
exports.PutSnapshotBlockRequest$ = PutSnapshotBlockRequest$;
|
|
675
|
-
exports.PutSnapshotBlockResponse$ = PutSnapshotBlockResponse$;
|
|
676
|
-
exports.RequestThrottledException = RequestThrottledException;
|
|
677
|
-
exports.RequestThrottledException$ = RequestThrottledException$;
|
|
678
282
|
exports.RequestThrottledExceptionReason = RequestThrottledExceptionReason;
|
|
679
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
680
|
-
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
681
283
|
exports.ResourceNotFoundExceptionReason = ResourceNotFoundExceptionReason;
|
|
682
284
|
exports.SSEType = SSEType;
|
|
683
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
684
|
-
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
685
285
|
exports.ServiceQuotaExceededExceptionReason = ServiceQuotaExceededExceptionReason;
|
|
686
|
-
exports.StartSnapshot$ = StartSnapshot$;
|
|
687
286
|
exports.StartSnapshotCommand = StartSnapshotCommand;
|
|
688
|
-
exports.StartSnapshotRequest$ = StartSnapshotRequest$;
|
|
689
|
-
exports.StartSnapshotResponse$ = StartSnapshotResponse$;
|
|
690
287
|
exports.Status = Status;
|
|
691
|
-
exports.Tag$ = Tag$;
|
|
692
|
-
exports.ValidationException = ValidationException;
|
|
693
|
-
exports.ValidationException$ = ValidationException$;
|
|
694
288
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
695
289
|
exports.paginateListChangedBlocks = paginateListChangedBlocks;
|
|
696
290
|
exports.paginateListSnapshotBlocks = paginateListSnapshotBlocks;
|
|
291
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
292
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
293
|
+
enumerable: true,
|
|
294
|
+
get: function () { return schemas_0[k]; }
|
|
295
|
+
});
|
|
296
|
+
});
|
|
297
|
+
Object.keys(errors).forEach(function (k) {
|
|
298
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
299
|
+
enumerable: true,
|
|
300
|
+
get: function () { return errors[k]; }
|
|
301
|
+
});
|
|
302
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EBSServiceException = exports.__ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
+
class EBSServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, EBSServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.EBSServiceException = EBSServiceException;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ConflictException = exports.ConcurrentLimitExceededException = exports.ValidationException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.RequestThrottledException = exports.InternalServerException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const EBSServiceException_1 = require("./EBSServiceException");
|
|
5
|
+
class AccessDeniedException extends EBSServiceException_1.EBSServiceException {
|
|
6
|
+
name = "AccessDeniedException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
Message;
|
|
9
|
+
Reason;
|
|
10
|
+
constructor(opts) {
|
|
11
|
+
super({
|
|
12
|
+
name: "AccessDeniedException",
|
|
13
|
+
$fault: "client",
|
|
14
|
+
...opts,
|
|
15
|
+
});
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
this.Reason = opts.Reason;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
22
|
+
class InternalServerException extends EBSServiceException_1.EBSServiceException {
|
|
23
|
+
name = "InternalServerException";
|
|
24
|
+
$fault = "server";
|
|
25
|
+
Message;
|
|
26
|
+
constructor(opts) {
|
|
27
|
+
super({
|
|
28
|
+
name: "InternalServerException",
|
|
29
|
+
$fault: "server",
|
|
30
|
+
...opts,
|
|
31
|
+
});
|
|
32
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
33
|
+
this.Message = opts.Message;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.InternalServerException = InternalServerException;
|
|
37
|
+
class RequestThrottledException extends EBSServiceException_1.EBSServiceException {
|
|
38
|
+
name = "RequestThrottledException";
|
|
39
|
+
$fault = "client";
|
|
40
|
+
Message;
|
|
41
|
+
Reason;
|
|
42
|
+
constructor(opts) {
|
|
43
|
+
super({
|
|
44
|
+
name: "RequestThrottledException",
|
|
45
|
+
$fault: "client",
|
|
46
|
+
...opts,
|
|
47
|
+
});
|
|
48
|
+
Object.setPrototypeOf(this, RequestThrottledException.prototype);
|
|
49
|
+
this.Message = opts.Message;
|
|
50
|
+
this.Reason = opts.Reason;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.RequestThrottledException = RequestThrottledException;
|
|
54
|
+
class ResourceNotFoundException extends EBSServiceException_1.EBSServiceException {
|
|
55
|
+
name = "ResourceNotFoundException";
|
|
56
|
+
$fault = "client";
|
|
57
|
+
Message;
|
|
58
|
+
Reason;
|
|
59
|
+
constructor(opts) {
|
|
60
|
+
super({
|
|
61
|
+
name: "ResourceNotFoundException",
|
|
62
|
+
$fault: "client",
|
|
63
|
+
...opts,
|
|
64
|
+
});
|
|
65
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
66
|
+
this.Message = opts.Message;
|
|
67
|
+
this.Reason = opts.Reason;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
71
|
+
class ServiceQuotaExceededException extends EBSServiceException_1.EBSServiceException {
|
|
72
|
+
name = "ServiceQuotaExceededException";
|
|
73
|
+
$fault = "client";
|
|
74
|
+
Message;
|
|
75
|
+
Reason;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "ServiceQuotaExceededException",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
this.Reason = opts.Reason;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
88
|
+
class ValidationException extends EBSServiceException_1.EBSServiceException {
|
|
89
|
+
name = "ValidationException";
|
|
90
|
+
$fault = "client";
|
|
91
|
+
Message;
|
|
92
|
+
Reason;
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ValidationException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
100
|
+
this.Message = opts.Message;
|
|
101
|
+
this.Reason = opts.Reason;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ValidationException = ValidationException;
|
|
105
|
+
class ConcurrentLimitExceededException extends EBSServiceException_1.EBSServiceException {
|
|
106
|
+
name = "ConcurrentLimitExceededException";
|
|
107
|
+
$fault = "client";
|
|
108
|
+
Message;
|
|
109
|
+
constructor(opts) {
|
|
110
|
+
super({
|
|
111
|
+
name: "ConcurrentLimitExceededException",
|
|
112
|
+
$fault: "client",
|
|
113
|
+
...opts,
|
|
114
|
+
});
|
|
115
|
+
Object.setPrototypeOf(this, ConcurrentLimitExceededException.prototype);
|
|
116
|
+
this.Message = opts.Message;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.ConcurrentLimitExceededException = ConcurrentLimitExceededException;
|
|
120
|
+
class ConflictException extends EBSServiceException_1.EBSServiceException {
|
|
121
|
+
name = "ConflictException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "ConflictException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.ConflictException = ConflictException;
|
|
@@ -10,6 +10,7 @@ const util_stream_1 = require("@smithy/util-stream");
|
|
|
10
10
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
11
11
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
12
12
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
13
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
13
14
|
const getRuntimeConfig = (config) => {
|
|
14
15
|
return {
|
|
15
16
|
apiVersion: "2019-11-02",
|
|
@@ -30,6 +31,7 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
31
32
|
protocolSettings: config?.protocolSettings ?? {
|
|
32
33
|
defaultNamespace: "com.amazonaws.ebs",
|
|
34
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
33
35
|
version: "2019-11-02",
|
|
34
36
|
serviceTarget: "Ebs",
|
|
35
37
|
},
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartSnapshot$ = exports.PutSnapshotBlock$ = exports.ListSnapshotBlocks$ = exports.ListChangedBlocks$ = exports.GetSnapshotBlock$ = exports.CompleteSnapshot$ = exports.Tag$ = exports.StartSnapshotResponse$ = exports.StartSnapshotRequest$ = exports.PutSnapshotBlockResponse$ = exports.PutSnapshotBlockRequest$ = exports.ListSnapshotBlocksResponse$ = exports.ListSnapshotBlocksRequest$ = exports.ListChangedBlocksResponse$ = exports.ListChangedBlocksRequest$ = exports.GetSnapshotBlockResponse$ = exports.GetSnapshotBlockRequest$ = exports.CompleteSnapshotResponse$ = exports.CompleteSnapshotRequest$ = exports.ChangedBlock$ = exports.Block$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.RequestThrottledException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.ConcurrentLimitExceededException$ = exports.AccessDeniedException$ = exports.EBSServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _B = "Block";
|
|
6
|
+
const _BD = "BlockData";
|
|
7
|
+
const _BI = "BlockIndex";
|
|
8
|
+
const _BS = "BlockSize";
|
|
9
|
+
const _BT = "BlockToken";
|
|
10
|
+
const _Bl = "Blocks";
|
|
11
|
+
const _C = "Checksum";
|
|
12
|
+
const _CA = "ChecksumAlgorithm";
|
|
13
|
+
const _CAM = "ChecksumAggregationMethod";
|
|
14
|
+
const _CB = "ChangedBlock";
|
|
15
|
+
const _CBC = "ChangedBlocksCount";
|
|
16
|
+
const _CBh = "ChangedBlocks";
|
|
17
|
+
const _CE = "ConflictException";
|
|
18
|
+
const _CLEE = "ConcurrentLimitExceededException";
|
|
19
|
+
const _CS = "CompleteSnapshot";
|
|
20
|
+
const _CSR = "CompleteSnapshotRequest";
|
|
21
|
+
const _CSRo = "CompleteSnapshotResponse";
|
|
22
|
+
const _CT = "ClientToken";
|
|
23
|
+
const _D = "Description";
|
|
24
|
+
const _DL = "DataLength";
|
|
25
|
+
const _E = "Encrypted";
|
|
26
|
+
const _ET = "ExpiryTime";
|
|
27
|
+
const _FBT = "FirstBlockToken";
|
|
28
|
+
const _FSI = "FirstSnapshotId";
|
|
29
|
+
const _GSB = "GetSnapshotBlock";
|
|
30
|
+
const _GSBR = "GetSnapshotBlockRequest";
|
|
31
|
+
const _GSBRe = "GetSnapshotBlockResponse";
|
|
32
|
+
const _ISE = "InternalServerException";
|
|
33
|
+
const _K = "Key";
|
|
34
|
+
const _KKA = "KmsKeyArn";
|
|
35
|
+
const _LCB = "ListChangedBlocks";
|
|
36
|
+
const _LCBR = "ListChangedBlocksRequest";
|
|
37
|
+
const _LCBRi = "ListChangedBlocksResponse";
|
|
38
|
+
const _LSB = "ListSnapshotBlocks";
|
|
39
|
+
const _LSBR = "ListSnapshotBlocksRequest";
|
|
40
|
+
const _LSBRi = "ListSnapshotBlocksResponse";
|
|
41
|
+
const _M = "Message";
|
|
42
|
+
const _MR = "MaxResults";
|
|
43
|
+
const _NT = "NextToken";
|
|
44
|
+
const _OI = "OwnerId";
|
|
45
|
+
const _P = "Progress";
|
|
46
|
+
const _PSB = "PutSnapshotBlock";
|
|
47
|
+
const _PSBR = "PutSnapshotBlockRequest";
|
|
48
|
+
const _PSBRu = "PutSnapshotBlockResponse";
|
|
49
|
+
const _PSI = "ParentSnapshotId";
|
|
50
|
+
const _R = "Reason";
|
|
51
|
+
const _RNFE = "ResourceNotFoundException";
|
|
52
|
+
const _RTE = "RequestThrottledException";
|
|
53
|
+
const _S = "Status";
|
|
54
|
+
const _SBI = "StartingBlockIndex";
|
|
55
|
+
const _SBT = "SecondBlockToken";
|
|
56
|
+
const _SI = "SnapshotId";
|
|
57
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
58
|
+
const _SS = "StartSnapshot";
|
|
59
|
+
const _SSI = "SecondSnapshotId";
|
|
60
|
+
const _SSR = "StartSnapshotRequest";
|
|
61
|
+
const _SSRt = "StartSnapshotResponse";
|
|
62
|
+
const _ST = "StartTime";
|
|
63
|
+
const _STs = "SseType";
|
|
64
|
+
const _T = "Tags";
|
|
65
|
+
const _Ta = "Tag";
|
|
66
|
+
const _Ti = "Timeout";
|
|
67
|
+
const _V = "Value";
|
|
68
|
+
const _VE = "ValidationException";
|
|
69
|
+
const _VS = "VolumeSize";
|
|
70
|
+
const _bT = "blockToken";
|
|
71
|
+
const _c = "client";
|
|
72
|
+
const _e = "error";
|
|
73
|
+
const _fSI = "firstSnapshotId";
|
|
74
|
+
const _h = "http";
|
|
75
|
+
const _hE = "httpError";
|
|
76
|
+
const _hH = "httpHeader";
|
|
77
|
+
const _hQ = "httpQuery";
|
|
78
|
+
const _mR = "maxResults";
|
|
79
|
+
const _pT = "pageToken";
|
|
80
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ebs";
|
|
81
|
+
const _sBI = "startingBlockIndex";
|
|
82
|
+
const _se = "server";
|
|
83
|
+
const _sen = "sensitive";
|
|
84
|
+
const _st = "streaming";
|
|
85
|
+
const _xaC = "x-amz-ChangedBlocksCount";
|
|
86
|
+
const _xaCA = "x-amz-Checksum-Algorithm";
|
|
87
|
+
const _xaCAM = "x-amz-Checksum-Aggregation-Method";
|
|
88
|
+
const _xaC_ = "x-amz-Checksum";
|
|
89
|
+
const _xaDL = "x-amz-Data-Length";
|
|
90
|
+
const _xaP = "x-amz-Progress";
|
|
91
|
+
const n0 = "com.amazonaws.ebs";
|
|
92
|
+
const schema_1 = require("@smithy/core/schema");
|
|
93
|
+
const EBSServiceException_1 = require("../models/EBSServiceException");
|
|
94
|
+
const errors_1 = require("../models/errors");
|
|
95
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
96
|
+
exports.EBSServiceException$ = [-3, _s, "EBSServiceException", 0, [], []];
|
|
97
|
+
_s_registry.registerError(exports.EBSServiceException$, EBSServiceException_1.EBSServiceException);
|
|
98
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
99
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
100
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
101
|
+
[_R, _M],
|
|
102
|
+
[0, 0], 1
|
|
103
|
+
];
|
|
104
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
105
|
+
exports.ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
|
|
106
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
107
|
+
[_M],
|
|
108
|
+
[0]
|
|
109
|
+
];
|
|
110
|
+
n0_registry.registerError(exports.ConcurrentLimitExceededException$, errors_1.ConcurrentLimitExceededException);
|
|
111
|
+
exports.ConflictException$ = [-3, n0, _CE,
|
|
112
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
113
|
+
[_M],
|
|
114
|
+
[0]
|
|
115
|
+
];
|
|
116
|
+
n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
|
|
117
|
+
exports.InternalServerException$ = [-3, n0, _ISE,
|
|
118
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
119
|
+
[_M],
|
|
120
|
+
[0]
|
|
121
|
+
];
|
|
122
|
+
n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
|
|
123
|
+
exports.RequestThrottledException$ = [-3, n0, _RTE,
|
|
124
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
125
|
+
[_M, _R],
|
|
126
|
+
[0, 0]
|
|
127
|
+
];
|
|
128
|
+
n0_registry.registerError(exports.RequestThrottledException$, errors_1.RequestThrottledException);
|
|
129
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
130
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
131
|
+
[_M, _R],
|
|
132
|
+
[0, 0]
|
|
133
|
+
];
|
|
134
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
135
|
+
exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
136
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
137
|
+
[_M, _R],
|
|
138
|
+
[0, 0]
|
|
139
|
+
];
|
|
140
|
+
n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
|
|
141
|
+
exports.ValidationException$ = [-3, n0, _VE,
|
|
142
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
143
|
+
[_M, _R],
|
|
144
|
+
[0, 0]
|
|
145
|
+
];
|
|
146
|
+
n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
|
|
147
|
+
exports.errorTypeRegistries = [
|
|
148
|
+
_s_registry,
|
|
149
|
+
n0_registry,
|
|
150
|
+
];
|
|
151
|
+
var BlockData = [0, n0, _BD, { [_sen]: 1, [_st]: 1 }, 42];
|
|
152
|
+
var KmsKeyArn = [0, n0, _KKA, 8, 0];
|
|
153
|
+
exports.Block$ = [3, n0, _B,
|
|
154
|
+
0,
|
|
155
|
+
[_BI, _BT],
|
|
156
|
+
[1, 0]
|
|
157
|
+
];
|
|
158
|
+
exports.ChangedBlock$ = [3, n0, _CB,
|
|
159
|
+
8,
|
|
160
|
+
[_BI, _FBT, _SBT],
|
|
161
|
+
[1, 0, 0]
|
|
162
|
+
];
|
|
163
|
+
exports.CompleteSnapshotRequest$ = [3, n0, _CSR,
|
|
164
|
+
0,
|
|
165
|
+
[_SI, _CBC, _C, _CA, _CAM],
|
|
166
|
+
[[0, 1], [1, { [_hH]: _xaC }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [0, { [_hH]: _xaCAM }]], 2
|
|
167
|
+
];
|
|
168
|
+
exports.CompleteSnapshotResponse$ = [3, n0, _CSRo,
|
|
169
|
+
0,
|
|
170
|
+
[_S],
|
|
171
|
+
[0]
|
|
172
|
+
];
|
|
173
|
+
exports.GetSnapshotBlockRequest$ = [3, n0, _GSBR,
|
|
174
|
+
0,
|
|
175
|
+
[_SI, _BI, _BT],
|
|
176
|
+
[[0, 1], [1, 1], [0, { [_hQ]: _bT }]], 3
|
|
177
|
+
];
|
|
178
|
+
exports.GetSnapshotBlockResponse$ = [3, n0, _GSBRe,
|
|
179
|
+
0,
|
|
180
|
+
[_DL, _BD, _C, _CA],
|
|
181
|
+
[[1, { [_hH]: _xaDL }], [() => BlockData, 16], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
182
|
+
];
|
|
183
|
+
exports.ListChangedBlocksRequest$ = [3, n0, _LCBR,
|
|
184
|
+
0,
|
|
185
|
+
[_SSI, _FSI, _NT, _MR, _SBI],
|
|
186
|
+
[[0, 1], [0, { [_hQ]: _fSI }], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]], 1
|
|
187
|
+
];
|
|
188
|
+
exports.ListChangedBlocksResponse$ = [3, n0, _LCBRi,
|
|
189
|
+
0,
|
|
190
|
+
[_CBh, _ET, _VS, _BS, _NT],
|
|
191
|
+
[[() => ChangedBlocks, 0], 4, 1, 1, 0]
|
|
192
|
+
];
|
|
193
|
+
exports.ListSnapshotBlocksRequest$ = [3, n0, _LSBR,
|
|
194
|
+
0,
|
|
195
|
+
[_SI, _NT, _MR, _SBI],
|
|
196
|
+
[[0, 1], [0, { [_hQ]: _pT }], [1, { [_hQ]: _mR }], [1, { [_hQ]: _sBI }]], 1
|
|
197
|
+
];
|
|
198
|
+
exports.ListSnapshotBlocksResponse$ = [3, n0, _LSBRi,
|
|
199
|
+
0,
|
|
200
|
+
[_Bl, _ET, _VS, _BS, _NT],
|
|
201
|
+
[[() => Blocks, 0], 4, 1, 1, 0]
|
|
202
|
+
];
|
|
203
|
+
exports.PutSnapshotBlockRequest$ = [3, n0, _PSBR,
|
|
204
|
+
0,
|
|
205
|
+
[_SI, _BI, _BD, _DL, _C, _CA, _P],
|
|
206
|
+
[[0, 1], [1, 1], [() => BlockData, 16], [1, { [_hH]: _xaDL }], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }], [1, { [_hH]: _xaP }]], 6
|
|
207
|
+
];
|
|
208
|
+
exports.PutSnapshotBlockResponse$ = [3, n0, _PSBRu,
|
|
209
|
+
0,
|
|
210
|
+
[_C, _CA],
|
|
211
|
+
[[0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
212
|
+
];
|
|
213
|
+
exports.StartSnapshotRequest$ = [3, n0, _SSR,
|
|
214
|
+
0,
|
|
215
|
+
[_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
|
|
216
|
+
[1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1], 1
|
|
217
|
+
];
|
|
218
|
+
exports.StartSnapshotResponse$ = [3, n0, _SSRt,
|
|
219
|
+
0,
|
|
220
|
+
[_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
|
|
221
|
+
[0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0]
|
|
222
|
+
];
|
|
223
|
+
exports.Tag$ = [3, n0, _Ta,
|
|
224
|
+
0,
|
|
225
|
+
[_K, _V],
|
|
226
|
+
[0, 0]
|
|
227
|
+
];
|
|
228
|
+
var Blocks = [1, n0, _Bl,
|
|
229
|
+
8, () => exports.Block$
|
|
230
|
+
];
|
|
231
|
+
var ChangedBlocks = [1, n0, _CBh,
|
|
232
|
+
0, [() => exports.ChangedBlock$,
|
|
233
|
+
0]
|
|
234
|
+
];
|
|
235
|
+
var Tags = [1, n0, _T,
|
|
236
|
+
0, () => exports.Tag$
|
|
237
|
+
];
|
|
238
|
+
exports.CompleteSnapshot$ = [9, n0, _CS,
|
|
239
|
+
{ [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] }, () => exports.CompleteSnapshotRequest$, () => exports.CompleteSnapshotResponse$
|
|
240
|
+
];
|
|
241
|
+
exports.GetSnapshotBlock$ = [9, n0, _GSB,
|
|
242
|
+
{ [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] }, () => exports.GetSnapshotBlockRequest$, () => exports.GetSnapshotBlockResponse$
|
|
243
|
+
];
|
|
244
|
+
exports.ListChangedBlocks$ = [9, n0, _LCB,
|
|
245
|
+
{ [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] }, () => exports.ListChangedBlocksRequest$, () => exports.ListChangedBlocksResponse$
|
|
246
|
+
];
|
|
247
|
+
exports.ListSnapshotBlocks$ = [9, n0, _LSB,
|
|
248
|
+
{ [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] }, () => exports.ListSnapshotBlocksRequest$, () => exports.ListSnapshotBlocksResponse$
|
|
249
|
+
];
|
|
250
|
+
exports.PutSnapshotBlock$ = [9, n0, _PSB,
|
|
251
|
+
{ [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] }, () => exports.PutSnapshotBlockRequest$, () => exports.PutSnapshotBlockResponse$
|
|
252
|
+
];
|
|
253
|
+
exports.StartSnapshot$ = [9, n0, _SS,
|
|
254
|
+
{ [_h]: ["POST", "/snapshots", 201] }, () => exports.StartSnapshotRequest$, () => exports.StartSnapshotResponse$
|
|
255
|
+
];
|
|
@@ -7,6 +7,7 @@ import { sdkStreamMixin } from "@smithy/util-stream";
|
|
|
7
7
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
8
8
|
import { defaultEBSHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
9
9
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
10
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
10
11
|
export const getRuntimeConfig = (config) => {
|
|
11
12
|
return {
|
|
12
13
|
apiVersion: "2019-11-02",
|
|
@@ -27,6 +28,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
28
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
28
29
|
protocolSettings: config?.protocolSettings ?? {
|
|
29
30
|
defaultNamespace: "com.amazonaws.ebs",
|
|
31
|
+
errorTypeRegistries,
|
|
30
32
|
version: "2019-11-02",
|
|
31
33
|
serviceTarget: "Ebs",
|
|
32
34
|
},
|
|
@@ -74,10 +74,10 @@ const _hH = "httpHeader";
|
|
|
74
74
|
const _hQ = "httpQuery";
|
|
75
75
|
const _mR = "maxResults";
|
|
76
76
|
const _pT = "pageToken";
|
|
77
|
-
const _s = "
|
|
77
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ebs";
|
|
78
78
|
const _sBI = "startingBlockIndex";
|
|
79
79
|
const _se = "server";
|
|
80
|
-
const
|
|
80
|
+
const _sen = "sensitive";
|
|
81
81
|
const _st = "streaming";
|
|
82
82
|
const _xaC = "x-amz-ChangedBlocksCount";
|
|
83
83
|
const _xaCA = "x-amz-Checksum-Algorithm";
|
|
@@ -89,14 +89,64 @@ const n0 = "com.amazonaws.ebs";
|
|
|
89
89
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
90
|
import { EBSServiceException } from "../models/EBSServiceException";
|
|
91
91
|
import { AccessDeniedException, ConcurrentLimitExceededException, ConflictException, InternalServerException, RequestThrottledException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/errors";
|
|
92
|
-
|
|
93
|
-
var
|
|
92
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
93
|
+
export var EBSServiceException$ = [-3, _s, "EBSServiceException", 0, [], []];
|
|
94
|
+
_s_registry.registerError(EBSServiceException$, EBSServiceException);
|
|
95
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
94
96
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
95
97
|
{ [_e]: _c, [_hE]: 403 },
|
|
96
98
|
[_R, _M],
|
|
97
99
|
[0, 0], 1
|
|
98
100
|
];
|
|
99
|
-
|
|
101
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
102
|
+
export var ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
|
|
103
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
104
|
+
[_M],
|
|
105
|
+
[0]
|
|
106
|
+
];
|
|
107
|
+
n0_registry.registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
|
|
108
|
+
export var ConflictException$ = [-3, n0, _CE,
|
|
109
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
110
|
+
[_M],
|
|
111
|
+
[0]
|
|
112
|
+
];
|
|
113
|
+
n0_registry.registerError(ConflictException$, ConflictException);
|
|
114
|
+
export var InternalServerException$ = [-3, n0, _ISE,
|
|
115
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
116
|
+
[_M],
|
|
117
|
+
[0]
|
|
118
|
+
];
|
|
119
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
120
|
+
export var RequestThrottledException$ = [-3, n0, _RTE,
|
|
121
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
122
|
+
[_M, _R],
|
|
123
|
+
[0, 0]
|
|
124
|
+
];
|
|
125
|
+
n0_registry.registerError(RequestThrottledException$, RequestThrottledException);
|
|
126
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
127
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
128
|
+
[_M, _R],
|
|
129
|
+
[0, 0]
|
|
130
|
+
];
|
|
131
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
132
|
+
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
133
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
134
|
+
[_M, _R],
|
|
135
|
+
[0, 0]
|
|
136
|
+
];
|
|
137
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
138
|
+
export var ValidationException$ = [-3, n0, _VE,
|
|
139
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
140
|
+
[_M, _R],
|
|
141
|
+
[0, 0]
|
|
142
|
+
];
|
|
143
|
+
n0_registry.registerError(ValidationException$, ValidationException);
|
|
144
|
+
export const errorTypeRegistries = [
|
|
145
|
+
_s_registry,
|
|
146
|
+
n0_registry,
|
|
147
|
+
];
|
|
148
|
+
var BlockData = [0, n0, _BD, { [_sen]: 1, [_st]: 1 }, 42];
|
|
149
|
+
var KmsKeyArn = [0, n0, _KKA, 8, 0];
|
|
100
150
|
export var Block$ = [3, n0, _B,
|
|
101
151
|
0,
|
|
102
152
|
[_BI, _BT],
|
|
@@ -117,18 +167,6 @@ export var CompleteSnapshotResponse$ = [3, n0, _CSRo,
|
|
|
117
167
|
[_S],
|
|
118
168
|
[0]
|
|
119
169
|
];
|
|
120
|
-
export var ConcurrentLimitExceededException$ = [-3, n0, _CLEE,
|
|
121
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
122
|
-
[_M],
|
|
123
|
-
[0]
|
|
124
|
-
];
|
|
125
|
-
TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
|
|
126
|
-
export var ConflictException$ = [-3, n0, _CE,
|
|
127
|
-
{ [_e]: _c, [_hE]: 409 },
|
|
128
|
-
[_M],
|
|
129
|
-
[0]
|
|
130
|
-
];
|
|
131
|
-
TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
|
|
132
170
|
export var GetSnapshotBlockRequest$ = [3, n0, _GSBR,
|
|
133
171
|
0,
|
|
134
172
|
[_SI, _BI, _BT],
|
|
@@ -139,12 +177,6 @@ export var GetSnapshotBlockResponse$ = [3, n0, _GSBRe,
|
|
|
139
177
|
[_DL, _BD, _C, _CA],
|
|
140
178
|
[[1, { [_hH]: _xaDL }], [() => BlockData, 16], [0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
141
179
|
];
|
|
142
|
-
export var InternalServerException$ = [-3, n0, _ISE,
|
|
143
|
-
{ [_e]: _se, [_hE]: 500 },
|
|
144
|
-
[_M],
|
|
145
|
-
[0]
|
|
146
|
-
];
|
|
147
|
-
TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
|
|
148
180
|
export var ListChangedBlocksRequest$ = [3, n0, _LCBR,
|
|
149
181
|
0,
|
|
150
182
|
[_SSI, _FSI, _NT, _MR, _SBI],
|
|
@@ -175,24 +207,6 @@ export var PutSnapshotBlockResponse$ = [3, n0, _PSBRu,
|
|
|
175
207
|
[_C, _CA],
|
|
176
208
|
[[0, { [_hH]: _xaC_ }], [0, { [_hH]: _xaCA }]]
|
|
177
209
|
];
|
|
178
|
-
export var RequestThrottledException$ = [-3, n0, _RTE,
|
|
179
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
180
|
-
[_M, _R],
|
|
181
|
-
[0, 0]
|
|
182
|
-
];
|
|
183
|
-
TypeRegistry.for(n0).registerError(RequestThrottledException$, RequestThrottledException);
|
|
184
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
185
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
186
|
-
[_M, _R],
|
|
187
|
-
[0, 0]
|
|
188
|
-
];
|
|
189
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
190
|
-
export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
191
|
-
{ [_e]: _c, [_hE]: 402 },
|
|
192
|
-
[_M, _R],
|
|
193
|
-
[0, 0]
|
|
194
|
-
];
|
|
195
|
-
TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
196
210
|
export var StartSnapshotRequest$ = [3, n0, _SSR,
|
|
197
211
|
0,
|
|
198
212
|
[_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
|
|
@@ -208,14 +222,6 @@ export var Tag$ = [3, n0, _Ta,
|
|
|
208
222
|
[_K, _V],
|
|
209
223
|
[0, 0]
|
|
210
224
|
];
|
|
211
|
-
export var ValidationException$ = [-3, n0, _VE,
|
|
212
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
213
|
-
[_M, _R],
|
|
214
|
-
[0, 0]
|
|
215
|
-
];
|
|
216
|
-
TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
|
|
217
|
-
export var EBSServiceException$ = [-3, _sm, "EBSServiceException", 0, [], []];
|
|
218
|
-
TypeRegistry.for(_sm).registerError(EBSServiceException$, EBSServiceException);
|
|
219
225
|
var Blocks = [1, n0, _Bl,
|
|
220
226
|
8, () => Block$
|
|
221
227
|
];
|
|
@@ -1,28 +1,35 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var EBSServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
5
|
+
export declare var ConcurrentLimitExceededException$: StaticErrorSchema;
|
|
6
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
7
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
8
|
+
export declare var RequestThrottledException$: StaticErrorSchema;
|
|
9
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
10
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
11
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
12
|
+
/**
|
|
13
|
+
* TypeRegistry instances containing modeled errors.
|
|
14
|
+
* @internal
|
|
15
|
+
*
|
|
16
|
+
*/
|
|
17
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
3
18
|
export declare var Block$: StaticStructureSchema;
|
|
4
19
|
export declare var ChangedBlock$: StaticStructureSchema;
|
|
5
20
|
export declare var CompleteSnapshotRequest$: StaticStructureSchema;
|
|
6
21
|
export declare var CompleteSnapshotResponse$: StaticStructureSchema;
|
|
7
|
-
export declare var ConcurrentLimitExceededException$: StaticErrorSchema;
|
|
8
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
9
22
|
export declare var GetSnapshotBlockRequest$: StaticStructureSchema;
|
|
10
23
|
export declare var GetSnapshotBlockResponse$: StaticStructureSchema;
|
|
11
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
12
24
|
export declare var ListChangedBlocksRequest$: StaticStructureSchema;
|
|
13
25
|
export declare var ListChangedBlocksResponse$: StaticStructureSchema;
|
|
14
26
|
export declare var ListSnapshotBlocksRequest$: StaticStructureSchema;
|
|
15
27
|
export declare var ListSnapshotBlocksResponse$: StaticStructureSchema;
|
|
16
28
|
export declare var PutSnapshotBlockRequest$: StaticStructureSchema;
|
|
17
29
|
export declare var PutSnapshotBlockResponse$: StaticStructureSchema;
|
|
18
|
-
export declare var RequestThrottledException$: StaticErrorSchema;
|
|
19
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
20
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
21
30
|
export declare var StartSnapshotRequest$: StaticStructureSchema;
|
|
22
31
|
export declare var StartSnapshotResponse$: StaticStructureSchema;
|
|
23
32
|
export declare var Tag$: StaticStructureSchema;
|
|
24
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
25
|
-
export declare var EBSServiceException$: StaticErrorSchema;
|
|
26
33
|
export declare var CompleteSnapshot$: StaticOperationSchema;
|
|
27
34
|
export declare var GetSnapshotBlock$: StaticOperationSchema;
|
|
28
35
|
export declare var ListChangedBlocks$: StaticOperationSchema;
|
|
@@ -1,32 +1,34 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var EBSServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
|
+
export declare var ConcurrentLimitExceededException$: StaticErrorSchema;
|
|
10
|
+
export declare var ConflictException$: StaticErrorSchema;
|
|
11
|
+
export declare var InternalServerException$: StaticErrorSchema;
|
|
12
|
+
export declare var RequestThrottledException$: StaticErrorSchema;
|
|
13
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
14
|
+
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
15
|
+
export declare var ValidationException$: StaticErrorSchema;
|
|
16
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
7
17
|
export declare var Block$: StaticStructureSchema;
|
|
8
18
|
export declare var ChangedBlock$: StaticStructureSchema;
|
|
9
19
|
export declare var CompleteSnapshotRequest$: StaticStructureSchema;
|
|
10
20
|
export declare var CompleteSnapshotResponse$: StaticStructureSchema;
|
|
11
|
-
export declare var ConcurrentLimitExceededException$: StaticErrorSchema;
|
|
12
|
-
export declare var ConflictException$: StaticErrorSchema;
|
|
13
21
|
export declare var GetSnapshotBlockRequest$: StaticStructureSchema;
|
|
14
22
|
export declare var GetSnapshotBlockResponse$: StaticStructureSchema;
|
|
15
|
-
export declare var InternalServerException$: StaticErrorSchema;
|
|
16
23
|
export declare var ListChangedBlocksRequest$: StaticStructureSchema;
|
|
17
24
|
export declare var ListChangedBlocksResponse$: StaticStructureSchema;
|
|
18
25
|
export declare var ListSnapshotBlocksRequest$: StaticStructureSchema;
|
|
19
26
|
export declare var ListSnapshotBlocksResponse$: StaticStructureSchema;
|
|
20
27
|
export declare var PutSnapshotBlockRequest$: StaticStructureSchema;
|
|
21
28
|
export declare var PutSnapshotBlockResponse$: StaticStructureSchema;
|
|
22
|
-
export declare var RequestThrottledException$: StaticErrorSchema;
|
|
23
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
24
|
-
export declare var ServiceQuotaExceededException$: StaticErrorSchema;
|
|
25
29
|
export declare var StartSnapshotRequest$: StaticStructureSchema;
|
|
26
30
|
export declare var StartSnapshotResponse$: StaticStructureSchema;
|
|
27
31
|
export declare var Tag$: StaticStructureSchema;
|
|
28
|
-
export declare var ValidationException$: StaticErrorSchema;
|
|
29
|
-
export declare var EBSServiceException$: StaticErrorSchema;
|
|
30
32
|
export declare var CompleteSnapshot$: StaticOperationSchema;
|
|
31
33
|
export declare var GetSnapshotBlock$: StaticOperationSchema;
|
|
32
34
|
export declare var ListChangedBlocks$: StaticOperationSchema;
|
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.988.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ebs",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.8",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.7",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.8",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.988.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.6",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|
|
59
|
-
"@smithy/util-stream": "^4.5.
|
|
59
|
+
"@smithy/util-stream": "^4.5.12",
|
|
60
60
|
"@smithy/util-utf8": "^4.2.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|