@aws-sdk/client-ebs 3.687.0 → 3.691.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.
|
@@ -20,7 +20,7 @@ export type AccessDeniedExceptionReason = (typeof AccessDeniedExceptionReason)[k
|
|
|
20
20
|
export declare class AccessDeniedException extends __BaseException {
|
|
21
21
|
readonly name: "AccessDeniedException";
|
|
22
22
|
readonly $fault: "client";
|
|
23
|
-
Message?: string;
|
|
23
|
+
Message?: string | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* <p>The reason for the exception.</p>
|
|
26
26
|
* @public
|
|
@@ -40,12 +40,12 @@ export interface Block {
|
|
|
40
40
|
* <p>The block index.</p>
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
|
-
BlockIndex?: number;
|
|
43
|
+
BlockIndex?: number | undefined;
|
|
44
44
|
/**
|
|
45
45
|
* <p>The block token for the block index.</p>
|
|
46
46
|
* @public
|
|
47
47
|
*/
|
|
48
|
-
BlockToken?: string;
|
|
48
|
+
BlockToken?: string | undefined;
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* <p>A block of data in an Amazon Elastic Block Store snapshot that is different from another snapshot of
|
|
@@ -57,20 +57,20 @@ export interface ChangedBlock {
|
|
|
57
57
|
* <p>The block index.</p>
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
BlockIndex?: number;
|
|
60
|
+
BlockIndex?: number | undefined;
|
|
61
61
|
/**
|
|
62
62
|
* <p>The block token for the block index of the <code>FirstSnapshotId</code> specified in
|
|
63
63
|
* the <code>ListChangedBlocks</code> operation. This value is absent if the first snapshot
|
|
64
64
|
* does not have the changed block that is on the second snapshot.</p>
|
|
65
65
|
* @public
|
|
66
66
|
*/
|
|
67
|
-
FirstBlockToken?: string;
|
|
67
|
+
FirstBlockToken?: string | undefined;
|
|
68
68
|
/**
|
|
69
69
|
* <p>The block token for the block index of the <code>SecondSnapshotId</code> specified in
|
|
70
70
|
* the <code>ListChangedBlocks</code> operation.</p>
|
|
71
71
|
* @public
|
|
72
72
|
*/
|
|
73
|
-
SecondBlockToken?: string;
|
|
73
|
+
SecondBlockToken?: string | undefined;
|
|
74
74
|
}
|
|
75
75
|
/**
|
|
76
76
|
* @public
|
|
@@ -117,19 +117,19 @@ export interface CompleteSnapshotRequest {
|
|
|
117
117
|
* the SHA256 algorithm.</p>
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
|
-
Checksum?: string;
|
|
120
|
+
Checksum?: string | undefined;
|
|
121
121
|
/**
|
|
122
122
|
* <p>The algorithm used to generate the checksum. Currently, the only supported algorithm
|
|
123
123
|
* is <code>SHA256</code>.</p>
|
|
124
124
|
* @public
|
|
125
125
|
*/
|
|
126
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
126
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* <p>The aggregation method used to generate the checksum. Currently, the only supported
|
|
129
129
|
* aggregation method is <code>LINEAR</code>.</p>
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
ChecksumAggregationMethod?: ChecksumAggregationMethod;
|
|
132
|
+
ChecksumAggregationMethod?: ChecksumAggregationMethod | undefined;
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
135
|
* @public
|
|
@@ -152,7 +152,7 @@ export interface CompleteSnapshotResponse {
|
|
|
152
152
|
* <p>The status of the snapshot.</p>
|
|
153
153
|
* @public
|
|
154
154
|
*/
|
|
155
|
-
Status?: Status;
|
|
155
|
+
Status?: Status | undefined;
|
|
156
156
|
}
|
|
157
157
|
/**
|
|
158
158
|
* <p>An internal error has occurred. For more information see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/error-retries.html">Error retries</a>.</p>
|
|
@@ -161,7 +161,7 @@ export interface CompleteSnapshotResponse {
|
|
|
161
161
|
export declare class InternalServerException extends __BaseException {
|
|
162
162
|
readonly name: "InternalServerException";
|
|
163
163
|
readonly $fault: "server";
|
|
164
|
-
Message?: string;
|
|
164
|
+
Message?: string | undefined;
|
|
165
165
|
/**
|
|
166
166
|
* @internal
|
|
167
167
|
*/
|
|
@@ -188,12 +188,12 @@ export type RequestThrottledExceptionReason = (typeof RequestThrottledExceptionR
|
|
|
188
188
|
export declare class RequestThrottledException extends __BaseException {
|
|
189
189
|
readonly name: "RequestThrottledException";
|
|
190
190
|
readonly $fault: "client";
|
|
191
|
-
Message?: string;
|
|
191
|
+
Message?: string | undefined;
|
|
192
192
|
/**
|
|
193
193
|
* <p>The reason for the exception.</p>
|
|
194
194
|
* @public
|
|
195
195
|
*/
|
|
196
|
-
Reason?: RequestThrottledExceptionReason;
|
|
196
|
+
Reason?: RequestThrottledExceptionReason | undefined;
|
|
197
197
|
/**
|
|
198
198
|
* @internal
|
|
199
199
|
*/
|
|
@@ -220,12 +220,12 @@ export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionR
|
|
|
220
220
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
221
221
|
readonly name: "ResourceNotFoundException";
|
|
222
222
|
readonly $fault: "client";
|
|
223
|
-
Message?: string;
|
|
223
|
+
Message?: string | undefined;
|
|
224
224
|
/**
|
|
225
225
|
* <p>The reason for the exception.</p>
|
|
226
226
|
* @public
|
|
227
227
|
*/
|
|
228
|
-
Reason?: ResourceNotFoundExceptionReason;
|
|
228
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
229
229
|
/**
|
|
230
230
|
* @internal
|
|
231
231
|
*/
|
|
@@ -249,12 +249,12 @@ export type ServiceQuotaExceededExceptionReason = (typeof ServiceQuotaExceededEx
|
|
|
249
249
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
250
250
|
readonly name: "ServiceQuotaExceededException";
|
|
251
251
|
readonly $fault: "client";
|
|
252
|
-
Message?: string;
|
|
252
|
+
Message?: string | undefined;
|
|
253
253
|
/**
|
|
254
254
|
* <p>The reason for the exception.</p>
|
|
255
255
|
* @public
|
|
256
256
|
*/
|
|
257
|
-
Reason?: ServiceQuotaExceededExceptionReason;
|
|
257
|
+
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
258
258
|
/**
|
|
259
259
|
* @internal
|
|
260
260
|
*/
|
|
@@ -292,12 +292,12 @@ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof
|
|
|
292
292
|
export declare class ValidationException extends __BaseException {
|
|
293
293
|
readonly name: "ValidationException";
|
|
294
294
|
readonly $fault: "client";
|
|
295
|
-
Message?: string;
|
|
295
|
+
Message?: string | undefined;
|
|
296
296
|
/**
|
|
297
297
|
* <p>The reason for the validation exception.</p>
|
|
298
298
|
* @public
|
|
299
299
|
*/
|
|
300
|
-
Reason?: ValidationExceptionReason;
|
|
300
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
301
301
|
/**
|
|
302
302
|
* @internal
|
|
303
303
|
*/
|
|
@@ -312,7 +312,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
312
312
|
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
313
313
|
readonly name: "ConcurrentLimitExceededException";
|
|
314
314
|
readonly $fault: "client";
|
|
315
|
-
Message?: string;
|
|
315
|
+
Message?: string | undefined;
|
|
316
316
|
/**
|
|
317
317
|
* @internal
|
|
318
318
|
*/
|
|
@@ -326,7 +326,7 @@ export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
|
326
326
|
export declare class ConflictException extends __BaseException {
|
|
327
327
|
readonly name: "ConflictException";
|
|
328
328
|
readonly $fault: "client";
|
|
329
|
-
Message?: string;
|
|
329
|
+
Message?: string | undefined;
|
|
330
330
|
/**
|
|
331
331
|
* @internal
|
|
332
332
|
*/
|
|
@@ -372,22 +372,22 @@ export interface GetSnapshotBlockResponse {
|
|
|
372
372
|
* <p>The size of the data in the block.</p>
|
|
373
373
|
* @public
|
|
374
374
|
*/
|
|
375
|
-
DataLength?: number;
|
|
375
|
+
DataLength?: number | undefined;
|
|
376
376
|
/**
|
|
377
377
|
* <p>The data content of the block.</p>
|
|
378
378
|
* @public
|
|
379
379
|
*/
|
|
380
|
-
BlockData?: StreamingBlobTypes;
|
|
380
|
+
BlockData?: StreamingBlobTypes | undefined;
|
|
381
381
|
/**
|
|
382
382
|
* <p>The checksum generated for the block, which is Base64 encoded.</p>
|
|
383
383
|
* @public
|
|
384
384
|
*/
|
|
385
|
-
Checksum?: string;
|
|
385
|
+
Checksum?: string | undefined;
|
|
386
386
|
/**
|
|
387
387
|
* <p>The algorithm used to generate the checksum for the block, such as SHA256.</p>
|
|
388
388
|
* @public
|
|
389
389
|
*/
|
|
390
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
390
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
391
391
|
}
|
|
392
392
|
/**
|
|
393
393
|
* @public
|
|
@@ -401,7 +401,7 @@ export interface ListChangedBlocksRequest {
|
|
|
401
401
|
* </important>
|
|
402
402
|
* @public
|
|
403
403
|
*/
|
|
404
|
-
FirstSnapshotId?: string;
|
|
404
|
+
FirstSnapshotId?: string | undefined;
|
|
405
405
|
/**
|
|
406
406
|
* <p>The ID of the second snapshot to use for the comparison.</p>
|
|
407
407
|
* <important>
|
|
@@ -417,7 +417,7 @@ export interface ListChangedBlocksRequest {
|
|
|
417
417
|
* <b>StartingBlockIndex</b> is ignored.</p>
|
|
418
418
|
* @public
|
|
419
419
|
*/
|
|
420
|
-
NextToken?: string;
|
|
420
|
+
NextToken?: string | undefined;
|
|
421
421
|
/**
|
|
422
422
|
* <p>The maximum number of blocks to be returned by the request.</p>
|
|
423
423
|
* <p>Even if additional blocks can be retrieved from the snapshot, the request can
|
|
@@ -429,7 +429,7 @@ export interface ListChangedBlocksRequest {
|
|
|
429
429
|
* more blocks to return.</p>
|
|
430
430
|
* @public
|
|
431
431
|
*/
|
|
432
|
-
MaxResults?: number;
|
|
432
|
+
MaxResults?: number | undefined;
|
|
433
433
|
/**
|
|
434
434
|
* <p>The block index from which the comparison should start.</p>
|
|
435
435
|
* <p>The list in the response will start from this block index or the next valid block
|
|
@@ -438,7 +438,7 @@ export interface ListChangedBlocksRequest {
|
|
|
438
438
|
* <b>StartingBlockIndex</b> is ignored.</p>
|
|
439
439
|
* @public
|
|
440
440
|
*/
|
|
441
|
-
StartingBlockIndex?: number;
|
|
441
|
+
StartingBlockIndex?: number | undefined;
|
|
442
442
|
}
|
|
443
443
|
/**
|
|
444
444
|
* @public
|
|
@@ -448,28 +448,28 @@ export interface ListChangedBlocksResponse {
|
|
|
448
448
|
* <p>An array of objects containing information about the changed blocks.</p>
|
|
449
449
|
* @public
|
|
450
450
|
*/
|
|
451
|
-
ChangedBlocks?: ChangedBlock[];
|
|
451
|
+
ChangedBlocks?: ChangedBlock[] | undefined;
|
|
452
452
|
/**
|
|
453
453
|
* <p>The time when the <code>BlockToken</code> expires.</p>
|
|
454
454
|
* @public
|
|
455
455
|
*/
|
|
456
|
-
ExpiryTime?: Date;
|
|
456
|
+
ExpiryTime?: Date | undefined;
|
|
457
457
|
/**
|
|
458
458
|
* <p>The size of the volume in GB.</p>
|
|
459
459
|
* @public
|
|
460
460
|
*/
|
|
461
|
-
VolumeSize?: number;
|
|
461
|
+
VolumeSize?: number | undefined;
|
|
462
462
|
/**
|
|
463
463
|
* <p>The size of the blocks in the snapshot, in bytes.</p>
|
|
464
464
|
* @public
|
|
465
465
|
*/
|
|
466
|
-
BlockSize?: number;
|
|
466
|
+
BlockSize?: number | undefined;
|
|
467
467
|
/**
|
|
468
468
|
* <p>The token to use to retrieve the next page of results. This value is null when there
|
|
469
469
|
* are no more results to return.</p>
|
|
470
470
|
* @public
|
|
471
471
|
*/
|
|
472
|
-
NextToken?: string;
|
|
472
|
+
NextToken?: string | undefined;
|
|
473
473
|
}
|
|
474
474
|
/**
|
|
475
475
|
* @public
|
|
@@ -486,7 +486,7 @@ export interface ListSnapshotBlocksRequest {
|
|
|
486
486
|
* <b>StartingBlockIndex</b> is ignored.</p>
|
|
487
487
|
* @public
|
|
488
488
|
*/
|
|
489
|
-
NextToken?: string;
|
|
489
|
+
NextToken?: string | undefined;
|
|
490
490
|
/**
|
|
491
491
|
* <p>The maximum number of blocks to be returned by the request.</p>
|
|
492
492
|
* <p>Even if additional blocks can be retrieved from the snapshot, the request can
|
|
@@ -498,7 +498,7 @@ export interface ListSnapshotBlocksRequest {
|
|
|
498
498
|
* more blocks to return.</p>
|
|
499
499
|
* @public
|
|
500
500
|
*/
|
|
501
|
-
MaxResults?: number;
|
|
501
|
+
MaxResults?: number | undefined;
|
|
502
502
|
/**
|
|
503
503
|
* <p>The block index from which the list should start. The list in the response will start
|
|
504
504
|
* from this block index or the next valid block index in the snapshot.</p>
|
|
@@ -506,7 +506,7 @@ export interface ListSnapshotBlocksRequest {
|
|
|
506
506
|
* <b>StartingBlockIndex</b> is ignored.</p>
|
|
507
507
|
* @public
|
|
508
508
|
*/
|
|
509
|
-
StartingBlockIndex?: number;
|
|
509
|
+
StartingBlockIndex?: number | undefined;
|
|
510
510
|
}
|
|
511
511
|
/**
|
|
512
512
|
* @public
|
|
@@ -516,28 +516,28 @@ export interface ListSnapshotBlocksResponse {
|
|
|
516
516
|
* <p>An array of objects containing information about the blocks.</p>
|
|
517
517
|
* @public
|
|
518
518
|
*/
|
|
519
|
-
Blocks?: Block[];
|
|
519
|
+
Blocks?: Block[] | undefined;
|
|
520
520
|
/**
|
|
521
521
|
* <p>The time when the <code>BlockToken</code> expires.</p>
|
|
522
522
|
* @public
|
|
523
523
|
*/
|
|
524
|
-
ExpiryTime?: Date;
|
|
524
|
+
ExpiryTime?: Date | undefined;
|
|
525
525
|
/**
|
|
526
526
|
* <p>The size of the volume in GB.</p>
|
|
527
527
|
* @public
|
|
528
528
|
*/
|
|
529
|
-
VolumeSize?: number;
|
|
529
|
+
VolumeSize?: number | undefined;
|
|
530
530
|
/**
|
|
531
531
|
* <p>The size of the blocks in the snapshot, in bytes.</p>
|
|
532
532
|
* @public
|
|
533
533
|
*/
|
|
534
|
-
BlockSize?: number;
|
|
534
|
+
BlockSize?: number | undefined;
|
|
535
535
|
/**
|
|
536
536
|
* <p>The token to use to retrieve the next page of results. This value is null when there
|
|
537
537
|
* are no more results to return.</p>
|
|
538
538
|
* @public
|
|
539
539
|
*/
|
|
540
|
-
NextToken?: string;
|
|
540
|
+
NextToken?: string | undefined;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* @public
|
|
@@ -591,7 +591,7 @@ export interface PutSnapshotBlockRequest {
|
|
|
591
591
|
* <p>The progress of the write process, as a percentage.</p>
|
|
592
592
|
* @public
|
|
593
593
|
*/
|
|
594
|
-
Progress?: number;
|
|
594
|
+
Progress?: number | undefined;
|
|
595
595
|
/**
|
|
596
596
|
* <p>A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are
|
|
597
597
|
* supported.</p>
|
|
@@ -613,12 +613,12 @@ export interface PutSnapshotBlockResponse {
|
|
|
613
613
|
* <p>The SHA256 checksum generated for the block data by Amazon EBS.</p>
|
|
614
614
|
* @public
|
|
615
615
|
*/
|
|
616
|
-
Checksum?: string;
|
|
616
|
+
Checksum?: string | undefined;
|
|
617
617
|
/**
|
|
618
618
|
* <p>The algorithm used by Amazon EBS to generate the checksum.</p>
|
|
619
619
|
* @public
|
|
620
620
|
*/
|
|
621
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
621
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
622
622
|
}
|
|
623
623
|
/**
|
|
624
624
|
* <p>Describes a tag.</p>
|
|
@@ -629,12 +629,12 @@ export interface Tag {
|
|
|
629
629
|
* <p>The key of the tag.</p>
|
|
630
630
|
* @public
|
|
631
631
|
*/
|
|
632
|
-
Key?: string;
|
|
632
|
+
Key?: string | undefined;
|
|
633
633
|
/**
|
|
634
634
|
* <p>The value of the tag.</p>
|
|
635
635
|
* @public
|
|
636
636
|
*/
|
|
637
|
-
Value?: string;
|
|
637
|
+
Value?: string | undefined;
|
|
638
638
|
}
|
|
639
639
|
/**
|
|
640
640
|
* @public
|
|
@@ -667,17 +667,17 @@ export interface StartSnapshotRequest {
|
|
|
667
667
|
* </important>
|
|
668
668
|
* @public
|
|
669
669
|
*/
|
|
670
|
-
ParentSnapshotId?: string;
|
|
670
|
+
ParentSnapshotId?: string | undefined;
|
|
671
671
|
/**
|
|
672
672
|
* <p>The tags to apply to the snapshot.</p>
|
|
673
673
|
* @public
|
|
674
674
|
*/
|
|
675
|
-
Tags?: Tag[];
|
|
675
|
+
Tags?: Tag[] | undefined;
|
|
676
676
|
/**
|
|
677
677
|
* <p>A description for the snapshot.</p>
|
|
678
678
|
* @public
|
|
679
679
|
*/
|
|
680
|
-
Description?: string;
|
|
680
|
+
Description?: string | undefined;
|
|
681
681
|
/**
|
|
682
682
|
* <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
|
|
683
683
|
* request. Idempotency ensures that an API request completes only once. With an idempotent
|
|
@@ -689,7 +689,7 @@ export interface StartSnapshotRequest {
|
|
|
689
689
|
* Idempotency for StartSnapshot API</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
690
690
|
* @public
|
|
691
691
|
*/
|
|
692
|
-
ClientToken?: string;
|
|
692
|
+
ClientToken?: string | undefined;
|
|
693
693
|
/**
|
|
694
694
|
* <p>Indicates whether to encrypt the snapshot.</p>
|
|
695
695
|
* <p>You can't specify <b>Encrypted</b> and <b>
|
|
@@ -709,7 +709,7 @@ export interface StartSnapshotRequest {
|
|
|
709
709
|
* </important>
|
|
710
710
|
* @public
|
|
711
711
|
*/
|
|
712
|
-
Encrypted?: boolean;
|
|
712
|
+
Encrypted?: boolean | undefined;
|
|
713
713
|
/**
|
|
714
714
|
* <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot.</p>
|
|
715
715
|
* <p>The encryption status of the snapshot depends on the values that you specify for
|
|
@@ -726,7 +726,7 @@ export interface StartSnapshotRequest {
|
|
|
726
726
|
* </important>
|
|
727
727
|
* @public
|
|
728
728
|
*/
|
|
729
|
-
KmsKeyArn?: string;
|
|
729
|
+
KmsKeyArn?: string | undefined;
|
|
730
730
|
/**
|
|
731
731
|
* <p>The amount of time (in minutes) after which the snapshot is automatically cancelled
|
|
732
732
|
* if:</p>
|
|
@@ -741,7 +741,7 @@ export interface StartSnapshotRequest {
|
|
|
741
741
|
* <p>If no value is specified, the timeout defaults to <code>60</code> minutes.</p>
|
|
742
742
|
* @public
|
|
743
743
|
*/
|
|
744
|
-
Timeout?: number;
|
|
744
|
+
Timeout?: number | undefined;
|
|
745
745
|
}
|
|
746
746
|
/**
|
|
747
747
|
* @public
|
|
@@ -764,59 +764,59 @@ export interface StartSnapshotResponse {
|
|
|
764
764
|
* <p>The description of the snapshot.</p>
|
|
765
765
|
* @public
|
|
766
766
|
*/
|
|
767
|
-
Description?: string;
|
|
767
|
+
Description?: string | undefined;
|
|
768
768
|
/**
|
|
769
769
|
* <p>The ID of the snapshot.</p>
|
|
770
770
|
* @public
|
|
771
771
|
*/
|
|
772
|
-
SnapshotId?: string;
|
|
772
|
+
SnapshotId?: string | undefined;
|
|
773
773
|
/**
|
|
774
774
|
* <p>The Amazon Web Services account ID of the snapshot owner.</p>
|
|
775
775
|
* @public
|
|
776
776
|
*/
|
|
777
|
-
OwnerId?: string;
|
|
777
|
+
OwnerId?: string | undefined;
|
|
778
778
|
/**
|
|
779
779
|
* <p>The status of the snapshot.</p>
|
|
780
780
|
* @public
|
|
781
781
|
*/
|
|
782
|
-
Status?: Status;
|
|
782
|
+
Status?: Status | undefined;
|
|
783
783
|
/**
|
|
784
784
|
* <p>The timestamp when the snapshot was created.</p>
|
|
785
785
|
* @public
|
|
786
786
|
*/
|
|
787
|
-
StartTime?: Date;
|
|
787
|
+
StartTime?: Date | undefined;
|
|
788
788
|
/**
|
|
789
789
|
* <p>The size of the volume, in GiB.</p>
|
|
790
790
|
* @public
|
|
791
791
|
*/
|
|
792
|
-
VolumeSize?: number;
|
|
792
|
+
VolumeSize?: number | undefined;
|
|
793
793
|
/**
|
|
794
794
|
* <p>The size of the blocks in the snapshot, in bytes.</p>
|
|
795
795
|
* @public
|
|
796
796
|
*/
|
|
797
|
-
BlockSize?: number;
|
|
797
|
+
BlockSize?: number | undefined;
|
|
798
798
|
/**
|
|
799
799
|
* <p>The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more
|
|
800
800
|
* information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html"> Tagging your Amazon EC2
|
|
801
801
|
* resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
|
|
802
802
|
* @public
|
|
803
803
|
*/
|
|
804
|
-
Tags?: Tag[];
|
|
804
|
+
Tags?: Tag[] | undefined;
|
|
805
805
|
/**
|
|
806
806
|
* <p>The ID of the parent snapshot.</p>
|
|
807
807
|
* @public
|
|
808
808
|
*/
|
|
809
|
-
ParentSnapshotId?: string;
|
|
809
|
+
ParentSnapshotId?: string | undefined;
|
|
810
810
|
/**
|
|
811
811
|
* <p>The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.</p>
|
|
812
812
|
* @public
|
|
813
813
|
*/
|
|
814
|
-
KmsKeyArn?: string;
|
|
814
|
+
KmsKeyArn?: string | undefined;
|
|
815
815
|
/**
|
|
816
816
|
* <p>Reserved for future use.</p>
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
|
-
SseType?: SSEType;
|
|
819
|
+
SseType?: SSEType | undefined;
|
|
820
820
|
}
|
|
821
821
|
/**
|
|
822
822
|
* @internal
|
|
@@ -10,20 +10,20 @@ export type AccessDeniedExceptionReason =
|
|
|
10
10
|
export declare class AccessDeniedException extends __BaseException {
|
|
11
11
|
readonly name: "AccessDeniedException";
|
|
12
12
|
readonly $fault: "client";
|
|
13
|
-
Message?: string;
|
|
13
|
+
Message?: string | undefined;
|
|
14
14
|
Reason: AccessDeniedExceptionReason | undefined;
|
|
15
15
|
constructor(
|
|
16
16
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
17
17
|
);
|
|
18
18
|
}
|
|
19
19
|
export interface Block {
|
|
20
|
-
BlockIndex?: number;
|
|
21
|
-
BlockToken?: string;
|
|
20
|
+
BlockIndex?: number | undefined;
|
|
21
|
+
BlockToken?: string | undefined;
|
|
22
22
|
}
|
|
23
23
|
export interface ChangedBlock {
|
|
24
|
-
BlockIndex?: number;
|
|
25
|
-
FirstBlockToken?: string;
|
|
26
|
-
SecondBlockToken?: string;
|
|
24
|
+
BlockIndex?: number | undefined;
|
|
25
|
+
FirstBlockToken?: string | undefined;
|
|
26
|
+
SecondBlockToken?: string | undefined;
|
|
27
27
|
}
|
|
28
28
|
export declare const ChecksumAggregationMethod: {
|
|
29
29
|
readonly CHECKSUM_AGGREGATION_LINEAR: "LINEAR";
|
|
@@ -38,9 +38,9 @@ export type ChecksumAlgorithm =
|
|
|
38
38
|
export interface CompleteSnapshotRequest {
|
|
39
39
|
SnapshotId: string | undefined;
|
|
40
40
|
ChangedBlocksCount: number | undefined;
|
|
41
|
-
Checksum?: string;
|
|
42
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
43
|
-
ChecksumAggregationMethod?: ChecksumAggregationMethod;
|
|
41
|
+
Checksum?: string | undefined;
|
|
42
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
43
|
+
ChecksumAggregationMethod?: ChecksumAggregationMethod | undefined;
|
|
44
44
|
}
|
|
45
45
|
export declare const Status: {
|
|
46
46
|
readonly COMPLETED: "completed";
|
|
@@ -49,12 +49,12 @@ export declare const Status: {
|
|
|
49
49
|
};
|
|
50
50
|
export type Status = (typeof Status)[keyof typeof Status];
|
|
51
51
|
export interface CompleteSnapshotResponse {
|
|
52
|
-
Status?: Status;
|
|
52
|
+
Status?: Status | undefined;
|
|
53
53
|
}
|
|
54
54
|
export declare class InternalServerException extends __BaseException {
|
|
55
55
|
readonly name: "InternalServerException";
|
|
56
56
|
readonly $fault: "server";
|
|
57
|
-
Message?: string;
|
|
57
|
+
Message?: string | undefined;
|
|
58
58
|
constructor(
|
|
59
59
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
60
60
|
);
|
|
@@ -69,8 +69,8 @@ export type RequestThrottledExceptionReason =
|
|
|
69
69
|
export declare class RequestThrottledException extends __BaseException {
|
|
70
70
|
readonly name: "RequestThrottledException";
|
|
71
71
|
readonly $fault: "client";
|
|
72
|
-
Message?: string;
|
|
73
|
-
Reason?: RequestThrottledExceptionReason;
|
|
72
|
+
Message?: string | undefined;
|
|
73
|
+
Reason?: RequestThrottledExceptionReason | undefined;
|
|
74
74
|
constructor(
|
|
75
75
|
opts: __ExceptionOptionType<RequestThrottledException, __BaseException>
|
|
76
76
|
);
|
|
@@ -86,8 +86,8 @@ export type ResourceNotFoundExceptionReason =
|
|
|
86
86
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
87
87
|
readonly name: "ResourceNotFoundException";
|
|
88
88
|
readonly $fault: "client";
|
|
89
|
-
Message?: string;
|
|
90
|
-
Reason?: ResourceNotFoundExceptionReason;
|
|
89
|
+
Message?: string | undefined;
|
|
90
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
91
91
|
constructor(
|
|
92
92
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
93
93
|
);
|
|
@@ -100,8 +100,8 @@ export type ServiceQuotaExceededExceptionReason =
|
|
|
100
100
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
101
101
|
readonly name: "ServiceQuotaExceededException";
|
|
102
102
|
readonly $fault: "client";
|
|
103
|
-
Message?: string;
|
|
104
|
-
Reason?: ServiceQuotaExceededExceptionReason;
|
|
103
|
+
Message?: string | undefined;
|
|
104
|
+
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
105
105
|
constructor(
|
|
106
106
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
107
107
|
);
|
|
@@ -128,8 +128,8 @@ export type ValidationExceptionReason =
|
|
|
128
128
|
export declare class ValidationException extends __BaseException {
|
|
129
129
|
readonly name: "ValidationException";
|
|
130
130
|
readonly $fault: "client";
|
|
131
|
-
Message?: string;
|
|
132
|
-
Reason?: ValidationExceptionReason;
|
|
131
|
+
Message?: string | undefined;
|
|
132
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
133
133
|
constructor(
|
|
134
134
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
135
135
|
);
|
|
@@ -137,7 +137,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
137
137
|
export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
138
138
|
readonly name: "ConcurrentLimitExceededException";
|
|
139
139
|
readonly $fault: "client";
|
|
140
|
-
Message?: string;
|
|
140
|
+
Message?: string | undefined;
|
|
141
141
|
constructor(
|
|
142
142
|
opts: __ExceptionOptionType<
|
|
143
143
|
ConcurrentLimitExceededException,
|
|
@@ -148,7 +148,7 @@ export declare class ConcurrentLimitExceededException extends __BaseException {
|
|
|
148
148
|
export declare class ConflictException extends __BaseException {
|
|
149
149
|
readonly name: "ConflictException";
|
|
150
150
|
readonly $fault: "client";
|
|
151
|
-
Message?: string;
|
|
151
|
+
Message?: string | undefined;
|
|
152
152
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
153
153
|
}
|
|
154
154
|
export interface GetSnapshotBlockRequest {
|
|
@@ -157,64 +157,64 @@ export interface GetSnapshotBlockRequest {
|
|
|
157
157
|
BlockToken: string | undefined;
|
|
158
158
|
}
|
|
159
159
|
export interface GetSnapshotBlockResponse {
|
|
160
|
-
DataLength?: number;
|
|
161
|
-
BlockData?: StreamingBlobTypes;
|
|
162
|
-
Checksum?: string;
|
|
163
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
160
|
+
DataLength?: number | undefined;
|
|
161
|
+
BlockData?: StreamingBlobTypes | undefined;
|
|
162
|
+
Checksum?: string | undefined;
|
|
163
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
164
164
|
}
|
|
165
165
|
export interface ListChangedBlocksRequest {
|
|
166
|
-
FirstSnapshotId?: string;
|
|
166
|
+
FirstSnapshotId?: string | undefined;
|
|
167
167
|
SecondSnapshotId: string | undefined;
|
|
168
|
-
NextToken?: string;
|
|
169
|
-
MaxResults?: number;
|
|
170
|
-
StartingBlockIndex?: number;
|
|
168
|
+
NextToken?: string | undefined;
|
|
169
|
+
MaxResults?: number | undefined;
|
|
170
|
+
StartingBlockIndex?: number | undefined;
|
|
171
171
|
}
|
|
172
172
|
export interface ListChangedBlocksResponse {
|
|
173
|
-
ChangedBlocks?: ChangedBlock[];
|
|
174
|
-
ExpiryTime?: Date;
|
|
175
|
-
VolumeSize?: number;
|
|
176
|
-
BlockSize?: number;
|
|
177
|
-
NextToken?: string;
|
|
173
|
+
ChangedBlocks?: ChangedBlock[] | undefined;
|
|
174
|
+
ExpiryTime?: Date | undefined;
|
|
175
|
+
VolumeSize?: number | undefined;
|
|
176
|
+
BlockSize?: number | undefined;
|
|
177
|
+
NextToken?: string | undefined;
|
|
178
178
|
}
|
|
179
179
|
export interface ListSnapshotBlocksRequest {
|
|
180
180
|
SnapshotId: string | undefined;
|
|
181
|
-
NextToken?: string;
|
|
182
|
-
MaxResults?: number;
|
|
183
|
-
StartingBlockIndex?: number;
|
|
181
|
+
NextToken?: string | undefined;
|
|
182
|
+
MaxResults?: number | undefined;
|
|
183
|
+
StartingBlockIndex?: number | undefined;
|
|
184
184
|
}
|
|
185
185
|
export interface ListSnapshotBlocksResponse {
|
|
186
|
-
Blocks?: Block[];
|
|
187
|
-
ExpiryTime?: Date;
|
|
188
|
-
VolumeSize?: number;
|
|
189
|
-
BlockSize?: number;
|
|
190
|
-
NextToken?: string;
|
|
186
|
+
Blocks?: Block[] | undefined;
|
|
187
|
+
ExpiryTime?: Date | undefined;
|
|
188
|
+
VolumeSize?: number | undefined;
|
|
189
|
+
BlockSize?: number | undefined;
|
|
190
|
+
NextToken?: string | undefined;
|
|
191
191
|
}
|
|
192
192
|
export interface PutSnapshotBlockRequest {
|
|
193
193
|
SnapshotId: string | undefined;
|
|
194
194
|
BlockIndex: number | undefined;
|
|
195
195
|
BlockData: StreamingBlobTypes | undefined;
|
|
196
196
|
DataLength: number | undefined;
|
|
197
|
-
Progress?: number;
|
|
197
|
+
Progress?: number | undefined;
|
|
198
198
|
Checksum: string | undefined;
|
|
199
199
|
ChecksumAlgorithm: ChecksumAlgorithm | undefined;
|
|
200
200
|
}
|
|
201
201
|
export interface PutSnapshotBlockResponse {
|
|
202
|
-
Checksum?: string;
|
|
203
|
-
ChecksumAlgorithm?: ChecksumAlgorithm;
|
|
202
|
+
Checksum?: string | undefined;
|
|
203
|
+
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
204
204
|
}
|
|
205
205
|
export interface Tag {
|
|
206
|
-
Key?: string;
|
|
207
|
-
Value?: string;
|
|
206
|
+
Key?: string | undefined;
|
|
207
|
+
Value?: string | undefined;
|
|
208
208
|
}
|
|
209
209
|
export interface StartSnapshotRequest {
|
|
210
210
|
VolumeSize: number | undefined;
|
|
211
|
-
ParentSnapshotId?: string;
|
|
212
|
-
Tags?: Tag[];
|
|
213
|
-
Description?: string;
|
|
214
|
-
ClientToken?: string;
|
|
215
|
-
Encrypted?: boolean;
|
|
216
|
-
KmsKeyArn?: string;
|
|
217
|
-
Timeout?: number;
|
|
211
|
+
ParentSnapshotId?: string | undefined;
|
|
212
|
+
Tags?: Tag[] | undefined;
|
|
213
|
+
Description?: string | undefined;
|
|
214
|
+
ClientToken?: string | undefined;
|
|
215
|
+
Encrypted?: boolean | undefined;
|
|
216
|
+
KmsKeyArn?: string | undefined;
|
|
217
|
+
Timeout?: number | undefined;
|
|
218
218
|
}
|
|
219
219
|
export declare const SSEType: {
|
|
220
220
|
readonly NONE: "none";
|
|
@@ -223,17 +223,17 @@ export declare const SSEType: {
|
|
|
223
223
|
};
|
|
224
224
|
export type SSEType = (typeof SSEType)[keyof typeof SSEType];
|
|
225
225
|
export interface StartSnapshotResponse {
|
|
226
|
-
Description?: string;
|
|
227
|
-
SnapshotId?: string;
|
|
228
|
-
OwnerId?: string;
|
|
229
|
-
Status?: Status;
|
|
230
|
-
StartTime?: Date;
|
|
231
|
-
VolumeSize?: number;
|
|
232
|
-
BlockSize?: number;
|
|
233
|
-
Tags?: Tag[];
|
|
234
|
-
ParentSnapshotId?: string;
|
|
235
|
-
KmsKeyArn?: string;
|
|
236
|
-
SseType?: SSEType;
|
|
226
|
+
Description?: string | undefined;
|
|
227
|
+
SnapshotId?: string | undefined;
|
|
228
|
+
OwnerId?: string | undefined;
|
|
229
|
+
Status?: Status | undefined;
|
|
230
|
+
StartTime?: Date | undefined;
|
|
231
|
+
VolumeSize?: number | undefined;
|
|
232
|
+
BlockSize?: number | undefined;
|
|
233
|
+
Tags?: Tag[] | undefined;
|
|
234
|
+
ParentSnapshotId?: string | undefined;
|
|
235
|
+
KmsKeyArn?: string | undefined;
|
|
236
|
+
SseType?: SSEType | undefined;
|
|
237
237
|
}
|
|
238
238
|
export declare const ChangedBlockFilterSensitiveLog: (obj: ChangedBlock) => any;
|
|
239
239
|
export declare const GetSnapshotBlockResponseFilterSensitiveLog: (
|
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.691.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ebs",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.691.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.691.0",
|
|
25
|
+
"@aws-sdk/core": "3.691.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.691.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.686.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.686.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.686.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.691.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.686.0",
|
|
32
32
|
"@aws-sdk/types": "3.686.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.686.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.686.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.691.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.10",
|
|
37
37
|
"@smithy/core": "^2.5.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.0.0",
|