@aws-sdk/client-dlm 3.379.1 → 3.382.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 +116 -0
- package/package.json +5 -5
|
@@ -8,12 +8,14 @@ import { DLMServiceException as __BaseException } from "./DLMServiceException";
|
|
|
8
8
|
*/
|
|
9
9
|
export interface EncryptionConfiguration {
|
|
10
10
|
/**
|
|
11
|
+
* @public
|
|
11
12
|
* <p>To encrypt a copy of an unencrypted snapshot when encryption by default is not enabled, enable
|
|
12
13
|
* encryption using this parameter. Copies of encrypted snapshots are encrypted, even if this
|
|
13
14
|
* parameter is false or when encryption by default is not enabled.</p>
|
|
14
15
|
*/
|
|
15
16
|
Encrypted: boolean | undefined;
|
|
16
17
|
/**
|
|
18
|
+
* @public
|
|
17
19
|
* <p>The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If
|
|
18
20
|
* this parameter is not specified, the default KMS key for the account is used.</p>
|
|
19
21
|
*/
|
|
@@ -41,11 +43,13 @@ export type RetentionIntervalUnitValues = (typeof RetentionIntervalUnitValues)[k
|
|
|
41
43
|
*/
|
|
42
44
|
export interface CrossRegionCopyRetainRule {
|
|
43
45
|
/**
|
|
46
|
+
* @public
|
|
44
47
|
* <p>The amount of time to retain a cross-Region snapshot or AMI copy. The maximum is 100 years.
|
|
45
48
|
* This is equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
|
|
46
49
|
*/
|
|
47
50
|
Interval?: number;
|
|
48
51
|
/**
|
|
52
|
+
* @public
|
|
49
53
|
* <p>The unit of time for time-based retention. For example, to retain a cross-Region copy for
|
|
50
54
|
* 3 months, specify <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>.</p>
|
|
51
55
|
*/
|
|
@@ -62,14 +66,17 @@ export interface CrossRegionCopyRetainRule {
|
|
|
62
66
|
*/
|
|
63
67
|
export interface CrossRegionCopyAction {
|
|
64
68
|
/**
|
|
69
|
+
* @public
|
|
65
70
|
* <p>The target Region.</p>
|
|
66
71
|
*/
|
|
67
72
|
Target: string | undefined;
|
|
68
73
|
/**
|
|
74
|
+
* @public
|
|
69
75
|
* <p>The encryption settings for the copied snapshot.</p>
|
|
70
76
|
*/
|
|
71
77
|
EncryptionConfiguration: EncryptionConfiguration | undefined;
|
|
72
78
|
/**
|
|
79
|
+
* @public
|
|
73
80
|
* <p>Specifies a retention rule for cross-Region snapshot copies created by snapshot or
|
|
74
81
|
* event-based policies, or cross-Region AMI copies created by AMI policies. After the
|
|
75
82
|
* retention period expires, the cross-Region copy is deleted.</p>
|
|
@@ -83,10 +90,12 @@ export interface CrossRegionCopyAction {
|
|
|
83
90
|
*/
|
|
84
91
|
export interface Action {
|
|
85
92
|
/**
|
|
93
|
+
* @public
|
|
86
94
|
* <p>A descriptive name for the action.</p>
|
|
87
95
|
*/
|
|
88
96
|
Name: string | undefined;
|
|
89
97
|
/**
|
|
98
|
+
* @public
|
|
90
99
|
* <p>The rule for copying shared snapshots across Regions.</p>
|
|
91
100
|
*/
|
|
92
101
|
CrossRegionCopy: CrossRegionCopyAction[] | undefined;
|
|
@@ -108,6 +117,7 @@ export interface Action {
|
|
|
108
117
|
*/
|
|
109
118
|
export interface RetentionArchiveTier {
|
|
110
119
|
/**
|
|
120
|
+
* @public
|
|
111
121
|
* <p>The maximum number of snapshots to retain in the archive storage tier for each volume.
|
|
112
122
|
* The count must ensure that each snapshot remains in the archive tier for at least
|
|
113
123
|
* 90 days. For example, if the schedule creates snapshots every 30 days, you must specify a
|
|
@@ -115,11 +125,13 @@ export interface RetentionArchiveTier {
|
|
|
115
125
|
*/
|
|
116
126
|
Count?: number;
|
|
117
127
|
/**
|
|
128
|
+
* @public
|
|
118
129
|
* <p>Specifies the period of time to retain snapshots in the archive tier. After this period
|
|
119
130
|
* expires, the snapshot is permanently deleted.</p>
|
|
120
131
|
*/
|
|
121
132
|
Interval?: number;
|
|
122
133
|
/**
|
|
134
|
+
* @public
|
|
123
135
|
* <p>The unit of time in which to measure the <b>Interval</b>. For
|
|
124
136
|
* example, to retain a snapshots in the archive tier for 6 months, specify <code>Interval=6</code>
|
|
125
137
|
* and <code>IntervalUnit=MONTHS</code>.</p>
|
|
@@ -133,6 +145,7 @@ export interface RetentionArchiveTier {
|
|
|
133
145
|
*/
|
|
134
146
|
export interface ArchiveRetainRule {
|
|
135
147
|
/**
|
|
148
|
+
* @public
|
|
136
149
|
* <p>Information about retention period in the Amazon EBS Snapshots Archive. For more information, see
|
|
137
150
|
* <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/snapshot-archive.html">Archive Amazon
|
|
138
151
|
* EBS snapshots</a>.</p>
|
|
@@ -146,6 +159,7 @@ export interface ArchiveRetainRule {
|
|
|
146
159
|
*/
|
|
147
160
|
export interface ArchiveRule {
|
|
148
161
|
/**
|
|
162
|
+
* @public
|
|
149
163
|
* <p>Information about the retention period for the snapshot archiving rule.</p>
|
|
150
164
|
*/
|
|
151
165
|
RetainRule: ArchiveRetainRule | undefined;
|
|
@@ -168,15 +182,18 @@ export type EventTypeValues = (typeof EventTypeValues)[keyof typeof EventTypeVal
|
|
|
168
182
|
*/
|
|
169
183
|
export interface EventParameters {
|
|
170
184
|
/**
|
|
185
|
+
* @public
|
|
171
186
|
* <p>The type of event. Currently, only snapshot sharing events are supported.</p>
|
|
172
187
|
*/
|
|
173
188
|
EventType: EventTypeValues | string | undefined;
|
|
174
189
|
/**
|
|
190
|
+
* @public
|
|
175
191
|
* <p>The IDs of the Amazon Web Services accounts that can trigger policy by sharing snapshots with your account.
|
|
176
192
|
* The policy only runs if one of the specified Amazon Web Services accounts shares a snapshot with your account.</p>
|
|
177
193
|
*/
|
|
178
194
|
SnapshotOwner: string[] | undefined;
|
|
179
195
|
/**
|
|
196
|
+
* @public
|
|
180
197
|
* <p>The snapshot description that can trigger the policy. The description pattern is specified using
|
|
181
198
|
* a regular expression. The policy runs only if a snapshot with a description that matches the
|
|
182
199
|
* specified pattern is shared with your account.</p>
|
|
@@ -204,10 +221,12 @@ export type EventSourceValues = (typeof EventSourceValues)[keyof typeof EventSou
|
|
|
204
221
|
*/
|
|
205
222
|
export interface EventSource {
|
|
206
223
|
/**
|
|
224
|
+
* @public
|
|
207
225
|
* <p>The source of the event. Currently only managed CloudWatch Events rules are supported.</p>
|
|
208
226
|
*/
|
|
209
227
|
Type: EventSourceValues | string | undefined;
|
|
210
228
|
/**
|
|
229
|
+
* @public
|
|
211
230
|
* <p>Information about the event.</p>
|
|
212
231
|
*/
|
|
213
232
|
Parameters?: EventParameters;
|
|
@@ -218,10 +237,12 @@ export interface EventSource {
|
|
|
218
237
|
*/
|
|
219
238
|
export interface Tag {
|
|
220
239
|
/**
|
|
240
|
+
* @public
|
|
221
241
|
* <p>The tag key.</p>
|
|
222
242
|
*/
|
|
223
243
|
Key: string | undefined;
|
|
224
244
|
/**
|
|
245
|
+
* @public
|
|
225
246
|
* <p>The tag value.</p>
|
|
226
247
|
*/
|
|
227
248
|
Value: string | undefined;
|
|
@@ -240,6 +261,7 @@ export interface Tag {
|
|
|
240
261
|
*/
|
|
241
262
|
export interface _Parameters {
|
|
242
263
|
/**
|
|
264
|
+
* @public
|
|
243
265
|
* <p>
|
|
244
266
|
* <b>[Snapshot policies that target instances only]</b> Indicates whether to exclude the root volume from multi-volume
|
|
245
267
|
* snapshot sets. The default is <code>false</code>. If you specify <code>true</code>,
|
|
@@ -248,6 +270,7 @@ export interface _Parameters {
|
|
|
248
270
|
*/
|
|
249
271
|
ExcludeBootVolume?: boolean;
|
|
250
272
|
/**
|
|
273
|
+
* @public
|
|
251
274
|
* <p>
|
|
252
275
|
* <b>[AMI policies only]</b> Indicates whether targeted instances are rebooted when the lifecycle policy
|
|
253
276
|
* runs. <code>true</code> indicates that targeted instances are not rebooted when the policy
|
|
@@ -256,6 +279,7 @@ export interface _Parameters {
|
|
|
256
279
|
*/
|
|
257
280
|
NoReboot?: boolean;
|
|
258
281
|
/**
|
|
282
|
+
* @public
|
|
259
283
|
* <p>
|
|
260
284
|
* <b>[Snapshot policies that target instances only]</b> The tags used to identify data (non-root) volumes to exclude from
|
|
261
285
|
* multi-volume snapshot sets.</p>
|
|
@@ -345,6 +369,7 @@ export type LocationValues = (typeof LocationValues)[keyof typeof LocationValues
|
|
|
345
369
|
*/
|
|
346
370
|
export interface CreateRule {
|
|
347
371
|
/**
|
|
372
|
+
* @public
|
|
348
373
|
* <p>
|
|
349
374
|
* <b>[Snapshot policies only]</b> Specifies the destination for snapshots created by the policy. To create
|
|
350
375
|
* snapshots in the same Region as the source resource, specify <code>CLOUD</code>. To create
|
|
@@ -357,20 +382,24 @@ export interface CreateRule {
|
|
|
357
382
|
*/
|
|
358
383
|
Location?: LocationValues | string;
|
|
359
384
|
/**
|
|
385
|
+
* @public
|
|
360
386
|
* <p>The interval between snapshots. The supported values are 1, 2, 3, 4, 6, 8, 12, and 24.</p>
|
|
361
387
|
*/
|
|
362
388
|
Interval?: number;
|
|
363
389
|
/**
|
|
390
|
+
* @public
|
|
364
391
|
* <p>The interval unit.</p>
|
|
365
392
|
*/
|
|
366
393
|
IntervalUnit?: IntervalUnitValues | string;
|
|
367
394
|
/**
|
|
395
|
+
* @public
|
|
368
396
|
* <p>The time, in UTC, to start the operation. The supported format is hh:mm.</p>
|
|
369
397
|
* <p>The operation occurs within a one-hour window following the specified time. If you do
|
|
370
398
|
* not specify a time, Amazon Data Lifecycle Manager selects a time within the next 24 hours.</p>
|
|
371
399
|
*/
|
|
372
400
|
Times?: string[];
|
|
373
401
|
/**
|
|
402
|
+
* @public
|
|
374
403
|
* <p>The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1
|
|
375
404
|
* year. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html#CronExpressions">Cron
|
|
376
405
|
* expressions</a> in the <i>Amazon CloudWatch User Guide</i>.</p>
|
|
@@ -384,12 +413,14 @@ export interface CreateRule {
|
|
|
384
413
|
*/
|
|
385
414
|
export interface CrossRegionCopyDeprecateRule {
|
|
386
415
|
/**
|
|
416
|
+
* @public
|
|
387
417
|
* <p>The period after which to deprecate the cross-Region AMI copies. The period must be less than or
|
|
388
418
|
* equal to the cross-Region AMI copy retention period, and it can't be greater than 10 years. This is
|
|
389
419
|
* equivalent to 120 months, 520 weeks, or 3650 days.</p>
|
|
390
420
|
*/
|
|
391
421
|
Interval?: number;
|
|
392
422
|
/**
|
|
423
|
+
* @public
|
|
393
424
|
* <p>The unit of time in which to measure the <b>Interval</b>. For example,
|
|
394
425
|
* to deprecate a cross-Region AMI copy after 3 months, specify <code>Interval=3</code> and
|
|
395
426
|
* <code>IntervalUnit=MONTHS</code>.</p>
|
|
@@ -407,6 +438,7 @@ export interface CrossRegionCopyDeprecateRule {
|
|
|
407
438
|
*/
|
|
408
439
|
export interface CrossRegionCopyRule {
|
|
409
440
|
/**
|
|
441
|
+
* @public
|
|
410
442
|
* <note>
|
|
411
443
|
* <p>Avoid using this parameter when creating new policies. Instead, use
|
|
412
444
|
* <b>Target</b> to specify a target Region or a target
|
|
@@ -417,6 +449,7 @@ export interface CrossRegionCopyRule {
|
|
|
417
449
|
*/
|
|
418
450
|
TargetRegion?: string;
|
|
419
451
|
/**
|
|
452
|
+
* @public
|
|
420
453
|
* <p>The target Region or the Amazon Resource Name (ARN) of the target Outpost for the
|
|
421
454
|
* snapshot copies.</p>
|
|
422
455
|
* <p>Use this parameter instead of <b>TargetRegion</b>. Do not
|
|
@@ -424,27 +457,32 @@ export interface CrossRegionCopyRule {
|
|
|
424
457
|
*/
|
|
425
458
|
Target?: string;
|
|
426
459
|
/**
|
|
460
|
+
* @public
|
|
427
461
|
* <p>To encrypt a copy of an unencrypted snapshot if encryption by default is not enabled,
|
|
428
462
|
* enable encryption using this parameter. Copies of encrypted snapshots are encrypted,
|
|
429
463
|
* even if this parameter is false or if encryption by default is not enabled.</p>
|
|
430
464
|
*/
|
|
431
465
|
Encrypted: boolean | undefined;
|
|
432
466
|
/**
|
|
467
|
+
* @public
|
|
433
468
|
* <p>The Amazon Resource Name (ARN) of the KMS key to use for EBS encryption. If this
|
|
434
469
|
* parameter is not specified, the default KMS key for the account is used.</p>
|
|
435
470
|
*/
|
|
436
471
|
CmkArn?: string;
|
|
437
472
|
/**
|
|
473
|
+
* @public
|
|
438
474
|
* <p>Indicates whether to copy all user-defined tags from the source snapshot or AMI to the
|
|
439
475
|
* cross-Region copy.</p>
|
|
440
476
|
*/
|
|
441
477
|
CopyTags?: boolean;
|
|
442
478
|
/**
|
|
479
|
+
* @public
|
|
443
480
|
* <p>The retention rule that indicates how long the cross-Region snapshot or AMI copies are
|
|
444
481
|
* to be retained in the destination Region.</p>
|
|
445
482
|
*/
|
|
446
483
|
RetainRule?: CrossRegionCopyRetainRule;
|
|
447
484
|
/**
|
|
485
|
+
* @public
|
|
448
486
|
* <p>
|
|
449
487
|
* <b>[AMI policies only]</b> The AMI deprecation rule for cross-Region AMI copies created by the rule.</p>
|
|
450
488
|
*/
|
|
@@ -460,12 +498,14 @@ export interface CrossRegionCopyRule {
|
|
|
460
498
|
*/
|
|
461
499
|
export interface DeprecateRule {
|
|
462
500
|
/**
|
|
501
|
+
* @public
|
|
463
502
|
* <p>If the schedule has a count-based retention rule, this parameter specifies the number of oldest
|
|
464
503
|
* AMIs to deprecate. The count must be less than or equal to the schedule's retention count, and it
|
|
465
504
|
* can't be greater than 1000.</p>
|
|
466
505
|
*/
|
|
467
506
|
Count?: number;
|
|
468
507
|
/**
|
|
508
|
+
* @public
|
|
469
509
|
* <p>If the schedule has an age-based retention rule, this parameter specifies the period after which
|
|
470
510
|
* to deprecate AMIs created by the schedule. The period must be less than or equal to the schedule's
|
|
471
511
|
* retention period, and it can't be greater than 10 years. This is equivalent to 120 months, 520
|
|
@@ -473,6 +513,7 @@ export interface DeprecateRule {
|
|
|
473
513
|
*/
|
|
474
514
|
Interval?: number;
|
|
475
515
|
/**
|
|
516
|
+
* @public
|
|
476
517
|
* <p>The unit of time in which to measure the <b>Interval</b>.</p>
|
|
477
518
|
*/
|
|
478
519
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
@@ -486,19 +527,23 @@ export interface DeprecateRule {
|
|
|
486
527
|
*/
|
|
487
528
|
export interface FastRestoreRule {
|
|
488
529
|
/**
|
|
530
|
+
* @public
|
|
489
531
|
* <p>The number of snapshots to be enabled with fast snapshot restore.</p>
|
|
490
532
|
*/
|
|
491
533
|
Count?: number;
|
|
492
534
|
/**
|
|
535
|
+
* @public
|
|
493
536
|
* <p>The amount of time to enable fast snapshot restore. The maximum is 100 years. This is
|
|
494
537
|
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
|
|
495
538
|
*/
|
|
496
539
|
Interval?: number;
|
|
497
540
|
/**
|
|
541
|
+
* @public
|
|
498
542
|
* <p>The unit of time for enabling fast snapshot restore.</p>
|
|
499
543
|
*/
|
|
500
544
|
IntervalUnit?: RetentionIntervalUnitValues | string;
|
|
501
545
|
/**
|
|
546
|
+
* @public
|
|
502
547
|
* <p>The Availability Zones in which to enable fast snapshot restore.</p>
|
|
503
548
|
*/
|
|
504
549
|
AvailabilityZones: string[] | undefined;
|
|
@@ -542,6 +587,7 @@ export interface FastRestoreRule {
|
|
|
542
587
|
*/
|
|
543
588
|
export interface RetainRule {
|
|
544
589
|
/**
|
|
590
|
+
* @public
|
|
545
591
|
* <p>The number of snapshots to retain for each volume, up to a maximum of 1000. For example if you want to
|
|
546
592
|
* retain a maximum of three snapshots, specify <code>3</code>. When the fourth snapshot is created, the
|
|
547
593
|
* oldest retained snapshot is deleted, or it is moved to the archive tier if you have specified an
|
|
@@ -549,11 +595,13 @@ export interface RetainRule {
|
|
|
549
595
|
*/
|
|
550
596
|
Count?: number;
|
|
551
597
|
/**
|
|
598
|
+
* @public
|
|
552
599
|
* <p>The amount of time to retain each snapshot. The maximum is 100 years. This is
|
|
553
600
|
* equivalent to 1200 months, 5200 weeks, or 36500 days.</p>
|
|
554
601
|
*/
|
|
555
602
|
Interval?: number;
|
|
556
603
|
/**
|
|
604
|
+
* @public
|
|
557
605
|
* <p>The unit of time for time-based retention. For example, to retain snapshots for 3 months, specify
|
|
558
606
|
* <code>Interval=3</code> and <code>IntervalUnit=MONTHS</code>. Once the snapshot has been retained for
|
|
559
607
|
* 3 months, it is deleted, or it is moved to the archive tier if you have specified an
|
|
@@ -568,14 +616,17 @@ export interface RetainRule {
|
|
|
568
616
|
*/
|
|
569
617
|
export interface ShareRule {
|
|
570
618
|
/**
|
|
619
|
+
* @public
|
|
571
620
|
* <p>The IDs of the Amazon Web Services accounts with which to share the snapshots.</p>
|
|
572
621
|
*/
|
|
573
622
|
TargetAccounts: string[] | undefined;
|
|
574
623
|
/**
|
|
624
|
+
* @public
|
|
575
625
|
* <p>The period after which snapshots that are shared with other Amazon Web Services accounts are automatically unshared.</p>
|
|
576
626
|
*/
|
|
577
627
|
UnshareInterval?: number;
|
|
578
628
|
/**
|
|
629
|
+
* @public
|
|
579
630
|
* <p>The unit of time for the automatic unsharing interval.</p>
|
|
580
631
|
*/
|
|
581
632
|
UnshareIntervalUnit?: RetentionIntervalUnitValues | string;
|
|
@@ -587,20 +638,24 @@ export interface ShareRule {
|
|
|
587
638
|
*/
|
|
588
639
|
export interface Schedule {
|
|
589
640
|
/**
|
|
641
|
+
* @public
|
|
590
642
|
* <p>The name of the schedule.</p>
|
|
591
643
|
*/
|
|
592
644
|
Name?: string;
|
|
593
645
|
/**
|
|
646
|
+
* @public
|
|
594
647
|
* <p>Copy all user-defined tags on a source volume to snapshots of the volume created by
|
|
595
648
|
* this policy.</p>
|
|
596
649
|
*/
|
|
597
650
|
CopyTags?: boolean;
|
|
598
651
|
/**
|
|
652
|
+
* @public
|
|
599
653
|
* <p>The tags to apply to policy-created resources. These user-defined tags are in addition
|
|
600
654
|
* to the Amazon Web Services-added lifecycle tags.</p>
|
|
601
655
|
*/
|
|
602
656
|
TagsToAdd?: Tag[];
|
|
603
657
|
/**
|
|
658
|
+
* @public
|
|
604
659
|
* <p>
|
|
605
660
|
* <b>[AMI policies and snapshot policies that target instances only]</b>
|
|
606
661
|
* A collection of key/value pairs with values determined dynamically when the policy is
|
|
@@ -610,19 +665,23 @@ export interface Schedule {
|
|
|
610
665
|
*/
|
|
611
666
|
VariableTags?: Tag[];
|
|
612
667
|
/**
|
|
668
|
+
* @public
|
|
613
669
|
* <p>The creation rule.</p>
|
|
614
670
|
*/
|
|
615
671
|
CreateRule?: CreateRule;
|
|
616
672
|
/**
|
|
673
|
+
* @public
|
|
617
674
|
* <p>The retention rule for snapshots or AMIs created by the policy.</p>
|
|
618
675
|
*/
|
|
619
676
|
RetainRule?: RetainRule;
|
|
620
677
|
/**
|
|
678
|
+
* @public
|
|
621
679
|
* <p>
|
|
622
680
|
* <b>[Snapshot policies only]</b> The rule for enabling fast snapshot restore.</p>
|
|
623
681
|
*/
|
|
624
682
|
FastRestoreRule?: FastRestoreRule;
|
|
625
683
|
/**
|
|
684
|
+
* @public
|
|
626
685
|
* <p>Specifies a rule for copying snapshots or AMIs across regions.</p>
|
|
627
686
|
* <note>
|
|
628
687
|
* <p>You can't specify cross-Region copy rules for policies that create snapshots on an Outpost.
|
|
@@ -632,16 +691,19 @@ export interface Schedule {
|
|
|
632
691
|
*/
|
|
633
692
|
CrossRegionCopyRules?: CrossRegionCopyRule[];
|
|
634
693
|
/**
|
|
694
|
+
* @public
|
|
635
695
|
* <p>
|
|
636
696
|
* <b>[Snapshot policies only]</b> The rule for sharing snapshots with other Amazon Web Services accounts.</p>
|
|
637
697
|
*/
|
|
638
698
|
ShareRules?: ShareRule[];
|
|
639
699
|
/**
|
|
700
|
+
* @public
|
|
640
701
|
* <p>
|
|
641
702
|
* <b>[AMI policies only]</b> The AMI deprecation rule for the schedule.</p>
|
|
642
703
|
*/
|
|
643
704
|
DeprecateRule?: DeprecateRule;
|
|
644
705
|
/**
|
|
706
|
+
* @public
|
|
645
707
|
* <p>
|
|
646
708
|
* <b>[Snapshot policies that target volumes only]</b> The snapshot archiving rule for the schedule. When you specify an archiving
|
|
647
709
|
* rule, snapshots are automatically moved from the standard tier to the archive tier once the schedule's
|
|
@@ -659,6 +721,7 @@ export interface Schedule {
|
|
|
659
721
|
*/
|
|
660
722
|
export interface PolicyDetails {
|
|
661
723
|
/**
|
|
724
|
+
* @public
|
|
662
725
|
* <p>
|
|
663
726
|
* <b>[All policy types]</b> The valid target resource types and actions a policy can manage. Specify <code>EBS_SNAPSHOT_MANAGEMENT</code>
|
|
664
727
|
* to create a lifecycle policy that manages the lifecycle of Amazon EBS snapshots. Specify <code>IMAGE_MANAGEMENT</code>
|
|
@@ -668,6 +731,7 @@ export interface PolicyDetails {
|
|
|
668
731
|
*/
|
|
669
732
|
PolicyType?: PolicyTypeValues | string;
|
|
670
733
|
/**
|
|
734
|
+
* @public
|
|
671
735
|
* <p>
|
|
672
736
|
* <b>[Snapshot policies only]</b> The target resource type for snapshot and AMI lifecycle policies. Use <code>VOLUME </code>to
|
|
673
737
|
* create snapshots of individual volumes or use <code>INSTANCE</code> to create multi-volume
|
|
@@ -675,6 +739,7 @@ export interface PolicyDetails {
|
|
|
675
739
|
*/
|
|
676
740
|
ResourceTypes?: (ResourceTypeValues | string)[];
|
|
677
741
|
/**
|
|
742
|
+
* @public
|
|
678
743
|
* <p>
|
|
679
744
|
* <b>[Snapshot and AMI policies only]</b> The location of the resources to backup. If the source resources are located in an
|
|
680
745
|
* Amazon Web Services Region, specify <code>CLOUD</code>. If the source resources are located on an Outpost
|
|
@@ -684,17 +749,20 @@ export interface PolicyDetails {
|
|
|
684
749
|
*/
|
|
685
750
|
ResourceLocations?: (ResourceLocationValues | string)[];
|
|
686
751
|
/**
|
|
752
|
+
* @public
|
|
687
753
|
* <p>
|
|
688
754
|
* <b>[Snapshot and AMI policies only]</b> The single tag that identifies targeted resources for this policy.</p>
|
|
689
755
|
*/
|
|
690
756
|
TargetTags?: Tag[];
|
|
691
757
|
/**
|
|
758
|
+
* @public
|
|
692
759
|
* <p>
|
|
693
760
|
* <b>[Snapshot and AMI policies only]</b> The schedules of policy-defined actions for snapshot and AMI lifecycle policies. A policy
|
|
694
761
|
* can have up to four schedules—one mandatory schedule and up to three optional schedules.</p>
|
|
695
762
|
*/
|
|
696
763
|
Schedules?: Schedule[];
|
|
697
764
|
/**
|
|
765
|
+
* @public
|
|
698
766
|
* <p>
|
|
699
767
|
* <b>[Snapshot and AMI policies only]</b> A set of optional parameters for snapshot and AMI lifecycle policies. </p>
|
|
700
768
|
* <note>
|
|
@@ -706,11 +774,13 @@ export interface PolicyDetails {
|
|
|
706
774
|
*/
|
|
707
775
|
Parameters?: _Parameters;
|
|
708
776
|
/**
|
|
777
|
+
* @public
|
|
709
778
|
* <p>
|
|
710
779
|
* <b>[Event-based policies only]</b> The event that activates the event-based policy.</p>
|
|
711
780
|
*/
|
|
712
781
|
EventSource?: EventSource;
|
|
713
782
|
/**
|
|
783
|
+
* @public
|
|
714
784
|
* <p>
|
|
715
785
|
* <b>[Event-based policies only]</b> The actions to be performed when the event-based policy is activated. You can specify
|
|
716
786
|
* only one action per policy.</p>
|
|
@@ -734,24 +804,29 @@ export type SettablePolicyStateValues = (typeof SettablePolicyStateValues)[keyof
|
|
|
734
804
|
*/
|
|
735
805
|
export interface CreateLifecyclePolicyRequest {
|
|
736
806
|
/**
|
|
807
|
+
* @public
|
|
737
808
|
* <p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by
|
|
738
809
|
* the lifecycle policy.</p>
|
|
739
810
|
*/
|
|
740
811
|
ExecutionRoleArn: string | undefined;
|
|
741
812
|
/**
|
|
813
|
+
* @public
|
|
742
814
|
* <p>A description of the lifecycle policy. The characters ^[0-9A-Za-z _-]+$ are
|
|
743
815
|
* supported.</p>
|
|
744
816
|
*/
|
|
745
817
|
Description: string | undefined;
|
|
746
818
|
/**
|
|
819
|
+
* @public
|
|
747
820
|
* <p>The desired activation state of the lifecycle policy after creation.</p>
|
|
748
821
|
*/
|
|
749
822
|
State: SettablePolicyStateValues | string | undefined;
|
|
750
823
|
/**
|
|
824
|
+
* @public
|
|
751
825
|
* <p>The configuration details of the lifecycle policy.</p>
|
|
752
826
|
*/
|
|
753
827
|
PolicyDetails: PolicyDetails | undefined;
|
|
754
828
|
/**
|
|
829
|
+
* @public
|
|
755
830
|
* <p>The tags to apply to the lifecycle policy during creation.</p>
|
|
756
831
|
*/
|
|
757
832
|
Tags?: Record<string, string>;
|
|
@@ -761,6 +836,7 @@ export interface CreateLifecyclePolicyRequest {
|
|
|
761
836
|
*/
|
|
762
837
|
export interface CreateLifecyclePolicyResponse {
|
|
763
838
|
/**
|
|
839
|
+
* @public
|
|
764
840
|
* <p>The identifier of the lifecycle policy.</p>
|
|
765
841
|
*/
|
|
766
842
|
PolicyId?: string;
|
|
@@ -790,10 +866,12 @@ export declare class InvalidRequestException extends __BaseException {
|
|
|
790
866
|
Message?: string;
|
|
791
867
|
Code?: string;
|
|
792
868
|
/**
|
|
869
|
+
* @public
|
|
793
870
|
* <p>The request omitted one or more required parameters.</p>
|
|
794
871
|
*/
|
|
795
872
|
RequiredParameters?: string[];
|
|
796
873
|
/**
|
|
874
|
+
* @public
|
|
797
875
|
* <p>The request included parameters that cannot be provided together.</p>
|
|
798
876
|
*/
|
|
799
877
|
MutuallyExclusiveParameters?: string[];
|
|
@@ -812,6 +890,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
812
890
|
Message?: string;
|
|
813
891
|
Code?: string;
|
|
814
892
|
/**
|
|
893
|
+
* @public
|
|
815
894
|
* <p>Value is the type of resource for which a limit was exceeded.</p>
|
|
816
895
|
*/
|
|
817
896
|
ResourceType?: string;
|
|
@@ -825,6 +904,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
825
904
|
*/
|
|
826
905
|
export interface DeleteLifecyclePolicyRequest {
|
|
827
906
|
/**
|
|
907
|
+
* @public
|
|
828
908
|
* <p>The identifier of the lifecycle policy.</p>
|
|
829
909
|
*/
|
|
830
910
|
PolicyId: string | undefined;
|
|
@@ -844,10 +924,12 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
844
924
|
Message?: string;
|
|
845
925
|
Code?: string;
|
|
846
926
|
/**
|
|
927
|
+
* @public
|
|
847
928
|
* <p>Value is the type of resource that was not found.</p>
|
|
848
929
|
*/
|
|
849
930
|
ResourceType?: string;
|
|
850
931
|
/**
|
|
932
|
+
* @public
|
|
851
933
|
* <p>Value is a list of resource IDs that were not found.</p>
|
|
852
934
|
*/
|
|
853
935
|
ResourceIds?: string[];
|
|
@@ -874,23 +956,28 @@ export type GettablePolicyStateValues = (typeof GettablePolicyStateValues)[keyof
|
|
|
874
956
|
*/
|
|
875
957
|
export interface GetLifecyclePoliciesRequest {
|
|
876
958
|
/**
|
|
959
|
+
* @public
|
|
877
960
|
* <p>The identifiers of the data lifecycle policies.</p>
|
|
878
961
|
*/
|
|
879
962
|
PolicyIds?: string[];
|
|
880
963
|
/**
|
|
964
|
+
* @public
|
|
881
965
|
* <p>The activation state.</p>
|
|
882
966
|
*/
|
|
883
967
|
State?: GettablePolicyStateValues | string;
|
|
884
968
|
/**
|
|
969
|
+
* @public
|
|
885
970
|
* <p>The resource type.</p>
|
|
886
971
|
*/
|
|
887
972
|
ResourceTypes?: (ResourceTypeValues | string)[];
|
|
888
973
|
/**
|
|
974
|
+
* @public
|
|
889
975
|
* <p>The target tag for a policy.</p>
|
|
890
976
|
* <p>Tags are strings in the format <code>key=value</code>.</p>
|
|
891
977
|
*/
|
|
892
978
|
TargetTags?: string[];
|
|
893
979
|
/**
|
|
980
|
+
* @public
|
|
894
981
|
* <p>The tags to add to objects created by the policy.</p>
|
|
895
982
|
* <p>Tags are strings in the format <code>key=value</code>.</p>
|
|
896
983
|
* <p>These user-defined tags are added in addition to the Amazon Web Services-added lifecycle tags.</p>
|
|
@@ -903,22 +990,27 @@ export interface GetLifecyclePoliciesRequest {
|
|
|
903
990
|
*/
|
|
904
991
|
export interface LifecyclePolicySummary {
|
|
905
992
|
/**
|
|
993
|
+
* @public
|
|
906
994
|
* <p>The identifier of the lifecycle policy.</p>
|
|
907
995
|
*/
|
|
908
996
|
PolicyId?: string;
|
|
909
997
|
/**
|
|
998
|
+
* @public
|
|
910
999
|
* <p>The description of the lifecycle policy.</p>
|
|
911
1000
|
*/
|
|
912
1001
|
Description?: string;
|
|
913
1002
|
/**
|
|
1003
|
+
* @public
|
|
914
1004
|
* <p>The activation state of the lifecycle policy.</p>
|
|
915
1005
|
*/
|
|
916
1006
|
State?: GettablePolicyStateValues | string;
|
|
917
1007
|
/**
|
|
1008
|
+
* @public
|
|
918
1009
|
* <p>The tags.</p>
|
|
919
1010
|
*/
|
|
920
1011
|
Tags?: Record<string, string>;
|
|
921
1012
|
/**
|
|
1013
|
+
* @public
|
|
922
1014
|
* <p>The type of policy. <code>EBS_SNAPSHOT_MANAGEMENT</code> indicates that the policy
|
|
923
1015
|
* manages the lifecycle of Amazon EBS snapshots. <code>IMAGE_MANAGEMENT</code>
|
|
924
1016
|
* indicates that the policy manages the lifecycle of EBS-backed AMIs.
|
|
@@ -932,6 +1024,7 @@ export interface LifecyclePolicySummary {
|
|
|
932
1024
|
*/
|
|
933
1025
|
export interface GetLifecyclePoliciesResponse {
|
|
934
1026
|
/**
|
|
1027
|
+
* @public
|
|
935
1028
|
* <p>Summary information about the lifecycle policies.</p>
|
|
936
1029
|
*/
|
|
937
1030
|
Policies?: LifecyclePolicySummary[];
|
|
@@ -941,6 +1034,7 @@ export interface GetLifecyclePoliciesResponse {
|
|
|
941
1034
|
*/
|
|
942
1035
|
export interface GetLifecyclePolicyRequest {
|
|
943
1036
|
/**
|
|
1037
|
+
* @public
|
|
944
1038
|
* <p>The identifier of the lifecycle policy.</p>
|
|
945
1039
|
*/
|
|
946
1040
|
PolicyId: string | undefined;
|
|
@@ -952,43 +1046,53 @@ export interface GetLifecyclePolicyRequest {
|
|
|
952
1046
|
*/
|
|
953
1047
|
export interface LifecyclePolicy {
|
|
954
1048
|
/**
|
|
1049
|
+
* @public
|
|
955
1050
|
* <p>The identifier of the lifecycle policy.</p>
|
|
956
1051
|
*/
|
|
957
1052
|
PolicyId?: string;
|
|
958
1053
|
/**
|
|
1054
|
+
* @public
|
|
959
1055
|
* <p>The description of the lifecycle policy.</p>
|
|
960
1056
|
*/
|
|
961
1057
|
Description?: string;
|
|
962
1058
|
/**
|
|
1059
|
+
* @public
|
|
963
1060
|
* <p>The activation state of the lifecycle policy.</p>
|
|
964
1061
|
*/
|
|
965
1062
|
State?: GettablePolicyStateValues | string;
|
|
966
1063
|
/**
|
|
1064
|
+
* @public
|
|
967
1065
|
* <p>The description of the status.</p>
|
|
968
1066
|
*/
|
|
969
1067
|
StatusMessage?: string;
|
|
970
1068
|
/**
|
|
1069
|
+
* @public
|
|
971
1070
|
* <p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by
|
|
972
1071
|
* the lifecycle policy.</p>
|
|
973
1072
|
*/
|
|
974
1073
|
ExecutionRoleArn?: string;
|
|
975
1074
|
/**
|
|
1075
|
+
* @public
|
|
976
1076
|
* <p>The local date and time when the lifecycle policy was created.</p>
|
|
977
1077
|
*/
|
|
978
1078
|
DateCreated?: Date;
|
|
979
1079
|
/**
|
|
1080
|
+
* @public
|
|
980
1081
|
* <p>The local date and time when the lifecycle policy was last modified.</p>
|
|
981
1082
|
*/
|
|
982
1083
|
DateModified?: Date;
|
|
983
1084
|
/**
|
|
1085
|
+
* @public
|
|
984
1086
|
* <p>The configuration of the lifecycle policy</p>
|
|
985
1087
|
*/
|
|
986
1088
|
PolicyDetails?: PolicyDetails;
|
|
987
1089
|
/**
|
|
1090
|
+
* @public
|
|
988
1091
|
* <p>The tags.</p>
|
|
989
1092
|
*/
|
|
990
1093
|
Tags?: Record<string, string>;
|
|
991
1094
|
/**
|
|
1095
|
+
* @public
|
|
992
1096
|
* <p>The Amazon Resource Name (ARN) of the policy.</p>
|
|
993
1097
|
*/
|
|
994
1098
|
PolicyArn?: string;
|
|
@@ -998,6 +1102,7 @@ export interface LifecyclePolicy {
|
|
|
998
1102
|
*/
|
|
999
1103
|
export interface GetLifecyclePolicyResponse {
|
|
1000
1104
|
/**
|
|
1105
|
+
* @public
|
|
1001
1106
|
* <p>Detailed information about the lifecycle policy.</p>
|
|
1002
1107
|
*/
|
|
1003
1108
|
Policy?: LifecyclePolicy;
|
|
@@ -1007,6 +1112,7 @@ export interface GetLifecyclePolicyResponse {
|
|
|
1007
1112
|
*/
|
|
1008
1113
|
export interface ListTagsForResourceRequest {
|
|
1009
1114
|
/**
|
|
1115
|
+
* @public
|
|
1010
1116
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1011
1117
|
*/
|
|
1012
1118
|
ResourceArn: string | undefined;
|
|
@@ -1016,6 +1122,7 @@ export interface ListTagsForResourceRequest {
|
|
|
1016
1122
|
*/
|
|
1017
1123
|
export interface ListTagsForResourceResponse {
|
|
1018
1124
|
/**
|
|
1125
|
+
* @public
|
|
1019
1126
|
* <p>Information about the tags.</p>
|
|
1020
1127
|
*/
|
|
1021
1128
|
Tags?: Record<string, string>;
|
|
@@ -1025,10 +1132,12 @@ export interface ListTagsForResourceResponse {
|
|
|
1025
1132
|
*/
|
|
1026
1133
|
export interface TagResourceRequest {
|
|
1027
1134
|
/**
|
|
1135
|
+
* @public
|
|
1028
1136
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1029
1137
|
*/
|
|
1030
1138
|
ResourceArn: string | undefined;
|
|
1031
1139
|
/**
|
|
1140
|
+
* @public
|
|
1032
1141
|
* <p>One or more tags.</p>
|
|
1033
1142
|
*/
|
|
1034
1143
|
Tags: Record<string, string> | undefined;
|
|
@@ -1043,10 +1152,12 @@ export interface TagResourceResponse {
|
|
|
1043
1152
|
*/
|
|
1044
1153
|
export interface UntagResourceRequest {
|
|
1045
1154
|
/**
|
|
1155
|
+
* @public
|
|
1046
1156
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
1047
1157
|
*/
|
|
1048
1158
|
ResourceArn: string | undefined;
|
|
1049
1159
|
/**
|
|
1160
|
+
* @public
|
|
1050
1161
|
* <p>The tag keys.</p>
|
|
1051
1162
|
*/
|
|
1052
1163
|
TagKeys: string[] | undefined;
|
|
@@ -1061,23 +1172,28 @@ export interface UntagResourceResponse {
|
|
|
1061
1172
|
*/
|
|
1062
1173
|
export interface UpdateLifecyclePolicyRequest {
|
|
1063
1174
|
/**
|
|
1175
|
+
* @public
|
|
1064
1176
|
* <p>The identifier of the lifecycle policy.</p>
|
|
1065
1177
|
*/
|
|
1066
1178
|
PolicyId: string | undefined;
|
|
1067
1179
|
/**
|
|
1180
|
+
* @public
|
|
1068
1181
|
* <p>The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by
|
|
1069
1182
|
* the lifecycle policy.</p>
|
|
1070
1183
|
*/
|
|
1071
1184
|
ExecutionRoleArn?: string;
|
|
1072
1185
|
/**
|
|
1186
|
+
* @public
|
|
1073
1187
|
* <p>The desired activation state of the lifecycle policy after creation.</p>
|
|
1074
1188
|
*/
|
|
1075
1189
|
State?: SettablePolicyStateValues | string;
|
|
1076
1190
|
/**
|
|
1191
|
+
* @public
|
|
1077
1192
|
* <p>A description of the lifecycle policy.</p>
|
|
1078
1193
|
*/
|
|
1079
1194
|
Description?: string;
|
|
1080
1195
|
/**
|
|
1196
|
+
* @public
|
|
1081
1197
|
* <p>The configuration of the lifecycle policy. You cannot update the policy type or the
|
|
1082
1198
|
* resource type.</p>
|
|
1083
1199
|
*/
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dlm",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|