@aws-sdk/client-dlm 3.686.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.
- package/dist-types/models/models_0.d.ts +131 -131
- package/dist-types/ts3.4/models/models_0.d.ts +131 -131
- package/package.json +7 -7
|
@@ -19,7 +19,7 @@ export interface EncryptionConfiguration {
|
|
|
19
19
|
* this parameter is not specified, the default KMS key for the account is used.</p>
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
|
-
CmkArn?: string;
|
|
22
|
+
CmkArn?: string | undefined;
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
@@ -47,13 +47,13 @@ export interface CrossRegionCopyRetainRule {
|
|
|
47
47
|
* This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
|
|
48
48
|
* @public
|
|
49
49
|
*/
|
|
50
|
-
Interval?: number;
|
|
50
|
+
Interval?: number | undefined;
|
|
51
51
|
/**
|
|
52
52
|
* <p>The unit of time for time-based retention. For example, to retain a cross-Region copy for
|
|
53
53
|
* 3 months, specify <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
|
|
54
54
|
* @public
|
|
55
55
|
*/
|
|
56
|
-
IntervalUnit?: RetentionIntervalUnitValues;
|
|
56
|
+
IntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
59
|
* <p>
|
|
@@ -81,7 +81,7 @@ export interface CrossRegionCopyAction {
|
|
|
81
81
|
* retention period expires, the cross-Region copy is deleted.</p>
|
|
82
82
|
* @public
|
|
83
83
|
*/
|
|
84
|
-
RetainRule?: CrossRegionCopyRetainRule;
|
|
84
|
+
RetainRule?: CrossRegionCopyRetainRule | undefined;
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
87
|
* <p>
|
|
@@ -123,20 +123,20 @@ export interface RetentionArchiveTier {
|
|
|
123
123
|
* count of 3 or more to ensure that each snapshot is archived for at least 90 days.</p>
|
|
124
124
|
* @public
|
|
125
125
|
*/
|
|
126
|
-
Count?: number;
|
|
126
|
+
Count?: number | undefined;
|
|
127
127
|
/**
|
|
128
128
|
* <p>Specifies the period of time to retain snapshots in the archive tier. After this period
|
|
129
129
|
* expires, the snapshot is permanently deleted.</p>
|
|
130
130
|
* @public
|
|
131
131
|
*/
|
|
132
|
-
Interval?: number;
|
|
132
|
+
Interval?: number | undefined;
|
|
133
133
|
/**
|
|
134
134
|
* <p>The unit of time in which to measure the <b>Interval</b>. For
|
|
135
135
|
* example, to retain a snapshots in the archive tier for 6 months, specify <code>Interval=6</code>
|
|
136
136
|
* and <code>IntervalUnit=MONTHS</code>.</p>
|
|
137
137
|
* @public
|
|
138
138
|
*/
|
|
139
|
-
IntervalUnit?: RetentionIntervalUnitValues;
|
|
139
|
+
IntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
142
142
|
* <p>
|
|
@@ -174,7 +174,7 @@ export interface CrossRegionCopyTarget {
|
|
|
174
174
|
* <p>The target Region, for example <code>us-east-1</code>.</p>
|
|
175
175
|
* @public
|
|
176
176
|
*/
|
|
177
|
-
TargetRegion?: string;
|
|
177
|
+
TargetRegion?: string | undefined;
|
|
178
178
|
}
|
|
179
179
|
/**
|
|
180
180
|
* @public
|
|
@@ -220,20 +220,20 @@ export interface Exclusions {
|
|
|
220
220
|
* <code>true</code>.</p>
|
|
221
221
|
* @public
|
|
222
222
|
*/
|
|
223
|
-
ExcludeBootVolumes?: boolean;
|
|
223
|
+
ExcludeBootVolumes?: boolean | undefined;
|
|
224
224
|
/**
|
|
225
225
|
* <p>
|
|
226
226
|
* <b>[Default policies for EBS snapshots only]</b> Specifies the volume types to exclude. Volumes of the specified
|
|
227
227
|
* types will not be targeted by the policy.</p>
|
|
228
228
|
* @public
|
|
229
229
|
*/
|
|
230
|
-
ExcludeVolumeTypes?: string[];
|
|
230
|
+
ExcludeVolumeTypes?: string[] | undefined;
|
|
231
231
|
/**
|
|
232
232
|
* <p>
|
|
233
233
|
* <b>[Default policies for EBS-backed AMIs only]</b> Specifies whether to exclude volumes that have specific tags. </p>
|
|
234
234
|
* @public
|
|
235
235
|
*/
|
|
236
|
-
ExcludeTags?: Tag[];
|
|
236
|
+
ExcludeTags?: Tag[] | undefined;
|
|
237
237
|
}
|
|
238
238
|
/**
|
|
239
239
|
* @public
|
|
@@ -300,7 +300,7 @@ export interface EventSource {
|
|
|
300
300
|
* <p>Information about the event.</p>
|
|
301
301
|
* @public
|
|
302
302
|
*/
|
|
303
|
-
Parameters?: EventParameters;
|
|
303
|
+
Parameters?: EventParameters | undefined;
|
|
304
304
|
}
|
|
305
305
|
/**
|
|
306
306
|
* <p>
|
|
@@ -323,7 +323,7 @@ export interface _Parameters {
|
|
|
323
323
|
* snapshot sets created by the policy.</p>
|
|
324
324
|
* @public
|
|
325
325
|
*/
|
|
326
|
-
ExcludeBootVolume?: boolean;
|
|
326
|
+
ExcludeBootVolume?: boolean | undefined;
|
|
327
327
|
/**
|
|
328
328
|
* <p>
|
|
329
329
|
* <b>[Custom AMI policies only]</b> Indicates whether targeted instances are rebooted when the lifecycle policy
|
|
@@ -332,7 +332,7 @@ export interface _Parameters {
|
|
|
332
332
|
* The default is <code>true</code> (instances are not rebooted).</p>
|
|
333
333
|
* @public
|
|
334
334
|
*/
|
|
335
|
-
NoReboot?: boolean;
|
|
335
|
+
NoReboot?: boolean | undefined;
|
|
336
336
|
/**
|
|
337
337
|
* <p>
|
|
338
338
|
* <b>[Custom snapshot policies that target instances only]</b> The tags used to identify data (non-root) volumes to exclude from
|
|
@@ -342,7 +342,7 @@ export interface _Parameters {
|
|
|
342
342
|
* instances will be excluded from the multi-volume snapshot sets created by the policy.</p>
|
|
343
343
|
* @public
|
|
344
344
|
*/
|
|
345
|
-
ExcludeDataVolumeTags?: Tag[];
|
|
345
|
+
ExcludeDataVolumeTags?: Tag[] | undefined;
|
|
346
346
|
}
|
|
347
347
|
/**
|
|
348
348
|
* @public
|
|
@@ -475,7 +475,7 @@ export interface Script {
|
|
|
475
475
|
* <p>Default: PRE and POST</p>
|
|
476
476
|
* @public
|
|
477
477
|
*/
|
|
478
|
-
Stages?: StageValues[];
|
|
478
|
+
Stages?: StageValues[] | undefined;
|
|
479
479
|
/**
|
|
480
480
|
* <p>Indicates the service used to execute the pre and/or post scripts.</p>
|
|
481
481
|
* <ul>
|
|
@@ -491,7 +491,7 @@ export interface Script {
|
|
|
491
491
|
* <p>Default: AWS_SYSTEMS_MANAGER</p>
|
|
492
492
|
* @public
|
|
493
493
|
*/
|
|
494
|
-
ExecutionHandlerService?: ExecutionHandlerServiceValues;
|
|
494
|
+
ExecutionHandlerService?: ExecutionHandlerServiceValues | undefined;
|
|
495
495
|
/**
|
|
496
496
|
* <p>The SSM document that includes the pre and/or post scripts to run.</p>
|
|
497
497
|
* <ul>
|
|
@@ -531,7 +531,7 @@ export interface Script {
|
|
|
531
531
|
* <p>Default: true</p>
|
|
532
532
|
* @public
|
|
533
533
|
*/
|
|
534
|
-
ExecuteOperationOnScriptFailure?: boolean;
|
|
534
|
+
ExecuteOperationOnScriptFailure?: boolean | undefined;
|
|
535
535
|
/**
|
|
536
536
|
* <p>Specifies a timeout period, in seconds, after which Amazon Data Lifecycle Manager fails the script
|
|
537
537
|
* run attempt if it has not completed. If a script does not complete within its
|
|
@@ -541,7 +541,7 @@ export interface Script {
|
|
|
541
541
|
* <p>Default: 10</p>
|
|
542
542
|
* @public
|
|
543
543
|
*/
|
|
544
|
-
ExecutionTimeout?: number;
|
|
544
|
+
ExecutionTimeout?: number | undefined;
|
|
545
545
|
/**
|
|
546
546
|
* <p>Specifies the number of times Amazon Data Lifecycle Manager should retry scripts that fail.</p>
|
|
547
547
|
* <ul>
|
|
@@ -559,7 +559,7 @@ export interface Script {
|
|
|
559
559
|
* <p>Default: 0</p>
|
|
560
560
|
* @public
|
|
561
561
|
*/
|
|
562
|
-
MaximumRetryCount?: number;
|
|
562
|
+
MaximumRetryCount?: number | undefined;
|
|
563
563
|
}
|
|
564
564
|
/**
|
|
565
565
|
* <p>
|
|
@@ -593,31 +593,31 @@ export interface CreateRule {
|
|
|
593
593
|
* the Region of that Outpost.</p>
|
|
594
594
|
* @public
|
|
595
595
|
*/
|
|
596
|
-
Location?: LocationValues;
|
|
596
|
+
Location?: LocationValues | undefined;
|
|
597
597
|
/**
|
|
598
598
|
* <p>The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.</p>
|
|
599
599
|
* @public
|
|
600
600
|
*/
|
|
601
|
-
Interval?: number;
|
|
601
|
+
Interval?: number | undefined;
|
|
602
602
|
/**
|
|
603
603
|
* <p>The interval unit.</p>
|
|
604
604
|
* @public
|
|
605
605
|
*/
|
|
606
|
-
IntervalUnit?: IntervalUnitValues;
|
|
606
|
+
IntervalUnit?: IntervalUnitValues | undefined;
|
|
607
607
|
/**
|
|
608
608
|
* <p>The time, in UTC, to start the operation. The supported format is hh:mm.</p>
|
|
609
609
|
* <p>The operation occurs within a one-hour window following the specified time. If you do
|
|
610
610
|
* not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.</p>
|
|
611
611
|
* @public
|
|
612
612
|
*/
|
|
613
|
-
Times?: string[];
|
|
613
|
+
Times?: string[] | undefined;
|
|
614
614
|
/**
|
|
615
615
|
* <p>The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1
|
|
616
616
|
* year. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron
|
|
617
617
|
* expressions</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
618
618
|
* @public
|
|
619
619
|
*/
|
|
620
|
-
CronExpression?: string;
|
|
620
|
+
CronExpression?: string | undefined;
|
|
621
621
|
/**
|
|
622
622
|
* <p>
|
|
623
623
|
* <b>[Custom snapshot policies that target instances only]</b> Specifies pre and/or post scripts for a snapshot lifecycle policy
|
|
@@ -627,7 +627,7 @@ export interface CreateRule {
|
|
|
627
627
|
* application-consistent snapshots with pre and post scripts</a>.</p>
|
|
628
628
|
* @public
|
|
629
629
|
*/
|
|
630
|
-
Scripts?: Script[];
|
|
630
|
+
Scripts?: Script[] | undefined;
|
|
631
631
|
}
|
|
632
632
|
/**
|
|
633
633
|
* <p>
|
|
@@ -641,14 +641,14 @@ export interface CrossRegionCopyDeprecateRule {
|
|
|
641
641
|
* equivalent to 120 months, 520 weeks, or 3650 days.</p>
|
|
642
642
|
* @public
|
|
643
643
|
*/
|
|
644
|
-
Interval?: number;
|
|
644
|
+
Interval?: number | undefined;
|
|
645
645
|
/**
|
|
646
646
|
* <p>The unit of time in which to measure the <b>Interval</b>. For example,
|
|
647
647
|
* to deprecate a cross-Region AMI copy after 3 months, specify <code>Interval=3</code> and
|
|
648
648
|
* <code>IntervalUnit=MONTHS</code>.</p>
|
|
649
649
|
* @public
|
|
650
650
|
*/
|
|
651
|
-
IntervalUnit?: RetentionIntervalUnitValues;
|
|
651
|
+
IntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
652
652
|
}
|
|
653
653
|
/**
|
|
654
654
|
* <p>
|
|
@@ -674,7 +674,7 @@ export interface CrossRegionCopyRule {
|
|
|
674
674
|
* snapshot copies.</p>
|
|
675
675
|
* @public
|
|
676
676
|
*/
|
|
677
|
-
TargetRegion?: string;
|
|
677
|
+
TargetRegion?: string | undefined;
|
|
678
678
|
/**
|
|
679
679
|
* <note>
|
|
680
680
|
* <p>Use this parameter for snapshot policies only. For AMI policies, use
|
|
@@ -685,7 +685,7 @@ export interface CrossRegionCopyRule {
|
|
|
685
685
|
* snapshot copies.</p>
|
|
686
686
|
* @public
|
|
687
687
|
*/
|
|
688
|
-
Target?: string;
|
|
688
|
+
Target?: string | undefined;
|
|
689
689
|
/**
|
|
690
690
|
* <p>To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled,
|
|
691
691
|
* enable encryption using this parameter. Copies of encrypted snapshots are encrypted,
|
|
@@ -698,25 +698,25 @@ export interface CrossRegionCopyRule {
|
|
|
698
698
|
* parameter is not specified, the default KMS key for the account is used.</p>
|
|
699
699
|
* @public
|
|
700
700
|
*/
|
|
701
|
-
CmkArn?: string;
|
|
701
|
+
CmkArn?: string | undefined;
|
|
702
702
|
/**
|
|
703
703
|
* <p>Indicates whether to copy all user-defined tags from the source snapshot or AMI to the
|
|
704
704
|
* cross-Region copy.</p>
|
|
705
705
|
* @public
|
|
706
706
|
*/
|
|
707
|
-
CopyTags?: boolean;
|
|
707
|
+
CopyTags?: boolean | undefined;
|
|
708
708
|
/**
|
|
709
709
|
* <p>The retention rule that indicates how long the cross-Region snapshot or AMI copies are
|
|
710
710
|
* to be retained in the destination Region.</p>
|
|
711
711
|
* @public
|
|
712
712
|
*/
|
|
713
|
-
RetainRule?: CrossRegionCopyRetainRule;
|
|
713
|
+
RetainRule?: CrossRegionCopyRetainRule | undefined;
|
|
714
714
|
/**
|
|
715
715
|
* <p>
|
|
716
716
|
* <b>[Custom AMI policies only]</b> The AMI deprecation rule for cross-Region AMI copies created by the rule.</p>
|
|
717
717
|
* @public
|
|
718
718
|
*/
|
|
719
|
-
DeprecateRule?: CrossRegionCopyDeprecateRule;
|
|
719
|
+
DeprecateRule?: CrossRegionCopyDeprecateRule | undefined;
|
|
720
720
|
}
|
|
721
721
|
/**
|
|
722
722
|
* <p>
|
|
@@ -733,7 +733,7 @@ export interface DeprecateRule {
|
|
|
733
733
|
* can't be greater than 1000.</p>
|
|
734
734
|
* @public
|
|
735
735
|
*/
|
|
736
|
-
Count?: number;
|
|
736
|
+
Count?: number | undefined;
|
|
737
737
|
/**
|
|
738
738
|
* <p>If the schedule has an age-based retention rule, this parameter specifies the period after which
|
|
739
739
|
* to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's
|
|
@@ -741,12 +741,12 @@ export interface DeprecateRule {
|
|
|
741
741
|
* weeks, or 3650 days.</p>
|
|
742
742
|
* @public
|
|
743
743
|
*/
|
|
744
|
-
Interval?: number;
|
|
744
|
+
Interval?: number | undefined;
|
|
745
745
|
/**
|
|
746
746
|
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
|
|
747
747
|
* @public
|
|
748
748
|
*/
|
|
749
|
-
IntervalUnit?: RetentionIntervalUnitValues;
|
|
749
|
+
IntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
750
750
|
}
|
|
751
751
|
/**
|
|
752
752
|
* <p>
|
|
@@ -760,18 +760,18 @@ export interface FastRestoreRule {
|
|
|
760
760
|
* <p>The number of snapshots to be enabled with fast snapshot restore.</p>
|
|
761
761
|
* @public
|
|
762
762
|
*/
|
|
763
|
-
Count?: number;
|
|
763
|
+
Count?: number | undefined;
|
|
764
764
|
/**
|
|
765
765
|
* <p>The amount of time to enable fast snapshot restore. The maximum is 100 years. This is
|
|
766
766
|
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
|
|
767
767
|
* @public
|
|
768
768
|
*/
|
|
769
|
-
Interval?: number;
|
|
769
|
+
Interval?: number | undefined;
|
|
770
770
|
/**
|
|
771
771
|
* <p>The unit of time for enabling fast snapshot restore.</p>
|
|
772
772
|
* @public
|
|
773
773
|
*/
|
|
774
|
-
IntervalUnit?: RetentionIntervalUnitValues;
|
|
774
|
+
IntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
775
775
|
/**
|
|
776
776
|
* <p>The Availability Zones in which to enable fast snapshot restore.</p>
|
|
777
777
|
* @public
|
|
@@ -825,13 +825,13 @@ export interface RetainRule {
|
|
|
825
825
|
* <a href="https://docs.aws.amazon.com/dlm/latest/APIReference/API_ArchiveRule.html">ArchiveRule</a>.</p>
|
|
826
826
|
* @public
|
|
827
827
|
*/
|
|
828
|
-
Count?: number;
|
|
828
|
+
Count?: number | undefined;
|
|
829
829
|
/**
|
|
830
830
|
* <p>The amount of time to retain each snapshot. The maximum is 100 years. This is
|
|
831
831
|
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
|
|
832
832
|
* @public
|
|
833
833
|
*/
|
|
834
|
-
Interval?: number;
|
|
834
|
+
Interval?: number | undefined;
|
|
835
835
|
/**
|
|
836
836
|
* <p>The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify
|
|
837
837
|
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>. Once the snapshot has been retained for
|
|
@@ -839,7 +839,7 @@ export interface RetainRule {
|
|
|
839
839
|
* <a href="https://docs.aws.amazon.com/dlm/latest/APIReference/API_ArchiveRule.html">ArchiveRule</a>.</p>
|
|
840
840
|
* @public
|
|
841
841
|
*/
|
|
842
|
-
IntervalUnit?: RetentionIntervalUnitValues;
|
|
842
|
+
IntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
843
843
|
}
|
|
844
844
|
/**
|
|
845
845
|
* <p>
|
|
@@ -856,12 +856,12 @@ export interface ShareRule {
|
|
|
856
856
|
* <p>The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.</p>
|
|
857
857
|
* @public
|
|
858
858
|
*/
|
|
859
|
-
UnshareInterval?: number;
|
|
859
|
+
UnshareInterval?: number | undefined;
|
|
860
860
|
/**
|
|
861
861
|
* <p>The unit of time for the automatic unsharing interval.</p>
|
|
862
862
|
* @public
|
|
863
863
|
*/
|
|
864
|
-
UnshareIntervalUnit?: RetentionIntervalUnitValues;
|
|
864
|
+
UnshareIntervalUnit?: RetentionIntervalUnitValues | undefined;
|
|
865
865
|
}
|
|
866
866
|
/**
|
|
867
867
|
* <p>
|
|
@@ -873,19 +873,19 @@ export interface Schedule {
|
|
|
873
873
|
* <p>The name of the schedule.</p>
|
|
874
874
|
* @public
|
|
875
875
|
*/
|
|
876
|
-
Name?: string;
|
|
876
|
+
Name?: string | undefined;
|
|
877
877
|
/**
|
|
878
878
|
* <p>Copy all user-defined tags on a source volume to snapshots of the volume created by
|
|
879
879
|
* this policy.</p>
|
|
880
880
|
* @public
|
|
881
881
|
*/
|
|
882
|
-
CopyTags?: boolean;
|
|
882
|
+
CopyTags?: boolean | undefined;
|
|
883
883
|
/**
|
|
884
884
|
* <p>The tags to apply to policy-created resources. These user-defined tags are in addition
|
|
885
885
|
* to the Amazon Web Services-added lifecycle tags.</p>
|
|
886
886
|
* @public
|
|
887
887
|
*/
|
|
888
|
-
TagsToAdd?: Tag[];
|
|
888
|
+
TagsToAdd?: Tag[] | undefined;
|
|
889
889
|
/**
|
|
890
890
|
* <p>
|
|
891
891
|
* <b>[AMI policies and snapshot policies that target instances only]</b>
|
|
@@ -895,23 +895,23 @@ export interface Schedule {
|
|
|
895
895
|
* tags are only valid for EBS Snapshot Management – Instance policies.</p>
|
|
896
896
|
* @public
|
|
897
897
|
*/
|
|
898
|
-
VariableTags?: Tag[];
|
|
898
|
+
VariableTags?: Tag[] | undefined;
|
|
899
899
|
/**
|
|
900
900
|
* <p>The creation rule.</p>
|
|
901
901
|
* @public
|
|
902
902
|
*/
|
|
903
|
-
CreateRule?: CreateRule;
|
|
903
|
+
CreateRule?: CreateRule | undefined;
|
|
904
904
|
/**
|
|
905
905
|
* <p>The retention rule for snapshots or AMIs created by the policy.</p>
|
|
906
906
|
* @public
|
|
907
907
|
*/
|
|
908
|
-
RetainRule?: RetainRule;
|
|
908
|
+
RetainRule?: RetainRule | undefined;
|
|
909
909
|
/**
|
|
910
910
|
* <p>
|
|
911
911
|
* <b>[Custom snapshot policies only]</b> The rule for enabling fast snapshot restore.</p>
|
|
912
912
|
* @public
|
|
913
913
|
*/
|
|
914
|
-
FastRestoreRule?: FastRestoreRule;
|
|
914
|
+
FastRestoreRule?: FastRestoreRule | undefined;
|
|
915
915
|
/**
|
|
916
916
|
* <p>Specifies a rule for copying snapshots or AMIs across regions.</p>
|
|
917
917
|
* <note>
|
|
@@ -921,19 +921,19 @@ export interface Schedule {
|
|
|
921
921
|
* </note>
|
|
922
922
|
* @public
|
|
923
923
|
*/
|
|
924
|
-
CrossRegionCopyRules?: CrossRegionCopyRule[];
|
|
924
|
+
CrossRegionCopyRules?: CrossRegionCopyRule[] | undefined;
|
|
925
925
|
/**
|
|
926
926
|
* <p>
|
|
927
927
|
* <b>[Custom snapshot policies only]</b> The rule for sharing snapshots with other Amazon Web Services accounts.</p>
|
|
928
928
|
* @public
|
|
929
929
|
*/
|
|
930
|
-
ShareRules?: ShareRule[];
|
|
930
|
+
ShareRules?: ShareRule[] | undefined;
|
|
931
931
|
/**
|
|
932
932
|
* <p>
|
|
933
933
|
* <b>[Custom AMI policies only]</b> The AMI deprecation rule for the schedule.</p>
|
|
934
934
|
* @public
|
|
935
935
|
*/
|
|
936
|
-
DeprecateRule?: DeprecateRule;
|
|
936
|
+
DeprecateRule?: DeprecateRule | undefined;
|
|
937
937
|
/**
|
|
938
938
|
* <p>
|
|
939
939
|
* <b>[Custom snapshot policies that target volumes only]</b> The snapshot archiving rule for the schedule. When you specify an archiving
|
|
@@ -944,7 +944,7 @@ export interface Schedule {
|
|
|
944
944
|
* snapshot lifecycle policies</a>.</p>
|
|
945
945
|
* @public
|
|
946
946
|
*/
|
|
947
|
-
ArchiveRule?: ArchiveRule;
|
|
947
|
+
ArchiveRule?: ArchiveRule | undefined;
|
|
948
948
|
}
|
|
949
949
|
/**
|
|
950
950
|
* <p>Specifies the configuration of a lifecycle policy.</p>
|
|
@@ -960,7 +960,7 @@ export interface PolicyDetails {
|
|
|
960
960
|
* <p>The default is <code>EBS_SNAPSHOT_MANAGEMENT</code>.</p>
|
|
961
961
|
* @public
|
|
962
962
|
*/
|
|
963
|
-
PolicyType?: PolicyTypeValues;
|
|
963
|
+
PolicyType?: PolicyTypeValues | undefined;
|
|
964
964
|
/**
|
|
965
965
|
* <p>
|
|
966
966
|
* <b>[Custom snapshot policies only]</b> The target resource type for snapshot and AMI lifecycle policies. Use <code>VOLUME </code>to
|
|
@@ -968,7 +968,7 @@ export interface PolicyDetails {
|
|
|
968
968
|
* snapshots from the volumes for an instance.</p>
|
|
969
969
|
* @public
|
|
970
970
|
*/
|
|
971
|
-
ResourceTypes?: ResourceTypeValues[];
|
|
971
|
+
ResourceTypes?: ResourceTypeValues[] | undefined;
|
|
972
972
|
/**
|
|
973
973
|
* <p>
|
|
974
974
|
* <b>[Custom snapshot and AMI policies only]</b> The location of the resources to backup. If the source resources are located in an
|
|
@@ -978,20 +978,20 @@ export interface PolicyDetails {
|
|
|
978
978
|
* of the specified type with matching target tags across all of the Outposts in your account.</p>
|
|
979
979
|
* @public
|
|
980
980
|
*/
|
|
981
|
-
ResourceLocations?: ResourceLocationValues[];
|
|
981
|
+
ResourceLocations?: ResourceLocationValues[] | undefined;
|
|
982
982
|
/**
|
|
983
983
|
* <p>
|
|
984
984
|
* <b>[Custom snapshot and AMI policies only]</b> The single tag that identifies targeted resources for this policy.</p>
|
|
985
985
|
* @public
|
|
986
986
|
*/
|
|
987
|
-
TargetTags?: Tag[];
|
|
987
|
+
TargetTags?: Tag[] | undefined;
|
|
988
988
|
/**
|
|
989
989
|
* <p>
|
|
990
990
|
* <b>[Custom snapshot and AMI policies only]</b> The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy
|
|
991
991
|
* can have up to four schedules—one mandatory schedule and up to three optional schedules.</p>
|
|
992
992
|
* @public
|
|
993
993
|
*/
|
|
994
|
-
Schedules?: Schedule[];
|
|
994
|
+
Schedules?: Schedule[] | undefined;
|
|
995
995
|
/**
|
|
996
996
|
* <p>
|
|
997
997
|
* <b>[Custom snapshot and AMI policies only]</b> A set of optional parameters for snapshot and AMI lifecycle policies. </p>
|
|
@@ -1003,20 +1003,20 @@ export interface PolicyDetails {
|
|
|
1003
1003
|
* </note>
|
|
1004
1004
|
* @public
|
|
1005
1005
|
*/
|
|
1006
|
-
Parameters?: _Parameters;
|
|
1006
|
+
Parameters?: _Parameters | undefined;
|
|
1007
1007
|
/**
|
|
1008
1008
|
* <p>
|
|
1009
1009
|
* <b>[Event-based policies only]</b> The event that activates the event-based policy.</p>
|
|
1010
1010
|
* @public
|
|
1011
1011
|
*/
|
|
1012
|
-
EventSource?: EventSource;
|
|
1012
|
+
EventSource?: EventSource | undefined;
|
|
1013
1013
|
/**
|
|
1014
1014
|
* <p>
|
|
1015
1015
|
* <b>[Event-based policies only]</b> The actions to be performed when the event-based policy is activated. You can specify
|
|
1016
1016
|
* only one action per policy.</p>
|
|
1017
1017
|
* @public
|
|
1018
1018
|
*/
|
|
1019
|
-
Actions?: Action[];
|
|
1019
|
+
Actions?: Action[] | undefined;
|
|
1020
1020
|
/**
|
|
1021
1021
|
* <p>The type of policy to create. Specify one of the following:</p>
|
|
1022
1022
|
* <ul>
|
|
@@ -1031,7 +1031,7 @@ export interface PolicyDetails {
|
|
|
1031
1031
|
* </ul>
|
|
1032
1032
|
* @public
|
|
1033
1033
|
*/
|
|
1034
|
-
PolicyLanguage?: PolicyLanguageValues;
|
|
1034
|
+
PolicyLanguage?: PolicyLanguageValues | undefined;
|
|
1035
1035
|
/**
|
|
1036
1036
|
* <p>
|
|
1037
1037
|
* <b>[Default policies only]</b> Specify the type of default policy to create.</p>
|
|
@@ -1048,7 +1048,7 @@ export interface PolicyDetails {
|
|
|
1048
1048
|
* </ul>
|
|
1049
1049
|
* @public
|
|
1050
1050
|
*/
|
|
1051
|
-
ResourceType?: ResourceTypeValues;
|
|
1051
|
+
ResourceType?: ResourceTypeValues | undefined;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* <p>
|
|
1054
1054
|
* <b>[Default policies only]</b> Specifies how often the policy should run and create snapshots or AMIs.
|
|
@@ -1057,7 +1057,7 @@ export interface PolicyDetails {
|
|
|
1057
1057
|
* <p>Default: 1</p>
|
|
1058
1058
|
* @public
|
|
1059
1059
|
*/
|
|
1060
|
-
CreateInterval?: number;
|
|
1060
|
+
CreateInterval?: number | undefined;
|
|
1061
1061
|
/**
|
|
1062
1062
|
* <p>
|
|
1063
1063
|
* <b>[Default policies only]</b> Specifies how long the policy should retain snapshots or AMIs before
|
|
@@ -1067,7 +1067,7 @@ export interface PolicyDetails {
|
|
|
1067
1067
|
* <p>Default: 7</p>
|
|
1068
1068
|
* @public
|
|
1069
1069
|
*/
|
|
1070
|
-
RetainInterval?: number;
|
|
1070
|
+
RetainInterval?: number | undefined;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* <p>
|
|
1073
1073
|
* <b>[Default policies only]</b> Indicates whether the policy should copy tags from the source resource
|
|
@@ -1075,7 +1075,7 @@ export interface PolicyDetails {
|
|
|
1075
1075
|
* <p>Default: false</p>
|
|
1076
1076
|
* @public
|
|
1077
1077
|
*/
|
|
1078
|
-
CopyTags?: boolean;
|
|
1078
|
+
CopyTags?: boolean | undefined;
|
|
1079
1079
|
/**
|
|
1080
1080
|
* <p>
|
|
1081
1081
|
* <b>[Default policies only]</b> Specifies destination Regions for snapshot or AMI copies. You can specify
|
|
@@ -1083,7 +1083,7 @@ export interface PolicyDetails {
|
|
|
1083
1083
|
* parameter.</p>
|
|
1084
1084
|
* @public
|
|
1085
1085
|
*/
|
|
1086
|
-
CrossRegionCopyTargets?: CrossRegionCopyTarget[];
|
|
1086
|
+
CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
|
|
1087
1087
|
/**
|
|
1088
1088
|
* <p>
|
|
1089
1089
|
* <b>[Default policies only]</b> Defines the snapshot or AMI retention behavior for the policy if the
|
|
@@ -1110,7 +1110,7 @@ export interface PolicyDetails {
|
|
|
1110
1110
|
* <p>Default: false</p>
|
|
1111
1111
|
* @public
|
|
1112
1112
|
*/
|
|
1113
|
-
ExtendDeletion?: boolean;
|
|
1113
|
+
ExtendDeletion?: boolean | undefined;
|
|
1114
1114
|
/**
|
|
1115
1115
|
* <p>
|
|
1116
1116
|
* <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
|
|
@@ -1118,7 +1118,7 @@ export interface PolicyDetails {
|
|
|
1118
1118
|
* for target resources that match any of the specified exclusion parameters.</p>
|
|
1119
1119
|
* @public
|
|
1120
1120
|
*/
|
|
1121
|
-
Exclusions?: Exclusions;
|
|
1121
|
+
Exclusions?: Exclusions | undefined;
|
|
1122
1122
|
}
|
|
1123
1123
|
/**
|
|
1124
1124
|
* @public
|
|
@@ -1161,12 +1161,12 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1161
1161
|
* </important>
|
|
1162
1162
|
* @public
|
|
1163
1163
|
*/
|
|
1164
|
-
PolicyDetails?: PolicyDetails;
|
|
1164
|
+
PolicyDetails?: PolicyDetails | undefined;
|
|
1165
1165
|
/**
|
|
1166
1166
|
* <p>The tags to apply to the lifecycle policy during creation.</p>
|
|
1167
1167
|
* @public
|
|
1168
1168
|
*/
|
|
1169
|
-
Tags?: Record<string, string
|
|
1169
|
+
Tags?: Record<string, string> | undefined;
|
|
1170
1170
|
/**
|
|
1171
1171
|
* <p>
|
|
1172
1172
|
* <b>[Default policies only]</b> Specify the type of default policy to create.</p>
|
|
@@ -1183,7 +1183,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1183
1183
|
* </ul>
|
|
1184
1184
|
* @public
|
|
1185
1185
|
*/
|
|
1186
|
-
DefaultPolicy?: DefaultPolicyTypeValues;
|
|
1186
|
+
DefaultPolicy?: DefaultPolicyTypeValues | undefined;
|
|
1187
1187
|
/**
|
|
1188
1188
|
* <p>
|
|
1189
1189
|
* <b>[Default policies only]</b> Specifies how often the policy should run and create snapshots or AMIs.
|
|
@@ -1192,7 +1192,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1192
1192
|
* <p>Default: 1</p>
|
|
1193
1193
|
* @public
|
|
1194
1194
|
*/
|
|
1195
|
-
CreateInterval?: number;
|
|
1195
|
+
CreateInterval?: number | undefined;
|
|
1196
1196
|
/**
|
|
1197
1197
|
* <p>
|
|
1198
1198
|
* <b>[Default policies only]</b> Specifies how long the policy should retain snapshots or AMIs before
|
|
@@ -1202,7 +1202,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1202
1202
|
* <p>Default: 7</p>
|
|
1203
1203
|
* @public
|
|
1204
1204
|
*/
|
|
1205
|
-
RetainInterval?: number;
|
|
1205
|
+
RetainInterval?: number | undefined;
|
|
1206
1206
|
/**
|
|
1207
1207
|
* <p>
|
|
1208
1208
|
* <b>[Default policies only]</b> Indicates whether the policy should copy tags from the source resource
|
|
@@ -1210,7 +1210,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1210
1210
|
* <p>Default: false</p>
|
|
1211
1211
|
* @public
|
|
1212
1212
|
*/
|
|
1213
|
-
CopyTags?: boolean;
|
|
1213
|
+
CopyTags?: boolean | undefined;
|
|
1214
1214
|
/**
|
|
1215
1215
|
* <p>
|
|
1216
1216
|
* <b>[Default policies only]</b> Defines the snapshot or AMI retention behavior for the policy if the
|
|
@@ -1237,7 +1237,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1237
1237
|
* <p>Default: false</p>
|
|
1238
1238
|
* @public
|
|
1239
1239
|
*/
|
|
1240
|
-
ExtendDeletion?: boolean;
|
|
1240
|
+
ExtendDeletion?: boolean | undefined;
|
|
1241
1241
|
/**
|
|
1242
1242
|
* <p>
|
|
1243
1243
|
* <b>[Default policies only]</b> Specifies destination Regions for snapshot or AMI copies. You can specify
|
|
@@ -1245,7 +1245,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1245
1245
|
* parameter.</p>
|
|
1246
1246
|
* @public
|
|
1247
1247
|
*/
|
|
1248
|
-
CrossRegionCopyTargets?: CrossRegionCopyTarget[];
|
|
1248
|
+
CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
|
|
1249
1249
|
/**
|
|
1250
1250
|
* <p>
|
|
1251
1251
|
* <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
|
|
@@ -1253,7 +1253,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
1253
1253
|
* for target resources that match any of the specified exclusion parameters.</p>
|
|
1254
1254
|
* @public
|
|
1255
1255
|
*/
|
|
1256
|
-
Exclusions?: Exclusions;
|
|
1256
|
+
Exclusions?: Exclusions | undefined;
|
|
1257
1257
|
}
|
|
1258
1258
|
/**
|
|
1259
1259
|
* @public
|
|
@@ -1263,7 +1263,7 @@ export interface CreateLifecyclePolicyResponse {
|
|
|
1263
1263
|
* <p>The identifier of the lifecycle policy.</p>
|
|
1264
1264
|
* @public
|
|
1265
1265
|
*/
|
|
1266
|
-
PolicyId?: string;
|
|
1266
|
+
PolicyId?: string | undefined;
|
|
1267
1267
|
}
|
|
1268
1268
|
/**
|
|
1269
1269
|
* <p>The service failed in an unexpected way.</p>
|
|
@@ -1272,8 +1272,8 @@ export interface CreateLifecyclePolicyResponse {
|
|
|
1272
1272
|
export declare class InternalServerException extends __BaseException {
|
|
1273
1273
|
readonly name: "InternalServerException";
|
|
1274
1274
|
readonly $fault: "server";
|
|
1275
|
-
Message?: string;
|
|
1276
|
-
Code?: string;
|
|
1275
|
+
Message?: string | undefined;
|
|
1276
|
+
Code?: string | undefined;
|
|
1277
1277
|
/**
|
|
1278
1278
|
* @internal
|
|
1279
1279
|
*/
|
|
@@ -1287,18 +1287,18 @@ export declare class InternalServerException extends __BaseException {
|
|
|
1287
1287
|
export declare class InvalidRequestException extends __BaseException {
|
|
1288
1288
|
readonly name: "InvalidRequestException";
|
|
1289
1289
|
readonly $fault: "client";
|
|
1290
|
-
Message?: string;
|
|
1291
|
-
Code?: string;
|
|
1290
|
+
Message?: string | undefined;
|
|
1291
|
+
Code?: string | undefined;
|
|
1292
1292
|
/**
|
|
1293
1293
|
* <p>The request omitted one or more required parameters.</p>
|
|
1294
1294
|
* @public
|
|
1295
1295
|
*/
|
|
1296
|
-
RequiredParameters?: string[];
|
|
1296
|
+
RequiredParameters?: string[] | undefined;
|
|
1297
1297
|
/**
|
|
1298
1298
|
* <p>The request included parameters that cannot be provided together.</p>
|
|
1299
1299
|
* @public
|
|
1300
1300
|
*/
|
|
1301
|
-
MutuallyExclusiveParameters?: string[];
|
|
1301
|
+
MutuallyExclusiveParameters?: string[] | undefined;
|
|
1302
1302
|
/**
|
|
1303
1303
|
* @internal
|
|
1304
1304
|
*/
|
|
@@ -1311,13 +1311,13 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
1311
1311
|
export declare class LimitExceededException extends __BaseException {
|
|
1312
1312
|
readonly name: "LimitExceededException";
|
|
1313
1313
|
readonly $fault: "client";
|
|
1314
|
-
Message?: string;
|
|
1315
|
-
Code?: string;
|
|
1314
|
+
Message?: string | undefined;
|
|
1315
|
+
Code?: string | undefined;
|
|
1316
1316
|
/**
|
|
1317
1317
|
* <p>Value is the type of resource for which a limit was exceeded.</p>
|
|
1318
1318
|
* @public
|
|
1319
1319
|
*/
|
|
1320
|
-
ResourceType?: string;
|
|
1320
|
+
ResourceType?: string | undefined;
|
|
1321
1321
|
/**
|
|
1322
1322
|
* @internal
|
|
1323
1323
|
*/
|
|
@@ -1358,18 +1358,18 @@ export interface DeleteLifecyclePolicyResponse {
|
|
|
1358
1358
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
1359
1359
|
readonly name: "ResourceNotFoundException";
|
|
1360
1360
|
readonly $fault: "client";
|
|
1361
|
-
Message?: string;
|
|
1362
|
-
Code?: string;
|
|
1361
|
+
Message?: string | undefined;
|
|
1362
|
+
Code?: string | undefined;
|
|
1363
1363
|
/**
|
|
1364
1364
|
* <p>Value is the type of resource that was not found.</p>
|
|
1365
1365
|
* @public
|
|
1366
1366
|
*/
|
|
1367
|
-
ResourceType?: string;
|
|
1367
|
+
ResourceType?: string | undefined;
|
|
1368
1368
|
/**
|
|
1369
1369
|
* <p>Value is a list of resource IDs that were not found.</p>
|
|
1370
1370
|
* @public
|
|
1371
1371
|
*/
|
|
1372
|
-
ResourceIds?: string[];
|
|
1372
|
+
ResourceIds?: string[] | undefined;
|
|
1373
1373
|
/**
|
|
1374
1374
|
* @internal
|
|
1375
1375
|
*/
|
|
@@ -1396,30 +1396,30 @@ export interface GetLifecyclePoliciesRequest {
|
|
|
1396
1396
|
* <p>The identifiers of the data lifecycle policies.</p>
|
|
1397
1397
|
* @public
|
|
1398
1398
|
*/
|
|
1399
|
-
PolicyIds?: string[];
|
|
1399
|
+
PolicyIds?: string[] | undefined;
|
|
1400
1400
|
/**
|
|
1401
1401
|
* <p>The activation state.</p>
|
|
1402
1402
|
* @public
|
|
1403
1403
|
*/
|
|
1404
|
-
State?: GettablePolicyStateValues;
|
|
1404
|
+
State?: GettablePolicyStateValues | undefined;
|
|
1405
1405
|
/**
|
|
1406
1406
|
* <p>The resource type.</p>
|
|
1407
1407
|
* @public
|
|
1408
1408
|
*/
|
|
1409
|
-
ResourceTypes?: ResourceTypeValues[];
|
|
1409
|
+
ResourceTypes?: ResourceTypeValues[] | undefined;
|
|
1410
1410
|
/**
|
|
1411
1411
|
* <p>The target tag for a policy.</p>
|
|
1412
1412
|
* <p>Tags are strings in the format <code>key=value</code>.</p>
|
|
1413
1413
|
* @public
|
|
1414
1414
|
*/
|
|
1415
|
-
TargetTags?: string[];
|
|
1415
|
+
TargetTags?: string[] | undefined;
|
|
1416
1416
|
/**
|
|
1417
1417
|
* <p>The tags to add to objects created by the policy.</p>
|
|
1418
1418
|
* <p>Tags are strings in the format <code>key=value</code>.</p>
|
|
1419
1419
|
* <p>These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.</p>
|
|
1420
1420
|
* @public
|
|
1421
1421
|
*/
|
|
1422
|
-
TagsToAdd?: string[];
|
|
1422
|
+
TagsToAdd?: string[] | undefined;
|
|
1423
1423
|
/**
|
|
1424
1424
|
* <p>
|
|
1425
1425
|
* <b>[Default policies only]</b> Specifies the type of default policy to get. Specify one of the following:</p>
|
|
@@ -1439,7 +1439,7 @@ export interface GetLifecyclePoliciesRequest {
|
|
|
1439
1439
|
* </ul>
|
|
1440
1440
|
* @public
|
|
1441
1441
|
*/
|
|
1442
|
-
DefaultPolicyType?: DefaultPoliciesTypeValues;
|
|
1442
|
+
DefaultPolicyType?: DefaultPoliciesTypeValues | undefined;
|
|
1443
1443
|
}
|
|
1444
1444
|
/**
|
|
1445
1445
|
* <p>Summary information about a lifecycle policy.</p>
|
|
@@ -1450,22 +1450,22 @@ export interface LifecyclePolicySummary {
|
|
|
1450
1450
|
* <p>The identifier of the lifecycle policy.</p>
|
|
1451
1451
|
* @public
|
|
1452
1452
|
*/
|
|
1453
|
-
PolicyId?: string;
|
|
1453
|
+
PolicyId?: string | undefined;
|
|
1454
1454
|
/**
|
|
1455
1455
|
* <p>The description of the lifecycle policy.</p>
|
|
1456
1456
|
* @public
|
|
1457
1457
|
*/
|
|
1458
|
-
Description?: string;
|
|
1458
|
+
Description?: string | undefined;
|
|
1459
1459
|
/**
|
|
1460
1460
|
* <p>The activation state of the lifecycle policy.</p>
|
|
1461
1461
|
* @public
|
|
1462
1462
|
*/
|
|
1463
|
-
State?: GettablePolicyStateValues;
|
|
1463
|
+
State?: GettablePolicyStateValues | undefined;
|
|
1464
1464
|
/**
|
|
1465
1465
|
* <p>The tags.</p>
|
|
1466
1466
|
* @public
|
|
1467
1467
|
*/
|
|
1468
|
-
Tags?: Record<string, string
|
|
1468
|
+
Tags?: Record<string, string> | undefined;
|
|
1469
1469
|
/**
|
|
1470
1470
|
* <p>The type of policy. <code>EBS_SNAPSHOT_MANAGEMENT</code> indicates that the policy
|
|
1471
1471
|
* manages the lifecycle of Amazon EBS snapshots. <code>IMAGE_MANAGEMENT</code>
|
|
@@ -1474,7 +1474,7 @@ export interface LifecyclePolicySummary {
|
|
|
1474
1474
|
* snapshot copies for snapshots that are shared with your account.</p>
|
|
1475
1475
|
* @public
|
|
1476
1476
|
*/
|
|
1477
|
-
PolicyType?: PolicyTypeValues;
|
|
1477
|
+
PolicyType?: PolicyTypeValues | undefined;
|
|
1478
1478
|
/**
|
|
1479
1479
|
* <p>
|
|
1480
1480
|
* <b>[Default policies only]</b> The type of default policy. Values include:</p>
|
|
@@ -1490,7 +1490,7 @@ export interface LifecyclePolicySummary {
|
|
|
1490
1490
|
* </ul>
|
|
1491
1491
|
* @public
|
|
1492
1492
|
*/
|
|
1493
|
-
DefaultPolicy?: boolean;
|
|
1493
|
+
DefaultPolicy?: boolean | undefined;
|
|
1494
1494
|
}
|
|
1495
1495
|
/**
|
|
1496
1496
|
* @public
|
|
@@ -1500,7 +1500,7 @@ export interface GetLifecyclePoliciesResponse {
|
|
|
1500
1500
|
* <p>Summary information about the lifecycle policies.</p>
|
|
1501
1501
|
* @public
|
|
1502
1502
|
*/
|
|
1503
|
-
Policies?: LifecyclePolicySummary[];
|
|
1503
|
+
Policies?: LifecyclePolicySummary[] | undefined;
|
|
1504
1504
|
}
|
|
1505
1505
|
/**
|
|
1506
1506
|
* @public
|
|
@@ -1522,53 +1522,53 @@ export interface LifecyclePolicy {
|
|
|
1522
1522
|
* <p>The identifier of the lifecycle policy.</p>
|
|
1523
1523
|
* @public
|
|
1524
1524
|
*/
|
|
1525
|
-
PolicyId?: string;
|
|
1525
|
+
PolicyId?: string | undefined;
|
|
1526
1526
|
/**
|
|
1527
1527
|
* <p>The description of the lifecycle policy.</p>
|
|
1528
1528
|
* @public
|
|
1529
1529
|
*/
|
|
1530
|
-
Description?: string;
|
|
1530
|
+
Description?: string | undefined;
|
|
1531
1531
|
/**
|
|
1532
1532
|
* <p>The activation state of the lifecycle policy.</p>
|
|
1533
1533
|
* @public
|
|
1534
1534
|
*/
|
|
1535
|
-
State?: GettablePolicyStateValues;
|
|
1535
|
+
State?: GettablePolicyStateValues | undefined;
|
|
1536
1536
|
/**
|
|
1537
1537
|
* <p>The description of the status.</p>
|
|
1538
1538
|
* @public
|
|
1539
1539
|
*/
|
|
1540
|
-
StatusMessage?: string;
|
|
1540
|
+
StatusMessage?: string | undefined;
|
|
1541
1541
|
/**
|
|
1542
1542
|
* <p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by
|
|
1543
1543
|
* the lifecycle policy.</p>
|
|
1544
1544
|
* @public
|
|
1545
1545
|
*/
|
|
1546
|
-
ExecutionRoleArn?: string;
|
|
1546
|
+
ExecutionRoleArn?: string | undefined;
|
|
1547
1547
|
/**
|
|
1548
1548
|
* <p>The local date and time when the lifecycle policy was created.</p>
|
|
1549
1549
|
* @public
|
|
1550
1550
|
*/
|
|
1551
|
-
DateCreated?: Date;
|
|
1551
|
+
DateCreated?: Date | undefined;
|
|
1552
1552
|
/**
|
|
1553
1553
|
* <p>The local date and time when the lifecycle policy was last modified.</p>
|
|
1554
1554
|
* @public
|
|
1555
1555
|
*/
|
|
1556
|
-
DateModified?: Date;
|
|
1556
|
+
DateModified?: Date | undefined;
|
|
1557
1557
|
/**
|
|
1558
1558
|
* <p>The configuration of the lifecycle policy</p>
|
|
1559
1559
|
* @public
|
|
1560
1560
|
*/
|
|
1561
|
-
PolicyDetails?: PolicyDetails;
|
|
1561
|
+
PolicyDetails?: PolicyDetails | undefined;
|
|
1562
1562
|
/**
|
|
1563
1563
|
* <p>The tags.</p>
|
|
1564
1564
|
* @public
|
|
1565
1565
|
*/
|
|
1566
|
-
Tags?: Record<string, string
|
|
1566
|
+
Tags?: Record<string, string> | undefined;
|
|
1567
1567
|
/**
|
|
1568
1568
|
* <p>The Amazon Resource Name (ARN) of the policy.</p>
|
|
1569
1569
|
* @public
|
|
1570
1570
|
*/
|
|
1571
|
-
PolicyArn?: string;
|
|
1571
|
+
PolicyArn?: string | undefined;
|
|
1572
1572
|
/**
|
|
1573
1573
|
* <p>
|
|
1574
1574
|
* <b>[Default policies only]</b> The type of default policy. Values include:</p>
|
|
@@ -1584,7 +1584,7 @@ export interface LifecyclePolicy {
|
|
|
1584
1584
|
* </ul>
|
|
1585
1585
|
* @public
|
|
1586
1586
|
*/
|
|
1587
|
-
DefaultPolicy?: boolean;
|
|
1587
|
+
DefaultPolicy?: boolean | undefined;
|
|
1588
1588
|
}
|
|
1589
1589
|
/**
|
|
1590
1590
|
* @public
|
|
@@ -1594,7 +1594,7 @@ export interface GetLifecyclePolicyResponse {
|
|
|
1594
1594
|
* <p>Detailed information about the lifecycle policy.</p>
|
|
1595
1595
|
* @public
|
|
1596
1596
|
*/
|
|
1597
|
-
Policy?: LifecyclePolicy;
|
|
1597
|
+
Policy?: LifecyclePolicy | undefined;
|
|
1598
1598
|
}
|
|
1599
1599
|
/**
|
|
1600
1600
|
* @public
|
|
@@ -1614,7 +1614,7 @@ export interface ListTagsForResourceResponse {
|
|
|
1614
1614
|
* <p>Information about the tags.</p>
|
|
1615
1615
|
* @public
|
|
1616
1616
|
*/
|
|
1617
|
-
Tags?: Record<string, string
|
|
1617
|
+
Tags?: Record<string, string> | undefined;
|
|
1618
1618
|
}
|
|
1619
1619
|
/**
|
|
1620
1620
|
* @public
|
|
@@ -1670,30 +1670,30 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
1670
1670
|
* the lifecycle policy.</p>
|
|
1671
1671
|
* @public
|
|
1672
1672
|
*/
|
|
1673
|
-
ExecutionRoleArn?: string;
|
|
1673
|
+
ExecutionRoleArn?: string | undefined;
|
|
1674
1674
|
/**
|
|
1675
1675
|
* <p>The desired activation state of the lifecycle policy after creation.</p>
|
|
1676
1676
|
* @public
|
|
1677
1677
|
*/
|
|
1678
|
-
State?: SettablePolicyStateValues;
|
|
1678
|
+
State?: SettablePolicyStateValues | undefined;
|
|
1679
1679
|
/**
|
|
1680
1680
|
* <p>A description of the lifecycle policy.</p>
|
|
1681
1681
|
* @public
|
|
1682
1682
|
*/
|
|
1683
|
-
Description?: string;
|
|
1683
|
+
Description?: string | undefined;
|
|
1684
1684
|
/**
|
|
1685
1685
|
* <p>The configuration of the lifecycle policy. You cannot update the policy type or the
|
|
1686
1686
|
* resource type.</p>
|
|
1687
1687
|
* @public
|
|
1688
1688
|
*/
|
|
1689
|
-
PolicyDetails?: PolicyDetails;
|
|
1689
|
+
PolicyDetails?: PolicyDetails | undefined;
|
|
1690
1690
|
/**
|
|
1691
1691
|
* <p>
|
|
1692
1692
|
* <b>[Default policies only]</b> Specifies how often the policy should run and create snapshots or AMIs.
|
|
1693
1693
|
* The creation frequency can range from 1 to 7 days.</p>
|
|
1694
1694
|
* @public
|
|
1695
1695
|
*/
|
|
1696
|
-
CreateInterval?: number;
|
|
1696
|
+
CreateInterval?: number | undefined;
|
|
1697
1697
|
/**
|
|
1698
1698
|
* <p>
|
|
1699
1699
|
* <b>[Default policies only]</b> Specifies how long the policy should retain snapshots or AMIs before
|
|
@@ -1702,14 +1702,14 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
1702
1702
|
* AMI at any given time.</p>
|
|
1703
1703
|
* @public
|
|
1704
1704
|
*/
|
|
1705
|
-
RetainInterval?: number;
|
|
1705
|
+
RetainInterval?: number | undefined;
|
|
1706
1706
|
/**
|
|
1707
1707
|
* <p>
|
|
1708
1708
|
* <b>[Default policies only]</b> Indicates whether the policy should copy tags from the source resource
|
|
1709
1709
|
* to the snapshot or AMI.</p>
|
|
1710
1710
|
* @public
|
|
1711
1711
|
*/
|
|
1712
|
-
CopyTags?: boolean;
|
|
1712
|
+
CopyTags?: boolean | undefined;
|
|
1713
1713
|
/**
|
|
1714
1714
|
* <p>
|
|
1715
1715
|
* <b>[Default policies only]</b> Defines the snapshot or AMI retention behavior for the policy if the
|
|
@@ -1735,7 +1735,7 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
1735
1735
|
* <p>Default: false</p>
|
|
1736
1736
|
* @public
|
|
1737
1737
|
*/
|
|
1738
|
-
ExtendDeletion?: boolean;
|
|
1738
|
+
ExtendDeletion?: boolean | undefined;
|
|
1739
1739
|
/**
|
|
1740
1740
|
* <p>
|
|
1741
1741
|
* <b>[Default policies only]</b> Specifies destination Regions for snapshot or AMI copies. You can specify
|
|
@@ -1743,7 +1743,7 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
1743
1743
|
* parameter.</p>
|
|
1744
1744
|
* @public
|
|
1745
1745
|
*/
|
|
1746
|
-
CrossRegionCopyTargets?: CrossRegionCopyTarget[];
|
|
1746
|
+
CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
|
|
1747
1747
|
/**
|
|
1748
1748
|
* <p>
|
|
1749
1749
|
* <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
|
|
@@ -1751,7 +1751,7 @@ export interface UpdateLifecyclePolicyRequest {
|
|
|
1751
1751
|
* for target resources that match any of the specified exclusion parameters.</p>
|
|
1752
1752
|
* @public
|
|
1753
1753
|
*/
|
|
1754
|
-
Exclusions?: Exclusions;
|
|
1754
|
+
Exclusions?: Exclusions | undefined;
|
|
1755
1755
|
}
|
|
1756
1756
|
/**
|
|
1757
1757
|
* @public
|