@aws-sdk/client-ebs 3.952.0 → 3.954.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 CHANGED
@@ -110,14 +110,14 @@ class EBSClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- let EBSServiceException$1 = class EBSServiceException extends smithyClient.ServiceException {
113
+ class EBSServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, EBSServiceException.prototype);
117
117
  }
118
- };
118
+ }
119
119
 
120
- let AccessDeniedException$1 = class AccessDeniedException extends EBSServiceException$1 {
120
+ class AccessDeniedException extends EBSServiceException {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -132,8 +132,8 @@ let AccessDeniedException$1 = class AccessDeniedException extends EBSServiceExce
132
132
  this.Message = opts.Message;
133
133
  this.Reason = opts.Reason;
134
134
  }
135
- };
136
- let InternalServerException$1 = class InternalServerException extends EBSServiceException$1 {
135
+ }
136
+ class InternalServerException extends EBSServiceException {
137
137
  name = "InternalServerException";
138
138
  $fault = "server";
139
139
  Message;
@@ -146,8 +146,8 @@ let InternalServerException$1 = class InternalServerException extends EBSService
146
146
  Object.setPrototypeOf(this, InternalServerException.prototype);
147
147
  this.Message = opts.Message;
148
148
  }
149
- };
150
- let RequestThrottledException$1 = class RequestThrottledException extends EBSServiceException$1 {
149
+ }
150
+ class RequestThrottledException extends EBSServiceException {
151
151
  name = "RequestThrottledException";
152
152
  $fault = "client";
153
153
  Message;
@@ -162,8 +162,8 @@ let RequestThrottledException$1 = class RequestThrottledException extends EBSSer
162
162
  this.Message = opts.Message;
163
163
  this.Reason = opts.Reason;
164
164
  }
165
- };
166
- let ResourceNotFoundException$1 = class ResourceNotFoundException extends EBSServiceException$1 {
165
+ }
166
+ class ResourceNotFoundException extends EBSServiceException {
167
167
  name = "ResourceNotFoundException";
168
168
  $fault = "client";
169
169
  Message;
@@ -178,8 +178,8 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends EBSSer
178
178
  this.Message = opts.Message;
179
179
  this.Reason = opts.Reason;
180
180
  }
181
- };
182
- let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends EBSServiceException$1 {
181
+ }
182
+ class ServiceQuotaExceededException extends EBSServiceException {
183
183
  name = "ServiceQuotaExceededException";
184
184
  $fault = "client";
185
185
  Message;
@@ -194,8 +194,8 @@ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extend
194
194
  this.Message = opts.Message;
195
195
  this.Reason = opts.Reason;
196
196
  }
197
- };
198
- let ValidationException$1 = class ValidationException extends EBSServiceException$1 {
197
+ }
198
+ class ValidationException extends EBSServiceException {
199
199
  name = "ValidationException";
200
200
  $fault = "client";
201
201
  Message;
@@ -210,8 +210,8 @@ let ValidationException$1 = class ValidationException extends EBSServiceExceptio
210
210
  this.Message = opts.Message;
211
211
  this.Reason = opts.Reason;
212
212
  }
213
- };
214
- let ConcurrentLimitExceededException$1 = class ConcurrentLimitExceededException extends EBSServiceException$1 {
213
+ }
214
+ class ConcurrentLimitExceededException extends EBSServiceException {
215
215
  name = "ConcurrentLimitExceededException";
216
216
  $fault = "client";
217
217
  Message;
@@ -224,8 +224,8 @@ let ConcurrentLimitExceededException$1 = class ConcurrentLimitExceededException
224
224
  Object.setPrototypeOf(this, ConcurrentLimitExceededException.prototype);
225
225
  this.Message = opts.Message;
226
226
  }
