@aws-sdk/client-rbin 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.
|
@@ -57,7 +57,7 @@ export interface ResourceTag {
|
|
|
57
57
|
* <p>The tag value.</p>
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
ResourceTagValue?: string;
|
|
60
|
+
ResourceTagValue?: string | undefined;
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* @public
|
|
@@ -129,12 +129,12 @@ export interface CreateRuleRequest {
|
|
|
129
129
|
* <p>The retention rule description.</p>
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
Description?: string;
|
|
132
|
+
Description?: string | undefined;
|
|
133
133
|
/**
|
|
134
134
|
* <p>Information about the tags to assign to the retention rule.</p>
|
|
135
135
|
* @public
|
|
136
136
|
*/
|
|
137
|
-
Tags?: Tag[];
|
|
137
|
+
Tags?: Tag[] | undefined;
|
|
138
138
|
/**
|
|
139
139
|
* <p>The resource type to be retained by the retention rule. Currently, only Amazon EBS snapshots
|
|
140
140
|
* and EBS-backed AMIs are supported. To retain snapshots, specify <code>EBS_SNAPSHOT</code>. To
|
|
@@ -153,12 +153,12 @@ export interface CreateRuleRequest {
|
|
|
153
153
|
* resource type in the Region in which the rule is created, even if the resources are not tagged.</p>
|
|
154
154
|
* @public
|
|
155
155
|
*/
|
|
156
|
-
ResourceTags?: ResourceTag[];
|
|
156
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
157
157
|
/**
|
|
158
158
|
* <p>Information about the retention rule lock configuration.</p>
|
|
159
159
|
* @public
|
|
160
160
|
*/
|
|
161
|
-
LockConfiguration?: LockConfiguration;
|
|
161
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
162
162
|
}
|
|
163
163
|
/**
|
|
164
164
|
* @public
|
|
@@ -193,44 +193,44 @@ export interface CreateRuleResponse {
|
|
|
193
193
|
* <p>The unique ID of the retention rule.</p>
|
|
194
194
|
* @public
|
|
195
195
|
*/
|
|
196
|
-
Identifier?: string;
|
|
196
|
+
Identifier?: string | undefined;
|
|
197
197
|
/**
|
|
198
198
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
199
199
|
* @public
|
|
200
200
|
*/
|
|
201
|
-
RetentionPeriod?: RetentionPeriod;
|
|
201
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
202
202
|
/**
|
|
203
203
|
* <p>The retention rule description.</p>
|
|
204
204
|
* @public
|
|
205
205
|
*/
|
|
206
|
-
Description?: string;
|
|
206
|
+
Description?: string | undefined;
|
|
207
207
|
/**
|
|
208
208
|
* <p>Information about the tags assigned to the retention rule.</p>
|
|
209
209
|
* @public
|
|
210
210
|
*/
|
|
211
|
-
Tags?: Tag[];
|
|
211
|
+
Tags?: Tag[] | undefined;
|
|
212
212
|
/**
|
|
213
213
|
* <p>The resource type retained by the retention rule.</p>
|
|
214
214
|
* @public
|
|
215
215
|
*/
|
|
216
|
-
ResourceType?: ResourceType;
|
|
216
|
+
ResourceType?: ResourceType | undefined;
|
|
217
217
|
/**
|
|
218
218
|
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
219
219
|
* rule.</p>
|
|
220
220
|
* @public
|
|
221
221
|
*/
|
|
222
|
-
ResourceTags?: ResourceTag[];
|
|
222
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
223
223
|
/**
|
|
224
224
|
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
|
|
225
225
|
* state retain resources.</p>
|
|
226
226
|
* @public
|
|
227
227
|
*/
|
|
228
|
-
Status?: RuleStatus;
|
|
228
|
+
Status?: RuleStatus | undefined;
|
|
229
229
|
/**
|
|
230
230
|
* <p>Information about the retention rule lock configuration.</p>
|
|
231
231
|
* @public
|
|
232
232
|
*/
|
|
233
|
-
LockConfiguration?: LockConfiguration;
|
|
233
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
234
234
|
/**
|
|
235
235
|
* <p>The lock state for the retention rule.</p>
|
|
236
236
|
* <ul>
|
|
@@ -258,12 +258,12 @@ export interface CreateRuleResponse {
|
|
|
258
258
|
* </ul>
|
|
259
259
|
* @public
|
|
260
260
|
*/
|
|
261
|
-
LockState?: LockState;
|
|
261
|
+
LockState?: LockState | undefined;
|
|
262
262
|
/**
|
|
263
263
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
264
264
|
* @public
|
|
265
265
|
*/
|
|
266
|
-
RuleArn?: string;
|
|
266
|
+
RuleArn?: string | undefined;
|
|
267
267
|
}
|
|
268
268
|
/**
|
|
269
269
|
* <p>The service could not respond to the request due to an internal problem.</p>
|
|
@@ -272,7 +272,7 @@ export interface CreateRuleResponse {
|
|
|
272
272
|
export declare class InternalServerException extends __BaseException {
|
|
273
273
|
readonly name: "InternalServerException";
|
|
274
274
|
readonly $fault: "server";
|
|
275
|
-
Message?: string;
|
|
275
|
+
Message?: string | undefined;
|
|
276
276
|
/**
|
|
277
277
|
* @internal
|
|
278
278
|
*/
|
|
@@ -296,12 +296,12 @@ export type ServiceQuotaExceededExceptionReason = (typeof ServiceQuotaExceededEx
|
|
|
296
296
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
297
297
|
readonly name: "ServiceQuotaExceededException";
|
|
298
298
|
readonly $fault: "client";
|
|
299
|
-
Message?: string;
|
|
299
|
+
Message?: string | undefined;
|
|
300
300
|
/**
|
|
301
301
|
* <p>The reason for the exception.</p>
|
|
302
302
|
* @public
|
|
303
303
|
*/
|
|
304
|
-
Reason?: ServiceQuotaExceededExceptionReason;
|
|
304
|
+
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
305
305
|
/**
|
|
306
306
|
* @internal
|
|
307
307
|
*/
|
|
@@ -326,12 +326,12 @@ export type ValidationExceptionReason = (typeof ValidationExceptionReason)[keyof
|
|
|
326
326
|
export declare class ValidationException extends __BaseException {
|
|
327
327
|
readonly name: "ValidationException";
|
|
328
328
|
readonly $fault: "client";
|
|
329
|
-
Message?: string;
|
|
329
|
+
Message?: string | undefined;
|
|
330
330
|
/**
|
|
331
331
|
* <p>The reason for the exception.</p>
|
|
332
332
|
* @public
|
|
333
333
|
*/
|
|
334
|
-
Reason?: ValidationExceptionReason;
|
|
334
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
335
335
|
/**
|
|
336
336
|
* @internal
|
|
337
337
|
*/
|
|
@@ -355,12 +355,12 @@ export type ConflictExceptionReason = (typeof ConflictExceptionReason)[keyof typ
|
|
|
355
355
|
export declare class ConflictException extends __BaseException {
|
|
356
356
|
readonly name: "ConflictException";
|
|
357
357
|
readonly $fault: "client";
|
|
358
|
-
Message?: string;
|
|
358
|
+
Message?: string | undefined;
|
|
359
359
|
/**
|
|
360
360
|
* <p>The reason for the exception.</p>
|
|
361
361
|
* @public
|
|
362
362
|
*/
|
|
363
|
-
Reason?: ConflictExceptionReason;
|
|
363
|
+
Reason?: ConflictExceptionReason | undefined;
|
|
364
364
|
/**
|
|
365
365
|
* @internal
|
|
366
366
|
*/
|
|
@@ -399,12 +399,12 @@ export type ResourceNotFoundExceptionReason = (typeof ResourceNotFoundExceptionR
|
|
|
399
399
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
400
400
|
readonly name: "ResourceNotFoundException";
|
|
401
401
|
readonly $fault: "client";
|
|
402
|
-
Message?: string;
|
|
402
|
+
Message?: string | undefined;
|
|
403
403
|
/**
|
|
404
404
|
* <p>The reason for the exception.</p>
|
|
405
405
|
* @public
|
|
406
406
|
*/
|
|
407
|
-
Reason?: ResourceNotFoundExceptionReason;
|
|
407
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
408
408
|
/**
|
|
409
409
|
* @internal
|
|
410
410
|
*/
|
|
@@ -428,39 +428,39 @@ export interface GetRuleResponse {
|
|
|
428
428
|
* <p>The unique ID of the retention rule.</p>
|
|
429
429
|
* @public
|
|
430
430
|
*/
|
|
431
|
-
Identifier?: string;
|
|
431
|
+
Identifier?: string | undefined;
|
|
432
432
|
/**
|
|
433
433
|
* <p>The retention rule description.</p>
|
|
434
434
|
* @public
|
|
435
435
|
*/
|
|
436
|
-
Description?: string;
|
|
436
|
+
Description?: string | undefined;
|
|
437
437
|
/**
|
|
438
438
|
* <p>The resource type retained by the retention rule.</p>
|
|
439
439
|
* @public
|
|
440
440
|
*/
|
|
441
|
-
ResourceType?: ResourceType;
|
|
441
|
+
ResourceType?: ResourceType | undefined;
|
|
442
442
|
/**
|
|
443
443
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
444
444
|
* @public
|
|
445
445
|
*/
|
|
446
|
-
RetentionPeriod?: RetentionPeriod;
|
|
446
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
447
447
|
/**
|
|
448
448
|
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
449
449
|
* rule.</p>
|
|
450
450
|
* @public
|
|
451
451
|
*/
|
|
452
|
-
ResourceTags?: ResourceTag[];
|
|
452
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
453
453
|
/**
|
|
454
454
|
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
|
|
455
455
|
* state retain resources.</p>
|
|
456
456
|
* @public
|
|
457
457
|
*/
|
|
458
|
-
Status?: RuleStatus;
|
|
458
|
+
Status?: RuleStatus | undefined;
|
|
459
459
|
/**
|
|
460
460
|
* <p>Information about the retention rule lock configuration.</p>
|
|
461
461
|
* @public
|
|
462
462
|
*/
|
|
463
|
-
LockConfiguration?: LockConfiguration;
|
|
463
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
464
464
|
/**
|
|
465
465
|
* <p>The lock state for the retention rule.</p>
|
|
466
466
|
* <ul>
|
|
@@ -488,19 +488,19 @@ export interface GetRuleResponse {
|
|
|
488
488
|
* </ul>
|
|
489
489
|
* @public
|
|
490
490
|
*/
|
|
491
|
-
LockState?: LockState;
|
|
491
|
+
LockState?: LockState | undefined;
|
|
492
492
|
/**
|
|
493
493
|
* <p>The date and time at which the unlock delay is set to expire. Only returned
|
|
494
494
|
* for retention rules that have been unlocked and that are still within the unlock
|
|
495
495
|
* delay period.</p>
|
|
496
496
|
* @public
|
|
497
497
|
*/
|
|
498
|
-
LockEndTime?: Date;
|
|
498
|
+
LockEndTime?: Date | undefined;
|
|
499
499
|
/**
|
|
500
500
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
501
501
|
* @public
|
|
502
502
|
*/
|
|
503
|
-
RuleArn?: string;
|
|
503
|
+
RuleArn?: string | undefined;
|
|
504
504
|
}
|
|
505
505
|
/**
|
|
506
506
|
* @public
|
|
@@ -511,12 +511,12 @@ export interface ListRulesRequest {
|
|
|
511
511
|
* To retrieve the remaining results, make another call with the returned <code>NextToken</code> value.</p>
|
|
512
512
|
* @public
|
|
513
513
|
*/
|
|
514
|
-
MaxResults?: number;
|
|
514
|
+
MaxResults?: number | undefined;
|
|
515
515
|
/**
|
|
516
516
|
* <p>The token for the next page of results.</p>
|
|
517
517
|
* @public
|
|
518
518
|
*/
|
|
519
|
-
NextToken?: string;
|
|
519
|
+
NextToken?: string | undefined;
|
|
520
520
|
/**
|
|
521
521
|
* <p>The resource type retained by the retention rule. Only retention rules that retain
|
|
522
522
|
* the specified resource type are listed. Currently, only Amazon EBS snapshots and EBS-backed
|
|
@@ -531,13 +531,13 @@ export interface ListRulesRequest {
|
|
|
531
531
|
* rule.</p>
|
|
532
532
|
* @public
|
|
533
533
|
*/
|
|
534
|
-
ResourceTags?: ResourceTag[];
|
|
534
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
535
535
|
/**
|
|
536
536
|
* <p>The lock state of the retention rules to list. Only retention rules with the specified
|
|
537
537
|
* lock state are returned.</p>
|
|
538
538
|
* @public
|
|
539
539
|
*/
|
|
540
|
-
LockState?: LockState;
|
|
540
|
+
LockState?: LockState | undefined;
|
|
541
541
|
}
|
|
542
542
|
/**
|
|
543
543
|
* <p>Information about a Recycle Bin retention rule.</p>
|
|
@@ -548,17 +548,17 @@ export interface RuleSummary {
|
|
|
548
548
|
* <p>The unique ID of the retention rule.</p>
|
|
549
549
|
* @public
|
|
550
550
|
*/
|
|
551
|
-
Identifier?: string;
|
|
551
|
+
Identifier?: string | undefined;
|
|
552
552
|
/**
|
|
553
553
|
* <p>The retention rule description.</p>
|
|
554
554
|
* @public
|
|
555
555
|
*/
|
|
556
|
-
Description?: string;
|
|
556
|
+
Description?: string | undefined;
|
|
557
557
|
/**
|
|
558
558
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
559
559
|
* @public
|
|
560
560
|
*/
|
|
561
|
-
RetentionPeriod?: RetentionPeriod;
|
|
561
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
562
562
|
/**
|
|
563
563
|
* <p>The lock state for the retention rule.</p>
|
|
564
564
|
* <ul>
|
|
@@ -586,12 +586,12 @@ export interface RuleSummary {
|
|
|
586
586
|
* </ul>
|
|
587
587
|
* @public
|
|
588
588
|
*/
|
|
589
|
-
LockState?: LockState;
|
|
589
|
+
LockState?: LockState | undefined;
|
|
590
590
|
/**
|
|
591
591
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
592
592
|
* @public
|
|
593
593
|
*/
|
|
594
|
-
RuleArn?: string;
|
|
594
|
+
RuleArn?: string | undefined;
|
|
595
595
|
}
|
|
596
596
|
/**
|
|
597
597
|
* @public
|
|
@@ -601,12 +601,12 @@ export interface ListRulesResponse {
|
|
|
601
601
|
* <p>Information about the retention rules.</p>
|
|
602
602
|
* @public
|
|
603
603
|
*/
|
|
604
|
-
Rules?: RuleSummary[];
|
|
604
|
+
Rules?: RuleSummary[] | undefined;
|
|
605
605
|
/**
|
|
606
606
|
* <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
|
|
607
607
|
* @public
|
|
608
608
|
*/
|
|
609
|
-
NextToken?: string;
|
|
609
|
+
NextToken?: string | undefined;
|
|
610
610
|
}
|
|
611
611
|
/**
|
|
612
612
|
* @public
|
|
@@ -626,7 +626,7 @@ export interface ListTagsForResourceResponse {
|
|
|
626
626
|
* <p>Information about the tags assigned to the retention rule.</p>
|
|
627
627
|
* @public
|
|
628
628
|
*/
|
|
629
|
-
Tags?: Tag[];
|
|
629
|
+
Tags?: Tag[] | undefined;
|
|
630
630
|
}
|
|
631
631
|
/**
|
|
632
632
|
* @public
|
|
@@ -651,39 +651,39 @@ export interface LockRuleResponse {
|
|
|
651
651
|
* <p>The unique ID of the retention rule.</p>
|
|
652
652
|
* @public
|
|
653
653
|
*/
|
|
654
|
-
Identifier?: string;
|
|
654
|
+
Identifier?: string | undefined;
|
|
655
655
|
/**
|
|
656
656
|
* <p>The retention rule description.</p>
|
|
657
657
|
* @public
|
|
658
658
|
*/
|
|
659
|
-
Description?: string;
|
|
659
|
+
Description?: string | undefined;
|
|
660
660
|
/**
|
|
661
661
|
* <p>The resource type retained by the retention rule.</p>
|
|
662
662
|
* @public
|
|
663
663
|
*/
|
|
664
|
-
ResourceType?: ResourceType;
|
|
664
|
+
ResourceType?: ResourceType | undefined;
|
|
665
665
|
/**
|
|
666
666
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
667
667
|
* @public
|
|
668
668
|
*/
|
|
669
|
-
RetentionPeriod?: RetentionPeriod;
|
|
669
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
670
670
|
/**
|
|
671
671
|
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
672
672
|
* rule.</p>
|
|
673
673
|
* @public
|
|
674
674
|
*/
|
|
675
|
-
ResourceTags?: ResourceTag[];
|
|
675
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
676
676
|
/**
|
|
677
677
|
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
|
|
678
678
|
* state retain resources.</p>
|
|
679
679
|
* @public
|
|
680
680
|
*/
|
|
681
|
-
Status?: RuleStatus;
|
|
681
|
+
Status?: RuleStatus | undefined;
|
|
682
682
|
/**
|
|
683
683
|
* <p>Information about the retention rule lock configuration.</p>
|
|
684
684
|
* @public
|
|
685
685
|
*/
|
|
686
|
-
LockConfiguration?: LockConfiguration;
|
|
686
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
687
687
|
/**
|
|
688
688
|
* <p>The lock state for the retention rule.</p>
|
|
689
689
|
* <ul>
|
|
@@ -711,12 +711,12 @@ export interface LockRuleResponse {
|
|
|
711
711
|
* </ul>
|
|
712
712
|
* @public
|
|
713
713
|
*/
|
|
714
|
-
LockState?: LockState;
|
|
714
|
+
LockState?: LockState | undefined;
|
|
715
715
|
/**
|
|
716
716
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
717
717
|
* @public
|
|
718
718
|
*/
|
|
719
|
-
RuleArn?: string;
|
|
719
|
+
RuleArn?: string | undefined;
|
|
720
720
|
}
|
|
721
721
|
/**
|
|
722
722
|
* @public
|
|
@@ -756,39 +756,39 @@ export interface UnlockRuleResponse {
|
|
|
756
756
|
* <p>The unique ID of the retention rule.</p>
|
|
757
757
|
* @public
|
|
758
758
|
*/
|
|
759
|
-
Identifier?: string;
|
|
759
|
+
Identifier?: string | undefined;
|
|
760
760
|
/**
|
|
761
761
|
* <p>The retention rule description.</p>
|
|
762
762
|
* @public
|
|
763
763
|
*/
|
|
764
|
-
Description?: string;
|
|
764
|
+
Description?: string | undefined;
|
|
765
765
|
/**
|
|
766
766
|
* <p>The resource type retained by the retention rule.</p>
|
|
767
767
|
* @public
|
|
768
768
|
*/
|
|
769
|
-
ResourceType?: ResourceType;
|
|
769
|
+
ResourceType?: ResourceType | undefined;
|
|
770
770
|
/**
|
|
771
771
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
772
772
|
* @public
|
|
773
773
|
*/
|
|
774
|
-
RetentionPeriod?: RetentionPeriod;
|
|
774
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
775
775
|
/**
|
|
776
776
|
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
777
777
|
* rule.</p>
|
|
778
778
|
* @public
|
|
779
779
|
*/
|
|
780
|
-
ResourceTags?: ResourceTag[];
|
|
780
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
781
781
|
/**
|
|
782
782
|
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
|
|
783
783
|
* state retain resources.</p>
|
|
784
784
|
* @public
|
|
785
785
|
*/
|
|
786
|
-
Status?: RuleStatus;
|
|
786
|
+
Status?: RuleStatus | undefined;
|
|
787
787
|
/**
|
|
788
788
|
* <p>Information about the retention rule lock configuration.</p>
|
|
789
789
|
* @public
|
|
790
790
|
*/
|
|
791
|
-
LockConfiguration?: LockConfiguration;
|
|
791
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
792
792
|
/**
|
|
793
793
|
* <p>The lock state for the retention rule.</p>
|
|
794
794
|
* <ul>
|
|
@@ -816,19 +816,19 @@ export interface UnlockRuleResponse {
|
|
|
816
816
|
* </ul>
|
|
817
817
|
* @public
|
|
818
818
|
*/
|
|
819
|
-
LockState?: LockState;
|
|
819
|
+
LockState?: LockState | undefined;
|
|
820
820
|
/**
|
|
821
821
|
* <p>The date and time at which the unlock delay is set to expire. Only returned
|
|
822
822
|
* for retention rules that have been unlocked and that are still within the unlock
|
|
823
823
|
* delay period.</p>
|
|
824
824
|
* @public
|
|
825
825
|
*/
|
|
826
|
-
LockEndTime?: Date;
|
|
826
|
+
LockEndTime?: Date | undefined;
|
|
827
827
|
/**
|
|
828
828
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
829
829
|
* @public
|
|
830
830
|
*/
|
|
831
|
-
RuleArn?: string;
|
|
831
|
+
RuleArn?: string | undefined;
|
|
832
832
|
}
|
|
833
833
|
/**
|
|
834
834
|
* @public
|
|
@@ -863,12 +863,12 @@ export interface UpdateRuleRequest {
|
|
|
863
863
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
864
864
|
* @public
|
|
865
865
|
*/
|
|
866
|
-
RetentionPeriod?: RetentionPeriod;
|
|
866
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
867
867
|
/**
|
|
868
868
|
* <p>The retention rule description.</p>
|
|
869
869
|
* @public
|
|
870
870
|
*/
|
|
871
|
-
Description?: string;
|
|
871
|
+
Description?: string | undefined;
|
|
872
872
|
/**
|
|
873
873
|
* <note>
|
|
874
874
|
* <p>This parameter is currently not supported. You can't update a retention rule's resource type
|
|
@@ -876,7 +876,7 @@ export interface UpdateRuleRequest {
|
|
|
876
876
|
* </note>
|
|
877
877
|
* @public
|
|
878
878
|
*/
|
|
879
|
-
ResourceType?: ResourceType;
|
|
879
|
+
ResourceType?: ResourceType | undefined;
|
|
880
880
|
/**
|
|
881
881
|
* <p>Specifies the resource tags to use to identify resources that are to be retained by a
|
|
882
882
|
* tag-level retention rule. For tag-level retention rules, only deleted resources, of the specified resource type, that
|
|
@@ -888,7 +888,7 @@ export interface UpdateRuleRequest {
|
|
|
888
888
|
* resource type in the Region in which the rule is created, even if the resources are not tagged.</p>
|
|
889
889
|
* @public
|
|
890
890
|
*/
|
|
891
|
-
ResourceTags?: ResourceTag[];
|
|
891
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
892
892
|
}
|
|
893
893
|
/**
|
|
894
894
|
* @public
|
|
@@ -898,34 +898,34 @@ export interface UpdateRuleResponse {
|
|
|
898
898
|
* <p>The unique ID of the retention rule.</p>
|
|
899
899
|
* @public
|
|
900
900
|
*/
|
|
901
|
-
Identifier?: string;
|
|
901
|
+
Identifier?: string | undefined;
|
|
902
902
|
/**
|
|
903
903
|
* <p>Information about the retention period for which the retention rule is to retain resources.</p>
|
|
904
904
|
* @public
|
|
905
905
|
*/
|
|
906
|
-
RetentionPeriod?: RetentionPeriod;
|
|
906
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
907
907
|
/**
|
|
908
908
|
* <p>The retention rule description.</p>
|
|
909
909
|
* @public
|
|
910
910
|
*/
|
|
911
|
-
Description?: string;
|
|
911
|
+
Description?: string | undefined;
|
|
912
912
|
/**
|
|
913
913
|
* <p>The resource type retained by the retention rule.</p>
|
|
914
914
|
* @public
|
|
915
915
|
*/
|
|
916
|
-
ResourceType?: ResourceType;
|
|
916
|
+
ResourceType?: ResourceType | undefined;
|
|
917
917
|
/**
|
|
918
918
|
* <p>Information about the resource tags used to identify resources that are retained by the retention
|
|
919
919
|
* rule.</p>
|
|
920
920
|
* @public
|
|
921
921
|
*/
|
|
922
|
-
ResourceTags?: ResourceTag[];
|
|
922
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
923
923
|
/**
|
|
924
924
|
* <p>The state of the retention rule. Only retention rules that are in the <code>available</code>
|
|
925
925
|
* state retain resources.</p>
|
|
926
926
|
* @public
|
|
927
927
|
*/
|
|
928
|
-
Status?: RuleStatus;
|
|
928
|
+
Status?: RuleStatus | undefined;
|
|
929
929
|
/**
|
|
930
930
|
* <p>The lock state for the retention rule.</p>
|
|
931
931
|
* <ul>
|
|
@@ -953,17 +953,17 @@ export interface UpdateRuleResponse {
|
|
|
953
953
|
* </ul>
|
|
954
954
|
* @public
|
|
955
955
|
*/
|
|
956
|
-
LockState?: LockState;
|
|
956
|
+
LockState?: LockState | undefined;
|
|
957
957
|
/**
|
|
958
958
|
* <p>The date and time at which the unlock delay is set to expire. Only returned
|
|
959
959
|
* for retention rules that have been unlocked and that are still within the unlock
|
|
960
960
|
* delay period.</p>
|
|
961
961
|
* @public
|
|
962
962
|
*/
|
|
963
|
-
LockEndTime?: Date;
|
|
963
|
+
LockEndTime?: Date | undefined;
|
|
964
964
|
/**
|
|
965
965
|
* <p>The Amazon Resource Name (ARN) of the retention rule.</p>
|
|
966
966
|
* @public
|
|
967
967
|
*/
|
|
968
|
-
RuleArn?: string;
|
|
968
|
+
RuleArn?: string | undefined;
|
|
969
969
|
}
|
|
@@ -14,7 +14,7 @@ export interface LockConfiguration {
|
|
|
14
14
|
}
|
|
15
15
|
export interface ResourceTag {
|
|
16
16
|
ResourceTagKey: string | undefined;
|
|
17
|
-
ResourceTagValue?: string;
|
|
17
|
+
ResourceTagValue?: string | undefined;
|
|
18
18
|
}
|
|
19
19
|
export declare const ResourceType: {
|
|
20
20
|
readonly EBS_SNAPSHOT: "EBS_SNAPSHOT";
|
|
@@ -36,11 +36,11 @@ export interface Tag {
|
|
|
36
36
|
}
|
|
37
37
|
export interface CreateRuleRequest {
|
|
38
38
|
RetentionPeriod: RetentionPeriod | undefined;
|
|
39
|
-
Description?: string;
|
|
40
|
-
Tags?: Tag[];
|
|
39
|
+
Description?: string | undefined;
|
|
40
|
+
Tags?: Tag[] | undefined;
|
|
41
41
|
ResourceType: ResourceType | undefined;
|
|
42
|
-
ResourceTags?: ResourceTag[];
|
|
43
|
-
LockConfiguration?: LockConfiguration;
|
|
42
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
43
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
44
44
|
}
|
|
45
45
|
export declare const LockState: {
|
|
46
46
|
readonly LOCKED: "locked";
|
|
@@ -54,21 +54,21 @@ export declare const RuleStatus: {
|
|
|
54
54
|
};
|
|
55
55
|
export type RuleStatus = (typeof RuleStatus)[keyof typeof RuleStatus];
|
|
56
56
|
export interface CreateRuleResponse {
|
|
57
|
-
Identifier?: string;
|
|
58
|
-
RetentionPeriod?: RetentionPeriod;
|
|
59
|
-
Description?: string;
|
|
60
|
-
Tags?: Tag[];
|
|
61
|
-
ResourceType?: ResourceType;
|
|
62
|
-
ResourceTags?: ResourceTag[];
|
|
63
|
-
Status?: RuleStatus;
|
|
64
|
-
LockConfiguration?: LockConfiguration;
|
|
65
|
-
LockState?: LockState;
|
|
66
|
-
RuleArn?: string;
|
|
57
|
+
Identifier?: string | undefined;
|
|
58
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
59
|
+
Description?: string | undefined;
|
|
60
|
+
Tags?: Tag[] | undefined;
|
|
61
|
+
ResourceType?: ResourceType | undefined;
|
|
62
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
63
|
+
Status?: RuleStatus | undefined;
|
|
64
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
65
|
+
LockState?: LockState | undefined;
|
|
66
|
+
RuleArn?: string | undefined;
|
|
67
67
|
}
|
|
68
68
|
export declare class InternalServerException extends __BaseException {
|
|
69
69
|
readonly name: "InternalServerException";
|
|
70
70
|
readonly $fault: "server";
|
|
71
|
-
Message?: string;
|
|
71
|
+
Message?: string | undefined;
|
|
72
72
|
constructor(
|
|
73
73
|
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
74
74
|
);
|
|
@@ -81,8 +81,8 @@ export type ServiceQuotaExceededExceptionReason =
|
|
|
81
81
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
82
82
|
readonly name: "ServiceQuotaExceededException";
|
|
83
83
|
readonly $fault: "client";
|
|
84
|
-
Message?: string;
|
|
85
|
-
Reason?: ServiceQuotaExceededExceptionReason;
|
|
84
|
+
Message?: string | undefined;
|
|
85
|
+
Reason?: ServiceQuotaExceededExceptionReason | undefined;
|
|
86
86
|
constructor(
|
|
87
87
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
88
88
|
);
|
|
@@ -96,8 +96,8 @@ export type ValidationExceptionReason =
|
|
|
96
96
|
export declare class ValidationException extends __BaseException {
|
|
97
97
|
readonly name: "ValidationException";
|
|
98
98
|
readonly $fault: "client";
|
|
99
|
-
Message?: string;
|
|
100
|
-
Reason?: ValidationExceptionReason;
|
|
99
|
+
Message?: string | undefined;
|
|
100
|
+
Reason?: ValidationExceptionReason | undefined;
|
|
101
101
|
constructor(
|
|
102
102
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
103
103
|
);
|
|
@@ -110,8 +110,8 @@ export type ConflictExceptionReason =
|
|
|
110
110
|
export declare class ConflictException extends __BaseException {
|
|
111
111
|
readonly name: "ConflictException";
|
|
112
112
|
readonly $fault: "client";
|
|
113
|
-
Message?: string;
|
|
114
|
-
Reason?: ConflictExceptionReason;
|
|
113
|
+
Message?: string | undefined;
|
|
114
|
+
Reason?: ConflictExceptionReason | undefined;
|
|
115
115
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
116
116
|
}
|
|
117
117
|
export interface DeleteRuleRequest {
|
|
@@ -126,8 +126,8 @@ export type ResourceNotFoundExceptionReason =
|
|
|
126
126
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
127
127
|
readonly name: "ResourceNotFoundException";
|
|
128
128
|
readonly $fault: "client";
|
|
129
|
-
Message?: string;
|
|
130
|
-
Reason?: ResourceNotFoundExceptionReason;
|
|
129
|
+
Message?: string | undefined;
|
|
130
|
+
Reason?: ResourceNotFoundExceptionReason | undefined;
|
|
131
131
|
constructor(
|
|
132
132
|
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
133
133
|
);
|
|
@@ -136,55 +136,55 @@ export interface GetRuleRequest {
|
|
|
136
136
|
Identifier: string | undefined;
|
|
137
137
|
}
|
|
138
138
|
export interface GetRuleResponse {
|
|
139
|
-
Identifier?: string;
|
|
140
|
-
Description?: string;
|
|
141
|
-
ResourceType?: ResourceType;
|
|
142
|
-
RetentionPeriod?: RetentionPeriod;
|
|
143
|
-
ResourceTags?: ResourceTag[];
|
|
144
|
-
Status?: RuleStatus;
|
|
145
|
-
LockConfiguration?: LockConfiguration;
|
|
146
|
-
LockState?: LockState;
|
|
147
|
-
LockEndTime?: Date;
|
|
148
|
-
RuleArn?: string;
|
|
139
|
+
Identifier?: string | undefined;
|
|
140
|
+
Description?: string | undefined;
|
|
141
|
+
ResourceType?: ResourceType | undefined;
|
|
142
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
143
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
144
|
+
Status?: RuleStatus | undefined;
|
|
145
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
146
|
+
LockState?: LockState | undefined;
|
|
147
|
+
LockEndTime?: Date | undefined;
|
|
148
|
+
RuleArn?: string | undefined;
|
|
149
149
|
}
|
|
150
150
|
export interface ListRulesRequest {
|
|
151
|
-
MaxResults?: number;
|
|
152
|
-
NextToken?: string;
|
|
151
|
+
MaxResults?: number | undefined;
|
|
152
|
+
NextToken?: string | undefined;
|
|
153
153
|
ResourceType: ResourceType | undefined;
|
|
154
|
-
ResourceTags?: ResourceTag[];
|
|
155
|
-
LockState?: LockState;
|
|
154
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
155
|
+
LockState?: LockState | undefined;
|
|
156
156
|
}
|
|
157
157
|
export interface RuleSummary {
|
|
158
|
-
Identifier?: string;
|
|
159
|
-
Description?: string;
|
|
160
|
-
RetentionPeriod?: RetentionPeriod;
|
|
161
|
-
LockState?: LockState;
|
|
162
|
-
RuleArn?: string;
|
|
158
|
+
Identifier?: string | undefined;
|
|
159
|
+
Description?: string | undefined;
|
|
160
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
161
|
+
LockState?: LockState | undefined;
|
|
162
|
+
RuleArn?: string | undefined;
|
|
163
163
|
}
|
|
164
164
|
export interface ListRulesResponse {
|
|
165
|
-
Rules?: RuleSummary[];
|
|
166
|
-
NextToken?: string;
|
|
165
|
+
Rules?: RuleSummary[] | undefined;
|
|
166
|
+
NextToken?: string | undefined;
|
|
167
167
|
}
|
|
168
168
|
export interface ListTagsForResourceRequest {
|
|
169
169
|
ResourceArn: string | undefined;
|
|
170
170
|
}
|
|
171
171
|
export interface ListTagsForResourceResponse {
|
|
172
|
-
Tags?: Tag[];
|
|
172
|
+
Tags?: Tag[] | undefined;
|
|
173
173
|
}
|
|
174
174
|
export interface LockRuleRequest {
|
|
175
175
|
Identifier: string | undefined;
|
|
176
176
|
LockConfiguration: LockConfiguration | undefined;
|
|
177
177
|
}
|
|
178
178
|
export interface LockRuleResponse {
|
|
179
|
-
Identifier?: string;
|
|
180
|
-
Description?: string;
|
|
181
|
-
ResourceType?: ResourceType;
|
|
182
|
-
RetentionPeriod?: RetentionPeriod;
|
|
183
|
-
ResourceTags?: ResourceTag[];
|
|
184
|
-
Status?: RuleStatus;
|
|
185
|
-
LockConfiguration?: LockConfiguration;
|
|
186
|
-
LockState?: LockState;
|
|
187
|
-
RuleArn?: string;
|
|
179
|
+
Identifier?: string | undefined;
|
|
180
|
+
Description?: string | undefined;
|
|
181
|
+
ResourceType?: ResourceType | undefined;
|
|
182
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
183
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
184
|
+
Status?: RuleStatus | undefined;
|
|
185
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
186
|
+
LockState?: LockState | undefined;
|
|
187
|
+
RuleArn?: string | undefined;
|
|
188
188
|
}
|
|
189
189
|
export interface TagResourceRequest {
|
|
190
190
|
ResourceArn: string | undefined;
|
|
@@ -195,16 +195,16 @@ export interface UnlockRuleRequest {
|
|
|
195
195
|
Identifier: string | undefined;
|
|
196
196
|
}
|
|
197
197
|
export interface UnlockRuleResponse {
|
|
198
|
-
Identifier?: string;
|
|
199
|
-
Description?: string;
|
|
200
|
-
ResourceType?: ResourceType;
|
|
201
|
-
RetentionPeriod?: RetentionPeriod;
|
|
202
|
-
ResourceTags?: ResourceTag[];
|
|
203
|
-
Status?: RuleStatus;
|
|
204
|
-
LockConfiguration?: LockConfiguration;
|
|
205
|
-
LockState?: LockState;
|
|
206
|
-
LockEndTime?: Date;
|
|
207
|
-
RuleArn?: string;
|
|
198
|
+
Identifier?: string | undefined;
|
|
199
|
+
Description?: string | undefined;
|
|
200
|
+
ResourceType?: ResourceType | undefined;
|
|
201
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
202
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
203
|
+
Status?: RuleStatus | undefined;
|
|
204
|
+
LockConfiguration?: LockConfiguration | undefined;
|
|
205
|
+
LockState?: LockState | undefined;
|
|
206
|
+
LockEndTime?: Date | undefined;
|
|
207
|
+
RuleArn?: string | undefined;
|
|
208
208
|
}
|
|
209
209
|
export interface UntagResourceRequest {
|
|
210
210
|
ResourceArn: string | undefined;
|
|
@@ -213,19 +213,19 @@ export interface UntagResourceRequest {
|
|
|
213
213
|
export interface UntagResourceResponse {}
|
|
214
214
|
export interface UpdateRuleRequest {
|
|
215
215
|
Identifier: string | undefined;
|
|
216
|
-
RetentionPeriod?: RetentionPeriod;
|
|
217
|
-
Description?: string;
|
|
218
|
-
ResourceType?: ResourceType;
|
|
219
|
-
ResourceTags?: ResourceTag[];
|
|
216
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
217
|
+
Description?: string | undefined;
|
|
218
|
+
ResourceType?: ResourceType | undefined;
|
|
219
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
220
220
|
}
|
|
221
221
|
export interface UpdateRuleResponse {
|
|
222
|
-
Identifier?: string;
|
|
223
|
-
RetentionPeriod?: RetentionPeriod;
|
|
224
|
-
Description?: string;
|
|
225
|
-
ResourceType?: ResourceType;
|
|
226
|
-
ResourceTags?: ResourceTag[];
|
|
227
|
-
Status?: RuleStatus;
|
|
228
|
-
LockState?: LockState;
|
|
229
|
-
LockEndTime?: Date;
|
|
230
|
-
RuleArn?: string;
|
|
222
|
+
Identifier?: string | undefined;
|
|
223
|
+
RetentionPeriod?: RetentionPeriod | undefined;
|
|
224
|
+
Description?: string | undefined;
|
|
225
|
+
ResourceType?: ResourceType | undefined;
|
|
226
|
+
ResourceTags?: ResourceTag[] | undefined;
|
|
227
|
+
Status?: RuleStatus | undefined;
|
|
228
|
+
LockState?: LockState | undefined;
|
|
229
|
+
LockEndTime?: Date | undefined;
|
|
230
|
+
RuleArn?: string | undefined;
|
|
231
231
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-rbin",
|
|
3
3
|
"description": "AWS SDK for JavaScript Rbin 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-rbin",
|
|
@@ -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",
|