227
- };
228
- let ConflictException$1 = class ConflictException extends EBSServiceException$1 {
227
+ }
228
+ class ConflictException extends EBSServiceException {
229
229
  name = "ConflictException";
230
230
  $fault = "client";
231
231
  Message;
@@ -238,7 +238,7 @@ let ConflictException$1 = class ConflictException extends EBSServiceException$1
238
238
  Object.setPrototypeOf(this, ConflictException.prototype);
239
239
  this.Message = opts.Message;
240
240
  }
241
- };
241
+ }
242
242
 
243
243
  const _ADE = "AccessDeniedException";
244
244
  const _B = "Block";
@@ -330,11 +330,11 @@ const _xaP = "x-amz-Progress";
330
330
  const n0 = "com.amazonaws.ebs";
331
331
  var BlockData = [0, n0, _BD, { [_s]: 1, [_se]: 1 }, 42];
332
332
  var KmsKeyArn = [0, n0, _KKA, 8, 0];
333
- var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _R], [0, 0]];
334
- schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
335
- var Block = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
336
- var ChangedBlock = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
337
- var CompleteSnapshotRequest = [
333
+ var AccessDeniedException$ = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M, _R], [0, 0]];
334
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
335
+ var Block$ = [3, n0, _B, 0, [_BI, _BT], [1, 0]];
336
+ var ChangedBlock$ = [3, n0, _CB, 8, [_BI, _FBT, _SBT], [1, 0, 0]];
337
+ var CompleteSnapshotRequest$ = [
338
338
  3,
339
339
  n0,
340
340
  _CSR,
@@ -348,12 +348,12 @@ var CompleteSnapshotRequest = [
348
348
  [0, { [_hH]: _xaCAM }],
349
349
  ],
350
350
  ];
351
- var CompleteSnapshotResponse = [3, n0, _CSRo, 0, [_S], [0]];
352
- var ConcurrentLimitExceededException = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
353
- schema.TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException, ConcurrentLimitExceededException$1);
354
- var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
355
- schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
356
- var GetSnapshotBlockRequest = [
351
+ var CompleteSnapshotResponse$ = [3, n0, _CSRo, 0, [_S], [0]];
352
+ var ConcurrentLimitExceededException$ = [-3, n0, _CLEE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
353
+ schema.TypeRegistry.for(n0).registerError(ConcurrentLimitExceededException$, ConcurrentLimitExceededException);
354
+ var ConflictException$ = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
355
+ schema.TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
356
+ var GetSnapshotBlockRequest$ = [
357
357
  3,
358
358
  n0,
359
359
  _GSBR,
@@ -365,7 +365,7 @@ var GetSnapshotBlockRequest = [
365
365
  [0, { [_hQ]: _bT }],
366
366
  ],
367
367
  ];
368
- var GetSnapshotBlockResponse = [
368
+ var GetSnapshotBlockResponse$ = [
369
369
  3,
370
370
  n0,
371
371
  _GSBRe,
@@ -378,9 +378,9 @@ var GetSnapshotBlockResponse = [
378
378
  [0, { [_hH]: _xaCA }],
379
379
  ],
380
380
  ];
381
- var InternalServerException = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_M], [0]];
382
- schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
383
- var ListChangedBlocksRequest = [
381
+ var InternalServerException$ = [-3, n0, _ISE, { [_e]: _ser, [_hE]: 500 }, [_M], [0]];
382
+ schema.TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
383
+ var ListChangedBlocksRequest$ = [
384
384
  3,
385
385
  n0,
386
386
  _LCBR,
@@ -394,7 +394,7 @@ var ListChangedBlocksRequest = [
394
394
  [1, { [_hQ]: _sBI }],
395
395
  ],
396
396
  ];
397
- var ListChangedBlocksResponse = [
397
+ var ListChangedBlocksResponse$ = [
398
398
  3,
399
399
  n0,
400
400
  _LCBRi,
@@ -402,7 +402,7 @@ var ListChangedBlocksResponse = [
402
402
  [_CBh, _ET, _VS, _BS, _NT],
403
403
  [[() => ChangedBlocks, 0], 4, 1, 1, 0],
404
404
  ];
405
- var ListSnapshotBlocksRequest = [
405
+ var ListSnapshotBlocksRequest$ = [
406
406
  3,
407
407
  n0,
408
408
  _LSBR,
@@ -415,7 +415,7 @@ var ListSnapshotBlocksRequest = [
415
415
  [1, { [_hQ]: _sBI }],
416
416
  ],
417
417
  ];
418
- var ListSnapshotBlocksResponse = [
418
+ var ListSnapshotBlocksResponse$ = [
419
419
  3,
420
420
  n0,
421
421
  _LSBRi,
@@ -423,7 +423,7 @@ var ListSnapshotBlocksResponse = [
423
423
  [_Bl, _ET, _VS, _BS, _NT],
424
424
  [[() => Blocks, 0], 4, 1, 1, 0],
425
425
  ];
426
- var PutSnapshotBlockRequest = [
426
+ var PutSnapshotBlockRequest$ = [
427
427
  3,
428
428
  n0,
429
429
  _PSBR,
@@ -439,7 +439,7 @@ var PutSnapshotBlockRequest = [
439
439
  [0, { [_hH]: _xaCA }],
440
440
  ],
441
441
  ];
442
- var PutSnapshotBlockResponse = [
442
+ var PutSnapshotBlockResponse$ = [
443
443
  3,
444
444
  n0,
445
445
  _PSBRu,
@@ -450,11 +450,11 @@ var PutSnapshotBlockResponse = [
450
450
  [0, { [_hH]: _xaCA }],
451
451
  ],
452
452
  ];
453
- var RequestThrottledException = [-3, n0, _RTE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
454
- schema.TypeRegistry.for(n0).registerError(RequestThrottledException, RequestThrottledException$1);
455
- var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
456
- schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
457
- var ServiceQuotaExceededException = [
453
+ var RequestThrottledException$ = [-3, n0, _RTE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
454
+ schema.TypeRegistry.for(n0).registerError(RequestThrottledException$, RequestThrottledException);
455
+ var ResourceNotFoundException$ = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M, _R], [0, 0]];
456
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
457
+ var ServiceQuotaExceededException$ = [
458
458
  -3,
459
459
  n0,
460
460
  _SQEE,
@@ -462,8 +462,8 @@ var ServiceQuotaExceededException = [
462
462
  [_M, _R],
463
463
  [0, 0],
464
464
  ];
465
- schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
466
- var StartSnapshotRequest = [
465
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
466
+ var StartSnapshotRequest$ = [
467
467
  3,
468
468
  n0,
469
469
  _SSR,
@@ -471,7 +471,7 @@ var StartSnapshotRequest = [
471
471
  [_VS, _PSI, _T, _D, _CT, _E, _KKA, _Ti],
472
472
  [1, 0, () => Tags, 0, [0, 4], 2, [() => KmsKeyArn, 0], 1],
473
473
  ];
474
- var StartSnapshotResponse = [
474
+ var StartSnapshotResponse$ = [
475
475
  3,
476
476
  n0,
477
477
  _SSRt,
@@ -479,61 +479,61 @@ var StartSnapshotResponse = [
479
479
  [_D, _SI, _OI, _S, _ST, _VS, _BS, _T, _PSI, _KKA, _STs],
480
480
  [0, 0, 0, 0, 4, 1, 1, () => Tags, 0, [() => KmsKeyArn, 0], 0],
481
481
  ];
482
- var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
483
- var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
484
- schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
485
- var EBSServiceException = [-3, _sm, "EBSServiceException", 0, [], []];
486
- schema.TypeRegistry.for(_sm).registerError(EBSServiceException, EBSServiceException$1);
487
- var Blocks = [1, n0, _Bl, 8, () => Block];
488
- var ChangedBlocks = [1, n0, _CBh, 0, [() => ChangedBlock, 0]];
489
- var Tags = [1, n0, _T, 0, () => Tag];
490
- var CompleteSnapshot = [
482
+ var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
483
+ var ValidationException$ = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M, _R], [0, 0]];
484
+ schema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
485
+ var EBSServiceException$ = [-3, _sm, "EBSServiceException", 0, [], []];
486
+ schema.TypeRegistry.for(_sm).registerError(EBSServiceException$, EBSServiceException);
487
+ var Blocks = [1, n0, _Bl, 8, () => Block$];
488
+ var ChangedBlocks = [1, n0, _CBh, 0, [() => ChangedBlock$, 0]];
489
+ var Tags = [1, n0, _T, 0, () => Tag$];
490
+ var CompleteSnapshot$ = [
491
491
  9,
492
492
  n0,
493
493
  _CS,
494
494
  { [_h]: ["POST", "/snapshots/completion/{SnapshotId}", 202] },
495
- () => CompleteSnapshotRequest,
496
- () => CompleteSnapshotResponse,
495
+ () => CompleteSnapshotRequest$,
496
+ () => CompleteSnapshotResponse$,
497
497
  ];
498
- var GetSnapshotBlock = [
498
+ var GetSnapshotBlock$ = [
499
499
  9,
500
500
  n0,
501
501
  _GSB,
502
502
  { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 200] },
503
- () => GetSnapshotBlockRequest,
504
- () => GetSnapshotBlockResponse,
503
+ () => GetSnapshotBlockRequest$,
504
+ () => GetSnapshotBlockResponse$,
505
505
  ];
506
- var ListChangedBlocks = [
506
+ var ListChangedBlocks$ = [
507
507
  9,
508
508
  n0,
509
509
  _LCB,
510
510
  { [_h]: ["GET", "/snapshots/{SecondSnapshotId}/changedblocks", 200] },
511
- () => ListChangedBlocksRequest,
512
- () => ListChangedBlocksResponse,
511
+ () => ListChangedBlocksRequest$,
512
+ () => ListChangedBlocksResponse$,
513
513
  ];
514
- var ListSnapshotBlocks = [
514
+ var ListSnapshotBlocks$ = [
515
515
  9,
516
516
  n0,
517
517
  _LSB,
518
518
  { [_h]: ["GET", "/snapshots/{SnapshotId}/blocks", 200] },
519
- () => ListSnapshotBlocksRequest,
520
- () => ListSnapshotBlocksResponse,
519
+ () => ListSnapshotBlocksRequest$,
520
+ () => ListSnapshotBlocksResponse$,
521
521
  ];
522
- var PutSnapshotBlock = [
522
+ var PutSnapshotBlock$ = [
523
523
  9,
524
524
  n0,
525
525
  _PSB,
526
526
  { [_h]: ["PUT", "/snapshots/{SnapshotId}/blocks/{BlockIndex}", 201] },
527
- () => PutSnapshotBlockRequest,
528
- () => PutSnapshotBlockResponse,
527
+ () => PutSnapshotBlockRequest$,
528
+ () => PutSnapshotBlockResponse$,
529
529
  ];
530
- var StartSnapshot = [
530
+ var StartSnapshot$ = [
531
531
  9,
532
532
  n0,
533
533
  _SS,
534
534
  { [_h]: ["POST", "/snapshots", 201] },
535
- () => StartSnapshotRequest,
536
- () => StartSnapshotResponse,
535
+ () => StartSnapshotRequest$,
536
+ () => StartSnapshotResponse$,
537
537
  ];
538
538
 
539
539
  class CompleteSnapshotCommand extends smithyClient.Command
@@ -544,7 +544,7 @@ class CompleteSnapshotCommand extends smithyClient.Command
544
544
  })
545
545
  .s("Ebs", "CompleteSnapshot", {})
546
546
  .n("EBSClient", "CompleteSnapshotCommand")
547
- .sc(CompleteSnapshot)
547
+ .sc(CompleteSnapshot$)
548
548
  .build() {
549
549
  }
550
550
 
@@ -556,7 +556,7 @@ class GetSnapshotBlockCommand extends smithyClient.Command
556
556
  })
557
557
  .s("Ebs", "GetSnapshotBlock", {})
558
558
  .n("EBSClient", "GetSnapshotBlockCommand")
559
- .sc(GetSnapshotBlock)
559
+ .sc(GetSnapshotBlock$)
560
560
  .build() {
561
561
  }
562
562
 
@@ -568,7 +568,7 @@ class ListChangedBlocksCommand extends smithyClient.Command
568
568
  })
569
569
  .s("Ebs", "ListChangedBlocks", {})
570
570
  .n("EBSClient", "ListChangedBlocksCommand")
571
- .sc(ListChangedBlocks)
571
+ .sc(ListChangedBlocks$)
572
572
  .build() {
573
573
  }
574
574
 
@@ -580,7 +580,7 @@ class ListSnapshotBlocksCommand extends smithyClient.Command
580
580
  })
581
581
  .s("Ebs", "ListSnapshotBlocks", {})
582
582
  .n("EBSClient", "ListSnapshotBlocksCommand")
583
- .sc(ListSnapshotBlocks)
583
+ .sc(ListSnapshotBlocks$)
584
584
  .build() {
585
585
  }
586
586
 
@@ -592,7 +592,7 @@ class PutSnapshotBlockCommand extends smithyClient.Command
592
592
  })
593
593
  .s("Ebs", "PutSnapshotBlock", {})
594
594
  .n("EBSClient", "PutSnapshotBlockCommand")
595
- .sc(PutSnapshotBlock)
595
+ .sc(PutSnapshotBlock$)
596
596
  .build() {
597
597
  }
598
598
 
@@ -604,7 +604,7 @@ class StartSnapshotCommand extends smithyClient.Command
604
604
  })
605
605
  .s("Ebs", "StartSnapshot", {})
606
606
  .n("EBSClient", "StartSnapshotCommand")
607
- .sc(StartSnapshot)
607
+ .sc(StartSnapshot$)
608
608
  .build() {
609
609
  }
610
610
 
@@ -684,31 +684,61 @@ Object.defineProperty(exports, "__Client", {
684
684
  enumerable: true,
685
685
  get: function () { return smithyClient.Client; }
686
686
  });
687
- exports.AccessDeniedException = AccessDeniedException$1;
687
+ exports.AccessDeniedException = AccessDeniedException;
688
+ exports.AccessDeniedException$ = AccessDeniedException$;
688
689
  exports.AccessDeniedExceptionReason = AccessDeniedExceptionReason;
690
+ exports.Block$ = Block$;
691
+ exports.ChangedBlock$ = ChangedBlock$;
689
692
  exports.ChecksumAggregationMethod = ChecksumAggregationMethod;
690
693
  exports.ChecksumAlgorithm = ChecksumAlgorithm;
694
+ exports.CompleteSnapshot$ = CompleteSnapshot$;
691
695
  exports.CompleteSnapshotCommand = CompleteSnapshotCommand;
692
- exports.ConcurrentLimitExceededException = ConcurrentLimitExceededException$1;
693
- exports.ConflictException = ConflictException$1;
696
+ exports.CompleteSnapshotRequest$ = CompleteSnapshotRequest$;
697
+ exports.CompleteSnapshotResponse$ = CompleteSnapshotResponse$;
698
+ exports.ConcurrentLimitExceededException = ConcurrentLimitExceededException;
699
+ exports.ConcurrentLimitExceededException$ = ConcurrentLimitExceededException$;
700
+ exports.ConflictException = ConflictException;
701
+ exports.ConflictException$ = ConflictException$;
694
702
  exports.EBS = EBS;
695
703
  exports.EBSClient = EBSClient;
696
- exports.EBSServiceException = EBSServiceException$1;
704
+ exports.EBSServiceException = EBSServiceException;
705
+ exports.EBSServiceException$ = EBSServiceException$;
706
+ exports.GetSnapshotBlock$ = GetSnapshotBlock$;
697
707
  exports.GetSnapshotBlockCommand = GetSnapshotBlockCommand;
698
- exports.InternalServerException = InternalServerException$1;
708
+ exports.GetSnapshotBlockRequest$ = GetSnapshotBlockRequest$;
709
+ exports.GetSnapshotBlockResponse$ = GetSnapshotBlockResponse$;
710
+ exports.InternalServerException = InternalServerException;
711
+ exports.InternalServerException$ = InternalServerException$;
712
+ exports.ListChangedBlocks$ = ListChangedBlocks$;
699
713
  exports.ListChangedBlocksCommand = ListChangedBlocksCommand;
714
+ exports.ListChangedBlocksRequest$ = ListChangedBlocksRequest$;
715
+ exports.ListChangedBlocksResponse$ = ListChangedBlocksResponse$;
716
+ exports.ListSnapshotBlocks$ = ListSnapshotBlocks$;
700
717
  exports.ListSnapshotBlocksCommand = ListSnapshotBlocksCommand;
718
+ exports.ListSnapshotBlocksRequest$ = ListSnapshotBlocksRequest$;
719
+ exports.ListSnapshotBlocksResponse$ = ListSnapshotBlocksResponse$;
720
+ exports.PutSnapshotBlock$ = PutSnapshotBlock$;
701
721
  exports.PutSnapshotBlockCommand = PutSnapshotBlockCommand;
702
- exports.RequestThrottledException = RequestThrottledException$1;
722
+ exports.PutSnapshotBlockRequest$ = PutSnapshotBlockRequest$;
723
+ exports.PutSnapshotBlockResponse$ = PutSnapshotBlockResponse$;
724
+ exports.RequestThrottledException = RequestThrottledException;
725
+ exports.RequestThrottledException$ = RequestThrottledException$;
703
726
  exports.RequestThrottledExceptionReason = RequestThrottledExceptionReason;
704
- exports.ResourceNotFoundException = ResourceNotFoundException$1;
727
+ exports.ResourceNotFoundException = ResourceNotFoundException;
728
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
705
729
  exports.ResourceNotFoundExceptionReason = ResourceNotFoundExceptionReason;
706
730
  exports.SSEType = SSEType;
707
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
731
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
732
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
708
733
  exports.ServiceQuotaExceededExceptionReason = ServiceQuotaExceededExceptionReason;
734
+ exports.StartSnapshot$ = StartSnapshot$;
709
735
  exports.StartSnapshotCommand = StartSnapshotCommand;
736
+ exports.StartSnapshotRequest$ = StartSnapshotRequest$;
737
+ exports.StartSnapshotResponse$ = StartSnapshotResponse$;
710
738
  exports.Status = Status;
711
- exports.ValidationException = ValidationException$1;
739
+ exports.Tag$ = Tag$;
740
+ exports.ValidationException = ValidationException;
741
+ exports.ValidationException$ = ValidationException$;
712
742
  exports.ValidationExceptionReason = ValidationExceptionReason;
713
743
  exports.paginateListChangedBlocks = paginateListChangedBlocks;
714
744
  exports.paginateListSnapshotBlocks = paginateListSnapshotBlocks;
@@ -27,7 +27,12 @@ const getRuntimeConfig = (config) => {
27
27
  },
28
28
  ],
29
29
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
30
- protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ebs" }),
30
+ protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
31
+ protocolSettings: config?.protocolSettings ?? {
32
+ defaultNamespace: "com.amazonaws.ebs",
33
+ version: "2019-11-02",
34
+ serviceTarget: "Ebs",
35
+ },
31
36
  sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
32
37
  serviceId: config?.serviceId ?? "EBS",
33
38
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { CompleteSnapshot } from "../schemas/schemas_0";
4
+ import { CompleteSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class CompleteSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class CompleteSnapshotCommand extends $Command
11
11
  })
12
12
  .s("Ebs", "CompleteSnapshot", {})
13
13
  .n("EBSClient", "CompleteSnapshotCommand")
14
- .sc(CompleteSnapshot)
14
+ .sc(CompleteSnapshot$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { GetSnapshotBlock } from "../schemas/schemas_0";
4
+ import { GetSnapshotBlock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class GetSnapshotBlockCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class GetSnapshotBlockCommand extends $Command
11
11
  })
12
12
  .s("Ebs", "GetSnapshotBlock", {})
13
13
  .n("EBSClient", "GetSnapshotBlockCommand")
14
- .sc(GetSnapshotBlock)
14
+ .sc(GetSnapshotBlock$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListChangedBlocks } from "../schemas/schemas_0";
4
+ import { ListChangedBlocks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListChangedBlocksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListChangedBlocksCommand extends $Command
11
11
  })
12
12
  .s("Ebs", "ListChangedBlocks", {})
13
13
  .n("EBSClient", "ListChangedBlocksCommand")
14
- .sc(ListChangedBlocks)
14
+ .sc(ListChangedBlocks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { ListSnapshotBlocks } from "../schemas/schemas_0";
4
+ import { ListSnapshotBlocks$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class ListSnapshotBlocksCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class ListSnapshotBlocksCommand extends $Command
11
11
  })
12
12
  .s("Ebs", "ListSnapshotBlocks", {})
13
13
  .n("EBSClient", "ListSnapshotBlocksCommand")
14
- .sc(ListSnapshotBlocks)
14
+ .sc(ListSnapshotBlocks$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { PutSnapshotBlock } from "../schemas/schemas_0";
4
+ import { PutSnapshotBlock$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class PutSnapshotBlockCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class PutSnapshotBlockCommand extends $Command
11
11
  })
12
12
  .s("Ebs", "PutSnapshotBlock", {})
13
13
  .n("EBSClient", "PutSnapshotBlockCommand")
14
- .sc(PutSnapshotBlock)
14
+ .sc(PutSnapshotBlock$)
15
15
  .build() {
16
16
  }
@@ -1,7 +1,7 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { commonParams } from "../endpoint/EndpointParameters";
4
- import { StartSnapshot } from "../schemas/schemas_0";
4
+ import { StartSnapshot$ } from "../schemas/schemas_0";
5
5
  export { $Command };
6
6
  export class StartSnapshotCommand extends $Command
7
7
  .classBuilder()
@@ -11,6 +11,6 @@ export class StartSnapshotCommand extends $Command
11
11
  })
12
12
  .s("Ebs", "StartSnapshot", {})
13
13
  .n("EBSClient", "StartSnapshotCommand")
14
- .sc(StartSnapshot)
14
+ .sc(StartSnapshot$)
15
15
  .build() {
16
16
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./EBSClient";
2
2
  export * from "./EBS";
3
3
  export * from "./commands";
4
+ export * from "./schemas/schemas_0";
4
5
  export * from "./pagination";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/errors";
@@ -24,7 +24,12 @@ export const getRuntimeConfig = (config) => {
24
24
  },
25
25
  ],
26
26
  logger: config?.logger ?? new NoOpLogger(),
27
- protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.ebs" }),
27
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
28
+ protocolSettings: config?.protocolSettings ?? {
29
+ defaultNamespace: "com.amazonaws.ebs",
30
+ version: "2019-11-02",
31
+ serviceTarget: "Ebs",
32
+ },
28
33
  sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
29
34
  serviceId: config?.serviceId ?? "EBS",
30
35
  urlParser: config?.urlParser ?? parseUrl,