@aws-sdk/client-dlm 3.1180.0 → 3.1182.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1179.0";
72
+ var version = "3.1181.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -231,7 +231,8 @@ const _Ac = "Actions";
231
231
  const _C = "Code";
232
232
  const _CA = "CmkArn";
233
233
  const _CE = "CronExpression";
234
- const _CI = "CreateInterval";
234
+ const _CI = "CopyInterval";
235
+ const _CIr = "CreateInterval";
235
236
  const _CLP = "CreateLifecyclePolicy";
236
237
  const _CLPR = "CreateLifecyclePolicyRequest";
237
238
  const _CLPRr = "CreateLifecyclePolicyResponse";
@@ -239,6 +240,8 @@ const _CR = "CreateRule";
239
240
  const _CRC = "CrossRegionCopy";
240
241
  const _CRCA = "CrossRegionCopyAction";
241
242
  const _CRCAL = "CrossRegionCopyActionList";
243
+ const _CRCC = "CrossRegionCopyConfiguration";
244
+ const _CRCDL = "CrossRegionCopyDestinationList";
242
245
  const _CRCDR = "CrossRegionCopyDeprecateRule";
243
246
  const _CRCR = "CrossRegionCopyRule";
244
247
  const _CRCRR = "CrossRegionCopyRetainRule";
@@ -258,6 +261,7 @@ const _DP = "DefaultPolicy";
258
261
  const _DPT = "DefaultPolicyType";
259
262
  const _DR = "DeprecateRule";
260
263
  const _DRe = "DescriptionRegex";
264
+ const _De = "Destinations";
261
265
  const _E = "Exclusions";
262
266
  const _EBV = "ExcludeBootVolumes";
263
267
  const _EBVx = "ExcludeBootVolume";
@@ -304,6 +308,7 @@ const _N = "Name";
304
308
  const _NR = "NoReboot";
305
309
  const _P = "Parameters";
306
310
  const _PA = "PolicyArn";
311
+ const _PC = "PolicyClass";
307
312
  const _PD = "PolicyDetails";
308
313
  const _PI = "PolicyId";
309
314
  const _PIo = "PolicyIds";
@@ -365,6 +370,7 @@ const _e = "error";
365
370
  const _h = "http";
366
371
  const _hE = "httpError";
367
372
  const _hQ = "httpQuery";
373
+ const _pC = "policyClass";
368
374
  const _pI = "policyIds";
369
375
  const _rT = "resourceTypes";
370
376
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
@@ -421,10 +427,15 @@ var ArchiveRule$ = [3, n0, _AR,
421
427
  [_RR],
422
428
  [() => ArchiveRetainRule$], 1
423
429
  ];
430
+ var CopyInterval$ = [3, n0, _CI,
431
+ 0,
432
+ [_I, _IU],
433
+ [1, 0], 2
434
+ ];
424
435
  var CreateLifecyclePolicyRequest$ = [3, n0, _CLPR,
425
436
  0,
426
- [_ERA, _D, _S, _PD, _T, _DP, _CI, _RIe, _CT, _ED, _CRCT, _E],
427
- [0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 3
437
+ [_ERA, _D, _S, _PD, _T, _DP, _PC, _CIr, _RIe, _CT, _ED, _CRCT, _CRCC, _E],
438
+ [0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => CrossRegionCopyConfiguration$, () => Exclusions$], 3
428
439
  ];
429
440
  var CreateLifecyclePolicyResponse$ = [3, n0, _CLPRr,
430
441
  0,
@@ -441,6 +452,11 @@ var CrossRegionCopyAction$ = [3, n0, _CRCA,
441
452
  [_Ta, _EC, _RR],
442
453
  [0, () => EncryptionConfiguration$, () => CrossRegionCopyRetainRule$], 2
443
454
  ];
455
+ var CrossRegionCopyConfiguration$ = [3, n0, _CRCC,
456
+ 0,
457
+ [_CI, _De],
458
+ [() => CopyInterval$, () => CrossRegionCopyDestinationList]
459
+ ];
444
460
  var CrossRegionCopyDeprecateRule$ = [3, n0, _CRCDR,
445
461
  0,
446
462
  [_I, _IU],
@@ -503,8 +519,8 @@ var FastRestoreRule$ = [3, n0, _FRR,
503
519
  ];
504
520
  var GetLifecyclePoliciesRequest$ = [3, n0, _GLPR,
505
521
  0,
506
- [_PIo, _S, _RTe, _TT, _TTA, _DPT],
507
- [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]
522
+ [_PIo, _S, _RTe, _TT, _TTA, _DPT, _PC],
523
+ [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }], [0, { [_hQ]: _pC }]]
508
524
  ];
509
525
  var GetLifecyclePoliciesResponse$ = [3, n0, _GLPRe,
510
526
  0,
@@ -523,13 +539,13 @@ var GetLifecyclePolicyResponse$ = [3, n0, _GLPReti,
523
539
  ];
524
540
  var LifecyclePolicy$ = [3, n0, _LP,
525
541
  0,
526
- [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],
527
- [0, 0, 0, 0, 0, 5, 5, () => PolicyDetails$, 128 | 0, 0, 2]
542
+ [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP, _PC],
543
+ [0, 0, 0, 0, 0, 5, 5, () => PolicyDetails$, 128 | 0, 0, 2, 0]
528
544
  ];
529
545
  var LifecyclePolicySummary$ = [3, n0, _LPS,
530
546
  0,
531
- [_PI, _D, _S, _T, _PT, _DP],
532
- [0, 0, 0, 128 | 0, 0, 2]
547
+ [_PI, _D, _S, _T, _PT, _DP, _PC],
548
+ [0, 0, 0, 128 | 0, 0, 2, 0]
533
549
  ];
534
550
  var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
535
551
  0,
@@ -548,8 +564,8 @@ var _Parameters$ = [3, n0, _P,
548
564
  ];
549
565
  var PolicyDetails$ = [3, n0, _PD,
550
566
  0,
551
- [_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CI, _RIe, _CT, _CRCT, _ED, _E],
552
- [0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, 2, () => Exclusions$]
567
+ [_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CIr, _RIe, _CT, _CRCT, _CRCC, _ED, _E],
568
+ [0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, () => CrossRegionCopyConfiguration$, 2, () => Exclusions$]
553
569
  ];
554
570
  var RetainRule$ = [3, n0, _RR,
555
571
  0,
@@ -603,8 +619,8 @@ var UntagResourceResponse$ = [3, n0, _URRn,
603
619
  ];
604
620
  var UpdateLifecyclePolicyRequest$ = [3, n0, _ULPR,
605
621
  0,
606
- [_PI, _ERA, _S, _D, _PD, _CI, _RIe, _CT, _ED, _CRCT, _E],
607
- [[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 1
622
+ [_PI, _ERA, _S, _D, _PD, _CIr, _RIe, _CT, _ED, _CRCT, _CRCC, _E],
623
+ [[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => CrossRegionCopyConfiguration$, () => Exclusions$], 1
608
624
  ];
609
625
  var UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,
610
626
  0,
@@ -617,6 +633,9 @@ var ActionList = [1, n0, _AL,
617
633
  var CrossRegionCopyActionList = [1, n0, _CRCAL,
618
634
  0, () => CrossRegionCopyAction$
619
635
  ];
636
+ var CrossRegionCopyDestinationList = [1, n0, _CRCDL,
637
+ 0, () => CrossRegionCopyTarget$
638
+ ];
620
639
  var CrossRegionCopyRules = [1, n0, _CRCRr,
621
640
  0, () => CrossRegionCopyRule$
622
641
  ];
@@ -870,10 +889,17 @@ const RetentionIntervalUnitValues = {
870
889
  WEEKS: "WEEKS",
871
890
  YEARS: "YEARS",
872
891
  };
892
+ const CopyIntervalUnitValues = {
893
+ DAYS: "DAYS",
894
+ HOURS: "HOURS",
895
+ };
873
896
  const DefaultPolicyTypeValues = {
874
897
  INSTANCE: "INSTANCE",
875
898
  VOLUME: "VOLUME",
876
899
  };
900
+ const PolicyClassValues = {
901
+ MULTI_AVAILABILITY_ZONE_POLICY: "MULTI_AVAILABILITY_ZONE_POLICY",
902
+ };
877
903
  const EventTypeValues = {
878
904
  SHARE_SNAPSHOT: "shareSnapshot",
879
905
  };
@@ -931,12 +957,15 @@ const GettablePolicyStateValues = {
931
957
  exports.Action$ = Action$;
932
958
  exports.ArchiveRetainRule$ = ArchiveRetainRule$;
933
959
  exports.ArchiveRule$ = ArchiveRule$;
960
+ exports.CopyInterval$ = CopyInterval$;
961
+ exports.CopyIntervalUnitValues = CopyIntervalUnitValues;
934
962
  exports.CreateLifecyclePolicy$ = CreateLifecyclePolicy$;
935
963
  exports.CreateLifecyclePolicyCommand = CreateLifecyclePolicyCommand;
936
964
  exports.CreateLifecyclePolicyRequest$ = CreateLifecyclePolicyRequest$;
937
965
  exports.CreateLifecyclePolicyResponse$ = CreateLifecyclePolicyResponse$;
938
966
  exports.CreateRule$ = CreateRule$;
939
967
  exports.CrossRegionCopyAction$ = CrossRegionCopyAction$;
968
+ exports.CrossRegionCopyConfiguration$ = CrossRegionCopyConfiguration$;
940
969
  exports.CrossRegionCopyDeprecateRule$ = CrossRegionCopyDeprecateRule$;
941
970
  exports.CrossRegionCopyRetainRule$ = CrossRegionCopyRetainRule$;
942
971
  exports.CrossRegionCopyRule$ = CrossRegionCopyRule$;
@@ -983,6 +1012,7 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
983
1012
  exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
984
1013
  exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
985
1014
  exports.LocationValues = LocationValues;
1015
+ exports.PolicyClassValues = PolicyClassValues;
986
1016
  exports.PolicyDetails$ = PolicyDetails$;
987
1017
  exports.PolicyLanguageValues = PolicyLanguageValues;
988
1018
  exports.PolicyTypeValues = PolicyTypeValues;
@@ -4,10 +4,17 @@ export const RetentionIntervalUnitValues = {
4
4
  WEEKS: "WEEKS",
5
5
  YEARS: "YEARS",
6
6
  };
7
+ export const CopyIntervalUnitValues = {
8
+ DAYS: "DAYS",
9
+ HOURS: "HOURS",
10
+ };
7
11
  export const DefaultPolicyTypeValues = {
8
12
  INSTANCE: "INSTANCE",
9
13
  VOLUME: "VOLUME",
10
14
  };
15
+ export const PolicyClassValues = {
16
+ MULTI_AVAILABILITY_ZONE_POLICY: "MULTI_AVAILABILITY_ZONE_POLICY",
17
+ };
11
18
  export const EventTypeValues = {
12
19
  SHARE_SNAPSHOT: "shareSnapshot",
13
20
  };
@@ -8,7 +8,8 @@ const _Ac = "Actions";
8
8
  const _C = "Code";
9
9
  const _CA = "CmkArn";
10
10
  const _CE = "CronExpression";
11
- const _CI = "CreateInterval";
11
+ const _CI = "CopyInterval";
12
+ const _CIr = "CreateInterval";
12
13
  const _CLP = "CreateLifecyclePolicy";
13
14
  const _CLPR = "CreateLifecyclePolicyRequest";
14
15
  const _CLPRr = "CreateLifecyclePolicyResponse";
@@ -16,6 +17,8 @@ const _CR = "CreateRule";
16
17
  const _CRC = "CrossRegionCopy";
17
18
  const _CRCA = "CrossRegionCopyAction";
18
19
  const _CRCAL = "CrossRegionCopyActionList";
20
+ const _CRCC = "CrossRegionCopyConfiguration";
21
+ const _CRCDL = "CrossRegionCopyDestinationList";
19
22
  const _CRCDR = "CrossRegionCopyDeprecateRule";
20
23
  const _CRCR = "CrossRegionCopyRule";
21
24
  const _CRCRR = "CrossRegionCopyRetainRule";
@@ -35,6 +38,7 @@ const _DP = "DefaultPolicy";
35
38
  const _DPT = "DefaultPolicyType";
36
39
  const _DR = "DeprecateRule";
37
40
  const _DRe = "DescriptionRegex";
41
+ const _De = "Destinations";
38
42
  const _E = "Exclusions";
39
43
  const _EBV = "ExcludeBootVolumes";
40
44
  const _EBVx = "ExcludeBootVolume";
@@ -81,6 +85,7 @@ const _N = "Name";
81
85
  const _NR = "NoReboot";
82
86
  const _P = "Parameters";
83
87
  const _PA = "PolicyArn";
88
+ const _PC = "PolicyClass";
84
89
  const _PD = "PolicyDetails";
85
90
  const _PI = "PolicyId";
86
91
  const _PIo = "PolicyIds";
@@ -142,6 +147,7 @@ const _e = "error";
142
147
  const _h = "http";
143
148
  const _hE = "httpError";
144
149
  const _hQ = "httpQuery";
150
+ const _pC = "policyClass";
145
151
  const _pI = "policyIds";
146
152
  const _rT = "resourceTypes";
147
153
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dlm";
@@ -201,10 +207,15 @@ export var ArchiveRule$ = [3, n0, _AR,
201
207
  [_RR],
202
208
  [() => ArchiveRetainRule$], 1
203
209
  ];
210
+ export var CopyInterval$ = [3, n0, _CI,
211
+ 0,
212
+ [_I, _IU],
213
+ [1, 0], 2
214
+ ];
204
215
  export var CreateLifecyclePolicyRequest$ = [3, n0, _CLPR,
205
216
  0,
206
- [_ERA, _D, _S, _PD, _T, _DP, _CI, _RIe, _CT, _ED, _CRCT, _E],
207
- [0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 3
217
+ [_ERA, _D, _S, _PD, _T, _DP, _PC, _CIr, _RIe, _CT, _ED, _CRCT, _CRCC, _E],
218
+ [0, 0, 0, () => PolicyDetails$, 128 | 0, 0, 0, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => CrossRegionCopyConfiguration$, () => Exclusions$], 3
208
219
  ];
209
220
  export var CreateLifecyclePolicyResponse$ = [3, n0, _CLPRr,
210
221
  0,
@@ -221,6 +232,11 @@ export var CrossRegionCopyAction$ = [3, n0, _CRCA,
221
232
  [_Ta, _EC, _RR],
222
233
  [0, () => EncryptionConfiguration$, () => CrossRegionCopyRetainRule$], 2
223
234
  ];
235
+ export var CrossRegionCopyConfiguration$ = [3, n0, _CRCC,
236
+ 0,
237
+ [_CI, _De],
238
+ [() => CopyInterval$, () => CrossRegionCopyDestinationList]
239
+ ];
224
240
  export var CrossRegionCopyDeprecateRule$ = [3, n0, _CRCDR,
225
241
  0,
226
242
  [_I, _IU],
@@ -283,8 +299,8 @@ export var FastRestoreRule$ = [3, n0, _FRR,
283
299
  ];
284
300
  export var GetLifecyclePoliciesRequest$ = [3, n0, _GLPR,
285
301
  0,
286
- [_PIo, _S, _RTe, _TT, _TTA, _DPT],
287
- [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }]]
302
+ [_PIo, _S, _RTe, _TT, _TTA, _DPT, _PC],
303
+ [[64 | 0, { [_hQ]: _pI }], [0, { [_hQ]: _st }], [64 | 0, { [_hQ]: _rT }], [64 | 0, { [_hQ]: _tT }], [64 | 0, { [_hQ]: _tTA }], [0, { [_hQ]: _dPT }], [0, { [_hQ]: _pC }]]
288
304
  ];
289
305
  export var GetLifecyclePoliciesResponse$ = [3, n0, _GLPRe,
290
306
  0,
@@ -303,13 +319,13 @@ export var GetLifecyclePolicyResponse$ = [3, n0, _GLPReti,
303
319
  ];
304
320
  export var LifecyclePolicy$ = [3, n0, _LP,
305
321
  0,
306
- [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP],
307
- [0, 0, 0, 0, 0, 5, 5, () => PolicyDetails$, 128 | 0, 0, 2]
322
+ [_PI, _D, _S, _SM, _ERA, _DC, _DM, _PD, _T, _PA, _DP, _PC],
323
+ [0, 0, 0, 0, 0, 5, 5, () => PolicyDetails$, 128 | 0, 0, 2, 0]
308
324
  ];
309
325
  export var LifecyclePolicySummary$ = [3, n0, _LPS,
310
326
  0,
311
- [_PI, _D, _S, _T, _PT, _DP],
312
- [0, 0, 0, 128 | 0, 0, 2]
327
+ [_PI, _D, _S, _T, _PT, _DP, _PC],
328
+ [0, 0, 0, 128 | 0, 0, 2, 0]
313
329
  ];
314
330
  export var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
315
331
  0,
@@ -328,8 +344,8 @@ export var _Parameters$ = [3, n0, _P,
328
344
  ];
329
345
  export var PolicyDetails$ = [3, n0, _PD,
330
346
  0,
331
- [_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CI, _RIe, _CT, _CRCT, _ED, _E],
332
- [0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, 2, () => Exclusions$]
347
+ [_PT, _RTe, _RL, _TT, _Sch, _P, _ES, _Ac, _PL, _RT, _CIr, _RIe, _CT, _CRCT, _CRCC, _ED, _E],
348
+ [0, 64 | 0, 64 | 0, () => TargetTagList, () => ScheduleList, () => _Parameters$, () => EventSource$, () => ActionList, 0, 0, 1, 1, 2, () => CrossRegionCopyTargetList, () => CrossRegionCopyConfiguration$, 2, () => Exclusions$]
333
349
  ];
334
350
  export var RetainRule$ = [3, n0, _RR,
335
351
  0,
@@ -383,8 +399,8 @@ export var UntagResourceResponse$ = [3, n0, _URRn,
383
399
  ];
384
400
  export var UpdateLifecyclePolicyRequest$ = [3, n0, _ULPR,
385
401
  0,
386
- [_PI, _ERA, _S, _D, _PD, _CI, _RIe, _CT, _ED, _CRCT, _E],
387
- [[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => Exclusions$], 1
402
+ [_PI, _ERA, _S, _D, _PD, _CIr, _RIe, _CT, _ED, _CRCT, _CRCC, _E],
403
+ [[0, 1], 0, 0, 0, () => PolicyDetails$, 1, 1, 2, 2, () => CrossRegionCopyTargetList, () => CrossRegionCopyConfiguration$, () => Exclusions$], 1
388
404
  ];
389
405
  export var UpdateLifecyclePolicyResponse$ = [3, n0, _ULPRp,
390
406
  0,
@@ -399,6 +415,9 @@ var AvailabilityZoneList = 64 | 0;
399
415
  var CrossRegionCopyActionList = [1, n0, _CRCAL,
400
416
  0, () => CrossRegionCopyAction$
401
417
  ];
418
+ var CrossRegionCopyDestinationList = [1, n0, _CRCDL,
419
+ 0, () => CrossRegionCopyTarget$
420
+ ];
402
421
  var CrossRegionCopyRules = [1, n0, _CRCRr,
403
422
  0, () => CrossRegionCopyRule$
404
423
  ];
@@ -41,12 +41,17 @@ declare const CreateLifecyclePolicyCommand_base: {
41
41
  * <li>
42
42
  * <p>Default policy for EBS-backed AMIs</p>
43
43
  * </li>
44
+ * <li>
45
+ * <p>MultiAvailabilityZone policy for EBS snapshots</p>
46
+ * </li>
44
47
  * </ul>
45
48
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/policy-differences.html">
46
49
  * Default policies vs custom policies</a>.</p>
47
50
  * <important>
48
51
  * <p>If you create a default policy, you can specify the request parameters either in
49
52
  * the request body, or in the PolicyDetails request structure, but not both.</p>
53
+ * <p>If you create a MultiAvailabilityZone policy, specify the request parameters in
54
+ * the request body. You can't use the PolicyDetails request structure.</p>
50
55
  * </important>
51
56
  * @example
52
57
  * Use a bare-bones client and the command you need to make an API call.
@@ -214,6 +219,17 @@ declare const CreateLifecyclePolicyCommand_base: {
214
219
  * TargetRegion: "STRING_VALUE",
215
220
  * },
216
221
  * ],
222
+ * CrossRegionCopyConfiguration: { // CrossRegionCopyConfiguration
223
+ * CopyInterval: { // CopyInterval
224
+ * Interval: Number("int"), // required
225
+ * IntervalUnit: "HOURS" || "DAYS", // required
226
+ * },
227
+ * Destinations: [ // CrossRegionCopyDestinationList
228
+ * {
229
+ * TargetRegion: "STRING_VALUE",
230
+ * },
231
+ * ],
232
+ * },
217
233
  * ExtendDeletion: true || false,
218
234
  * Exclusions: { // Exclusions
219
235
  * ExcludeBootVolumes: true || false,
@@ -229,15 +245,23 @@ declare const CreateLifecyclePolicyCommand_base: {
229
245
  * "<keys>": "STRING_VALUE",
230
246
  * },
231
247
  * DefaultPolicy: "VOLUME" || "INSTANCE",
248
+ * PolicyClass: "MULTI_AVAILABILITY_ZONE_POLICY",
232
249
  * CreateInterval: Number("int"),
233
250
  * RetainInterval: Number("int"),
234
251
  * CopyTags: true || false,
235
252
  * ExtendDeletion: true || false,
236
253
  * CrossRegionCopyTargets: [
237
- * {
238
- * TargetRegion: "STRING_VALUE",
239
- * },
254
+ * "<CrossRegionCopyTarget>",
240
255
  * ],
256
+ * CrossRegionCopyConfiguration: {
257
+ * CopyInterval: {
258
+ * Interval: Number("int"), // required
259
+ * IntervalUnit: "HOURS" || "DAYS", // required
260
+ * },
261
+ * Destinations: [
262
+ * "<CrossRegionCopyTarget>",
263
+ * ],
264
+ * },
241
265
  * Exclusions: {
242
266
  * ExcludeBootVolumes: true || false,
243
267
  * ExcludeVolumeTypes: [
@@ -49,6 +49,7 @@ declare const GetLifecyclePoliciesCommand_base: {
49
49
  * "STRING_VALUE",
50
50
  * ],
51
51
  * DefaultPolicyType: "VOLUME" || "INSTANCE" || "ALL",
52
+ * PolicyClass: "MULTI_AVAILABILITY_ZONE_POLICY",
52
53
  * };
53
54
  * const command = new GetLifecyclePoliciesCommand(input);
54
55
  * const response = await client.send(command);
@@ -63,6 +64,7 @@ declare const GetLifecyclePoliciesCommand_base: {
63
64
  * // },
64
65
  * // PolicyType: "EBS_SNAPSHOT_MANAGEMENT" || "IMAGE_MANAGEMENT" || "EVENT_BASED_POLICY",
65
66
  * // DefaultPolicy: true || false,
67
+ * // PolicyClass: "MULTI_AVAILABILITY_ZONE_POLICY",
66
68
  * // },
67
69
  * // ],
68
70
  * // };
@@ -201,6 +201,17 @@ declare const GetLifecyclePolicyCommand_base: {
201
201
  * // TargetRegion: "STRING_VALUE",
202
202
  * // },
203
203
  * // ],
204
+ * // CrossRegionCopyConfiguration: { // CrossRegionCopyConfiguration
205
+ * // CopyInterval: { // CopyInterval
206
+ * // Interval: Number("int"), // required
207
+ * // IntervalUnit: "HOURS" || "DAYS", // required
208
+ * // },
209
+ * // Destinations: [ // CrossRegionCopyDestinationList
210
+ * // {
211
+ * // TargetRegion: "STRING_VALUE",
212
+ * // },
213
+ * // ],
214
+ * // },
204
215
  * // ExtendDeletion: true || false,
205
216
  * // Exclusions: { // Exclusions
206
217
  * // ExcludeBootVolumes: true || false,
@@ -217,6 +228,7 @@ declare const GetLifecyclePolicyCommand_base: {
217
228
  * // },
218
229
  * // PolicyArn: "STRING_VALUE",
219
230
  * // DefaultPolicy: true || false,
231
+ * // PolicyClass: "MULTI_AVAILABILITY_ZONE_POLICY",
220
232
  * // },
221
233
  * // };
222
234
  *
@@ -59,6 +59,9 @@ declare const ListTagsForResourceCommand_base: {
59
59
  * <p>Bad request. The request is missing required parameters or has invalid
60
60
  * parameters.</p>
61
61
  *
62
+ * @throws {@link LimitExceededException} (client fault)
63
+ * <p>The request failed because a limit was exceeded.</p>
64
+ *
62
65
  * @throws {@link ResourceNotFoundException} (client fault)
63
66
  * <p>A requested resource was not found.</p>
64
67
  *
@@ -58,6 +58,9 @@ declare const TagResourceCommand_base: {
58
58
  * <p>Bad request. The request is missing required parameters or has invalid
59
59
  * parameters.</p>
60
60
  *
61
+ * @throws {@link LimitExceededException} (client fault)
62
+ * <p>The request failed because a limit was exceeded.</p>
63
+ *
61
64
  * @throws {@link ResourceNotFoundException} (client fault)
62
65
  * <p>A requested resource was not found.</p>
63
66
  *
@@ -58,6 +58,9 @@ declare const UntagResourceCommand_base: {
58
58
  * <p>Bad request. The request is missing required parameters or has invalid
59
59
  * parameters.</p>
60
60
  *
61
+ * @throws {@link LimitExceededException} (client fault)
62
+ * <p>The request failed because a limit was exceeded.</p>
63
+ *
61
64
  * @throws {@link ResourceNotFoundException} (client fault)
62
65
  * <p>A requested resource was not found.</p>
63
66
  *
@@ -194,6 +194,17 @@ declare const UpdateLifecyclePolicyCommand_base: {
194
194
  * TargetRegion: "STRING_VALUE",
195
195
  * },
196
196
  * ],
197
+ * CrossRegionCopyConfiguration: { // CrossRegionCopyConfiguration
198
+ * CopyInterval: { // CopyInterval
199
+ * Interval: Number("int"), // required
200
+ * IntervalUnit: "HOURS" || "DAYS", // required
201
+ * },
202
+ * Destinations: [ // CrossRegionCopyDestinationList
203
+ * {
204
+ * TargetRegion: "STRING_VALUE",
205
+ * },
206
+ * ],
207
+ * },
197
208
  * ExtendDeletion: true || false,
198
209
  * Exclusions: { // Exclusions
199
210
  * ExcludeBootVolumes: true || false,
@@ -210,10 +221,17 @@ declare const UpdateLifecyclePolicyCommand_base: {
210
221
  * CopyTags: true || false,
211
222
  * ExtendDeletion: true || false,
212
223
  * CrossRegionCopyTargets: [
213
- * {
214
- * TargetRegion: "STRING_VALUE",
215
- * },
224
+ * "<CrossRegionCopyTarget>",
216
225
  * ],
226
+ * CrossRegionCopyConfiguration: {
227
+ * CopyInterval: {
228
+ * Interval: Number("int"), // required
229
+ * IntervalUnit: "HOURS" || "DAYS", // required
230
+ * },
231
+ * Destinations: [
232
+ * "<CrossRegionCopyTarget>",
233
+ * ],
234
+ * },
217
235
  * Exclusions: {
218
236
  * ExcludeBootVolumes: true || false,
219
237
  * ExcludeVolumeTypes: [
@@ -12,6 +12,18 @@ export declare const RetentionIntervalUnitValues: {
12
12
  * @public
13
13
  */
14
14
  export type RetentionIntervalUnitValues = (typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
15
+ /**
16
+ * @public
17
+ * @enum
18
+ */
19
+ export declare const CopyIntervalUnitValues: {
20
+ readonly DAYS: "DAYS";
21
+ readonly HOURS: "HOURS";
22
+ };
23
+ /**
24
+ * @public
25
+ */
26
+ export type CopyIntervalUnitValues = (typeof CopyIntervalUnitValues)[keyof typeof CopyIntervalUnitValues];
15
27
  /**
16
28
  * @public
17
29
  * @enum
@@ -24,6 +36,17 @@ export declare const DefaultPolicyTypeValues: {
24
36
  * @public
25
37
  */
26
38
  export type DefaultPolicyTypeValues = (typeof DefaultPolicyTypeValues)[keyof typeof DefaultPolicyTypeValues];
39
+ /**
40
+ * @public
41
+ * @enum
42
+ */
43
+ export declare const PolicyClassValues: {
44
+ readonly MULTI_AVAILABILITY_ZONE_POLICY: "MULTI_AVAILABILITY_ZONE_POLICY";
45
+ };
46
+ /**
47
+ * @public
48
+ */
49
+ export type PolicyClassValues = (typeof PolicyClassValues)[keyof typeof PolicyClassValues];
27
50
  /**
28
51
  * @public
29
52
  * @enum
@@ -1,4 +1,4 @@
1
- import type { DefaultPoliciesTypeValues, DefaultPolicyTypeValues, EventSourceValues, EventTypeValues, ExecutionHandlerServiceValues, GettablePolicyStateValues, IntervalUnitValues, LocationValues, PolicyLanguageValues, PolicyTypeValues, ResourceLocationValues, ResourceTypeValues, RetentionIntervalUnitValues, SettablePolicyStateValues, StageValues } from "./enums";
1
+ import type { CopyIntervalUnitValues, DefaultPoliciesTypeValues, DefaultPolicyTypeValues, EventSourceValues, EventTypeValues, ExecutionHandlerServiceValues, GettablePolicyStateValues, IntervalUnitValues, LocationValues, PolicyClassValues, PolicyLanguageValues, PolicyTypeValues, ResourceLocationValues, ResourceTypeValues, RetentionIntervalUnitValues, SettablePolicyStateValues, StageValues } from "./enums";
2
2
  /**
3
3
  * <p>
4
4
  * <b>[Event-based policies only]</b> Specifies the encryption settings for cross-Region snapshot copies created by
@@ -151,7 +151,35 @@ export interface ArchiveRule {
151
151
  }
152
152
  /**
153
153
  * <p>
154
- * <b>[Default policies only]</b> Specifies a destination Region for cross-Region copy actions.</p>
154
+ * <b>[MultiAvailabilityZone policies only]</b> Specifies the interval at which the policy copies snapshots to the
155
+ * destination Regions.</p>
156
+ * @public
157
+ */
158
+ export interface CopyInterval {
159
+ /**
160
+ * <p>The interval between copies, in the unit that you specify for <code>IntervalUnit</code>.</p>
161
+ * @public
162
+ */
163
+ Interval: number | undefined;
164
+ /**
165
+ * <p>The unit of time for the copy interval.</p>
166
+ * <ul>
167
+ * <li>
168
+ * <p>
169
+ * <code>HOURS</code>; The interval is specified in hours.</p>
170
+ * </li>
171
+ * <li>
172
+ * <p>
173
+ * <code>DAYS</code>; The interval is specified in days.</p>
174
+ * </li>
175
+ * </ul>
176
+ * @public
177
+ */
178
+ IntervalUnit: CopyIntervalUnitValues | undefined;
179
+ }
180
+ /**
181
+ * <p>
182
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Specifies a destination Region for cross-Region copy actions.</p>
155
183
  * @public
156
184
  */
157
185
  export interface CrossRegionCopyTarget {
@@ -161,6 +189,29 @@ export interface CrossRegionCopyTarget {
161
189
  */
162
190
  TargetRegion?: string | undefined;
163
191
  }
192
+ /**
193
+ * <p>
194
+ * <b>[MultiAvailabilityZone policies only]</b> Specifies the cross-Region copy settings for a MultiAvailabilityZone
195
+ * policy, including the copy interval and destination Regions.</p>
196
+ * @public
197
+ */
198
+ export interface CrossRegionCopyConfiguration {
199
+ /**
200
+ * <p>Specifies how often the policy copies snapshots to the destination Regions. The first
201
+ * cross-Region copy is created after the first snapshot of the volume completes in-region.
202
+ * After that, the policy copies cross-Region at the specified interval, each time copying
203
+ * the most recent completed snapshot of the volume.</p>
204
+ * @public
205
+ */
206
+ CopyInterval?: CopyInterval | undefined;
207
+ /**
208
+ * <p>The destination Regions for the snapshot copies, specified as a list of
209
+ * <code>CrossRegionCopyTarget</code>. You can specify up to 3 destinations. You can specify
210
+ * each Region only once, and you can't specify the Region in which the policy is created.</p>
211
+ * @public
212
+ */
213
+ Destinations?: CrossRegionCopyTarget[] | undefined;
214
+ }
164
215
  /**
165
216
  * <p>Specifies a tag for a resource.</p>
166
217
  * @public
@@ -179,7 +230,7 @@ export interface Tag {
179
230
  }
180
231
  /**
181
232
  * <p>
182
- * <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
233
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Specifies exclusion parameters for volumes or instances for which you
183
234
  * do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs
184
235
  * for target resources that match any of the specified exclusion parameters.</p>
185
236
  * @public
@@ -187,7 +238,7 @@ export interface Tag {
187
238
  export interface Exclusions {
188
239
  /**
189
240
  * <p>
190
- * <b>[Default policies for EBS snapshots only]</b> Indicates whether to exclude volumes that are attached to
241
+ * <b>[Default and MultiAvailabilityZone policies for EBS snapshots only]</b> Indicates whether to exclude volumes that are attached to
191
242
  * instances as the boot volume. If you exclude boot volumes, only volumes attached as data
192
243
  * (non-boot) volumes will be backed up by the policy. To exclude boot volumes, specify
193
244
  * <code>true</code>.</p>
@@ -196,14 +247,15 @@ export interface Exclusions {
196
247
  ExcludeBootVolumes?: boolean | undefined;
197
248
  /**
198
249
  * <p>
199
- * <b>[Default policies for EBS snapshots only]</b> Specifies the volume types to exclude. Volumes of the specified
250
+ * <b>[Default and MultiAvailabilityZone policies for EBS snapshots only]</b> Specifies the volume types to exclude. Volumes of the specified
200
251
  * types will not be targeted by the policy.</p>
201
252
  * @public
202
253
  */
203
254
  ExcludeVolumeTypes?: string[] | undefined;
204
255
  /**
205
256
  * <p>
206
- * <b>[Default policies for EBS-backed AMIs only]</b> Specifies whether to exclude volumes that have specific tags. </p>
257
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Specifies the tags of the volumes or instances to exclude.
258
+ * Resources that have any of the specified tags are not targeted by the policy.</p>
207
259
  * @public
208
260
  */
209
261
  ExcludeTags?: Tag[] | undefined;
@@ -243,7 +295,7 @@ export interface EventParameters {
243
295
  */
244
296
  export interface EventSource {
245
297
  /**
246
- * <p>The source of the event. Currently only managed CloudWatch Events rules are supported.</p>
298
+ * <p>The source of the event. Currently only managed Amazon EventBridge (formerly known as Amazon CloudWatch) events are supported.</p>
247
299
  * @public
248
300
  */
249
301
  Type: EventSourceValues | undefined;
@@ -494,8 +546,8 @@ export interface CreateRule {
494
546
  Times?: string[] | undefined;
495
547
  /**
496
548
  * <p>The schedule, as a Cron expression. The schedule interval must be between 1 hour and 1
497
- * year. For more information, see the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-cron-expressions.html">Cron expressions reference</a> in
498
- * the <i>Amazon EventBridge User Guide</i>.</p>
549
+ * year. For more information, see the <a href="https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-scheduled-rule-pattern.html">Cron and rate expressions</a>
550
+ * in the <i>Amazon EventBridge User Guide</i>.</p>
499
551
  * @public
500
552
  */
501
553
  CronExpression?: string | undefined;
@@ -922,7 +974,7 @@ export interface PolicyDetails {
922
974
  * <ul>
923
975
  * <li>
924
976
  * <p>
925
- * <code>SIMPLIFIED</code> To create a default policy.</p>
977
+ * <code>SIMPLIFIED</code> To create a default or MultiAvailabilityZone policy.</p>
926
978
  * </li>
927
979
  * <li>
928
980
  * <p>
@@ -946,6 +998,8 @@ export interface PolicyDetails {
946
998
  * <code>INSTANCE</code>.</p>
947
999
  * </li>
948
1000
  * </ul>
1001
+ * <p>
1002
+ * <b>[MultiAvailabilityZone policies only]</b> For MultiAvailabilityZone policies, this value is always <code>VOLUME</code>.</p>
949
1003
  * @public
950
1004
  */
951
1005
  ResourceType?: ResourceTypeValues | undefined;
@@ -970,7 +1024,7 @@ export interface PolicyDetails {
970
1024
  RetainInterval?: number | undefined;
971
1025
  /**
972
1026
  * <p>
973
- * <b>[Default policies only]</b> Indicates whether the policy should copy tags from the source resource
1027
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Indicates whether the policy should copy tags from the source resource
974
1028
  * to the snapshot or AMI. If you do not specify a value, the default is <code>false</code>.</p>
975
1029
  * <p>Default: false</p>
976
1030
  * @public
@@ -981,9 +1035,18 @@ export interface PolicyDetails {
981
1035
  * <b>[Default policies only]</b> Specifies destination Regions for snapshot or AMI copies. You can specify
982
1036
  * up to 3 destination Regions. If you do not want to create cross-Region copies, omit this
983
1037
  * parameter.</p>
1038
+ * <p>
1039
+ * <b>[MultiAvailabilityZone policies only]</b> Use <code>CrossRegionCopyConfiguration</code> instead.</p>
984
1040
  * @public
985
1041
  */
986
1042
  CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
1043
+ /**
1044
+ * <p>
1045
+ * <b>[MultiAvailabilityZone policies only]</b> Specifies the cross-Region copy settings for the policy, including the copy
1046
+ * interval and destination Regions.</p>
1047
+ * @public
1048
+ */
1049
+ CrossRegionCopyConfiguration?: CrossRegionCopyConfiguration | undefined;
987
1050
  /**
988
1051
  * <p>
989
1052
  * <b>[Default policies only]</b> Defines the snapshot or AMI retention behavior for the policy if the
@@ -1013,7 +1076,7 @@ export interface PolicyDetails {
1013
1076
  ExtendDeletion?: boolean | undefined;
1014
1077
  /**
1015
1078
  * <p>
1016
- * <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
1079
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Specifies exclusion parameters for volumes or instances for which you
1017
1080
  * do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs
1018
1081
  * for target resources that match any of the specified exclusion parameters.</p>
1019
1082
  * @public
@@ -1046,6 +1109,8 @@ export interface CreateLifecyclePolicyRequest {
1046
1109
  * <important>
1047
1110
  * <p>If you create a default policy, you can specify the request parameters either in
1048
1111
  * the request body, or in the PolicyDetails request structure, but not both.</p>
1112
+ * <p>If you create a MultiAvailabilityZone policy, specify the request parameters in
1113
+ * the request body. You can't use the PolicyDetails request structure.</p>
1049
1114
  * </important>
1050
1115
  * @public
1051
1116
  */
@@ -1072,6 +1137,24 @@ export interface CreateLifecyclePolicyRequest {
1072
1137
  * @public
1073
1138
  */
1074
1139
  DefaultPolicy?: DefaultPolicyTypeValues | undefined;
1140
+ /**
1141
+ * <p>Specifies the class of the lifecycle policy. A policy's class defines its overall
1142
+ * behavior, including target selection, cadence, and retention. Currently, the only
1143
+ * supported class is:</p>
1144
+ * <ul>
1145
+ * <li>
1146
+ * <p>
1147
+ * <code>MULTI_AVAILABILITY_ZONE_POLICY</code> - Creates a MultiAvailabilityZone
1148
+ * policy that takes a snapshot of each Multi-AZ volume every 15 minutes and retains
1149
+ * only the most recent completed snapshot. If a snapshot takes longer than 15 minutes,
1150
+ * the policy creates the next snapshot as soon as the previous one completes.
1151
+ * MultiAvailabilityZone policies create EBS snapshots only. They do not create
1152
+ * EBS-backed AMIs. You can create one MultiAvailabilityZone policy per Region.</p>
1153
+ * </li>
1154
+ * </ul>
1155
+ * @public
1156
+ */
1157
+ PolicyClass?: PolicyClassValues | undefined;
1075
1158
  /**
1076
1159
  * <p>
1077
1160
  * <b>[Default policies only]</b> Specifies how often the policy should run and create snapshots or AMIs.
@@ -1093,7 +1176,7 @@ export interface CreateLifecyclePolicyRequest {
1093
1176
  RetainInterval?: number | undefined;
1094
1177
  /**
1095
1178
  * <p>
1096
- * <b>[Default policies only]</b> Indicates whether the policy should copy tags from the source resource
1179
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Indicates whether the policy should copy tags from the source resource
1097
1180
  * to the snapshot or AMI. If you do not specify a value, the default is <code>false</code>.</p>
1098
1181
  * <p>Default: false</p>
1099
1182
  * @public
@@ -1131,12 +1214,22 @@ export interface CreateLifecyclePolicyRequest {
1131
1214
  * <b>[Default policies only]</b> Specifies destination Regions for snapshot or AMI copies. You can specify
1132
1215
  * up to 3 destination Regions. If you do not want to create cross-Region copies, omit this
1133
1216
  * parameter.</p>
1217
+ * <p>
1218
+ * <b>[MultiAvailabilityZone policies only]</b> Use <code>CrossRegionCopyConfiguration</code> instead.</p>
1134
1219
  * @public
1135
1220
  */
1136
1221
  CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
1137
1222
  /**
1138
1223
  * <p>
1139
- * <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
1224
+ * <b>[MultiAvailabilityZone policies only]</b> Specifies cross-Region copy settings for the policy. You can copy each
1225
+ * snapshot to up to 3 destination Regions, at a minimum copy interval of 1 hour. If you
1226
+ * do not want to create cross-Region copies, omit this parameter.</p>
1227
+ * @public
1228
+ */
1229
+ CrossRegionCopyConfiguration?: CrossRegionCopyConfiguration | undefined;
1230
+ /**
1231
+ * <p>
1232
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Specifies exclusion parameters for volumes or instances for which you
1140
1233
  * do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs
1141
1234
  * for target resources that match any of the specified exclusion parameters.</p>
1142
1235
  * @public
@@ -1220,6 +1313,19 @@ export interface GetLifecyclePoliciesRequest {
1220
1313
  * @public
1221
1314
  */
1222
1315
  DefaultPolicyType?: DefaultPoliciesTypeValues | undefined;
1316
+ /**
1317
+ * <p>Specifies the class of policies to get. A policy's class defines its overall behavior,
1318
+ * including target selection, cadence, and retention. Currently, the only supported value is:</p>
1319
+ * <ul>
1320
+ * <li>
1321
+ * <p>
1322
+ * <code>MULTI_AVAILABILITY_ZONE_POLICY</code> - To get only the
1323
+ * MultiAvailabilityZone policy.</p>
1324
+ * </li>
1325
+ * </ul>
1326
+ * @public
1327
+ */
1328
+ PolicyClass?: PolicyClassValues | undefined;
1223
1329
  }
1224
1330
  /**
1225
1331
  * <p>Summary information about a lifecycle policy.</p>
@@ -1271,6 +1377,12 @@ export interface LifecyclePolicySummary {
1271
1377
  * @public
1272
1378
  */
1273
1379
  DefaultPolicy?: boolean | undefined;
1380
+ /**
1381
+ * <p>The class of the lifecycle policy. Returned only for policies that have a class.
1382
+ * Currently, the only value returned is <code>MULTI_AVAILABILITY_ZONE_POLICY</code>.</p>
1383
+ * @public
1384
+ */
1385
+ PolicyClass?: PolicyClassValues | undefined;
1274
1386
  }
1275
1387
  /**
1276
1388
  * @public
@@ -1358,12 +1470,18 @@ export interface LifecyclePolicy {
1358
1470
  * </li>
1359
1471
  * <li>
1360
1472
  * <p>
1361
- * <code>false</code> - the policy is a custom policy.</p>
1473
+ * <code>false</code> - the policy is a custom policy or a MultiAvailabilityZone policy.</p>
1362
1474
  * </li>
1363
1475
  * </ul>
1364
1476
  * @public
1365
1477
  */
1366
1478
  DefaultPolicy?: boolean | undefined;
1479
+ /**
1480
+ * <p>The class of the lifecycle policy. Returned only for policies that have a class.
1481
+ * Currently, the only value returned is <code>MULTI_AVAILABILITY_ZONE_POLICY</code>.</p>
1482
+ * @public
1483
+ */
1484
+ PolicyClass?: PolicyClassValues | undefined;
1367
1485
  }
1368
1486
  /**
1369
1487
  * @public
@@ -1484,7 +1602,7 @@ export interface UpdateLifecyclePolicyRequest {
1484
1602
  RetainInterval?: number | undefined;
1485
1603
  /**
1486
1604
  * <p>
1487
- * <b>[Default policies only]</b> Indicates whether the policy should copy tags from the source resource
1605
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Indicates whether the policy should copy tags from the source resource
1488
1606
  * to the snapshot or AMI.</p>
1489
1607
  * @public
1490
1608
  */
@@ -1520,12 +1638,23 @@ export interface UpdateLifecyclePolicyRequest {
1520
1638
  * <b>[Default policies only]</b> Specifies destination Regions for snapshot or AMI copies. You can specify
1521
1639
  * up to 3 destination Regions. If you do not want to create cross-Region copies, omit this
1522
1640
  * parameter.</p>
1641
+ * <p>
1642
+ * <b>[MultiAvailabilityZone policies only]</b> Use <code>CrossRegionCopyConfiguration</code> instead.</p>
1523
1643
  * @public
1524
1644
  */
1525
1645
  CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
1526
1646
  /**
1527
1647
  * <p>
1528
- * <b>[Default policies only]</b> Specifies exclusion parameters for volumes or instances for which you
1648
+ * <b>[MultiAvailabilityZone policies only]</b> Specifies a new <code>CrossRegionCopyConfiguration</code> for the policy.
1649
+ * The value you specify replaces the existing <code>CrossRegionCopyConfiguration</code>
1650
+ * on the policy. To stop creating cross-Region copies, specify an empty configuration
1651
+ * (<code>\{\}</code>). To leave the existing configuration unchanged, omit this parameter.</p>
1652
+ * @public
1653
+ */
1654
+ CrossRegionCopyConfiguration?: CrossRegionCopyConfiguration | undefined;
1655
+ /**
1656
+ * <p>
1657
+ * <b>[Default and MultiAvailabilityZone policies only]</b> Specifies exclusion parameters for volumes or instances for which you
1529
1658
  * do not want to create snapshots or AMIs. The policy will not create snapshots or AMIs
1530
1659
  * for target resources that match any of the specified exclusion parameters.</p>
1531
1660
  * @public
@@ -14,10 +14,12 @@ export declare const errorTypeRegistries: TypeRegistry[];
14
14
  export declare var Action$: StaticStructureSchema;
15
15
  export declare var ArchiveRetainRule$: StaticStructureSchema;
16
16
  export declare var ArchiveRule$: StaticStructureSchema;
17
+ export declare var CopyInterval$: StaticStructureSchema;
17
18
  export declare var CreateLifecyclePolicyRequest$: StaticStructureSchema;
18
19
  export declare var CreateLifecyclePolicyResponse$: StaticStructureSchema;
19
20
  export declare var CreateRule$: StaticStructureSchema;
20
21
  export declare var CrossRegionCopyAction$: StaticStructureSchema;
22
+ export declare var CrossRegionCopyConfiguration$: StaticStructureSchema;
21
23
  export declare var CrossRegionCopyDeprecateRule$: StaticStructureSchema;
22
24
  export declare var CrossRegionCopyRetainRule$: StaticStructureSchema;
23
25
  export declare var CrossRegionCopyRule$: StaticStructureSchema;
@@ -6,12 +6,22 @@ export declare const RetentionIntervalUnitValues: {
6
6
  };
7
7
  export type RetentionIntervalUnitValues =
8
8
  (typeof RetentionIntervalUnitValues)[keyof typeof RetentionIntervalUnitValues];
9
+ export declare const CopyIntervalUnitValues: {
10
+ readonly DAYS: "DAYS";
11
+ readonly HOURS: "HOURS";
12
+ };
13
+ export type CopyIntervalUnitValues =
14
+ (typeof CopyIntervalUnitValues)[keyof typeof CopyIntervalUnitValues];
9
15
  export declare const DefaultPolicyTypeValues: {
10
16
  readonly INSTANCE: "INSTANCE";
11
17
  readonly VOLUME: "VOLUME";
12
18
  };
13
19
  export type DefaultPolicyTypeValues =
14
20
  (typeof DefaultPolicyTypeValues)[keyof typeof DefaultPolicyTypeValues];
21
+ export declare const PolicyClassValues: {
22
+ readonly MULTI_AVAILABILITY_ZONE_POLICY: "MULTI_AVAILABILITY_ZONE_POLICY";
23
+ };
24
+ export type PolicyClassValues = (typeof PolicyClassValues)[keyof typeof PolicyClassValues];
15
25
  export declare const EventTypeValues: {
16
26
  readonly SHARE_SNAPSHOT: "shareSnapshot";
17
27
  };
@@ -1,4 +1,5 @@
1
1
  import {
2
+ CopyIntervalUnitValues,
2
3
  DefaultPoliciesTypeValues,
3
4
  DefaultPolicyTypeValues,
4
5
  EventSourceValues,
@@ -7,6 +8,7 @@ import {
7
8
  GettablePolicyStateValues,
8
9
  IntervalUnitValues,
9
10
  LocationValues,
11
+ PolicyClassValues,
10
12
  PolicyLanguageValues,
11
13
  PolicyTypeValues,
12
14
  ResourceLocationValues,
@@ -43,9 +45,17 @@ export interface ArchiveRetainRule {
43
45
  export interface ArchiveRule {
44
46
  RetainRule: ArchiveRetainRule | undefined;
45
47
  }
48
+ export interface CopyInterval {
49
+ Interval: number | undefined;
50
+ IntervalUnit: CopyIntervalUnitValues | undefined;
51
+ }
46
52
  export interface CrossRegionCopyTarget {
47
53
  TargetRegion?: string | undefined;
48
54
  }
55
+ export interface CrossRegionCopyConfiguration {
56
+ CopyInterval?: CopyInterval | undefined;
57
+ Destinations?: CrossRegionCopyTarget[] | undefined;
58
+ }
49
59
  export interface Tag {
50
60
  Key: string | undefined;
51
61
  Value: string | undefined;
@@ -148,6 +158,7 @@ export interface PolicyDetails {
148
158
  RetainInterval?: number | undefined;
149
159
  CopyTags?: boolean | undefined;
150
160
  CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
161
+ CrossRegionCopyConfiguration?: CrossRegionCopyConfiguration | undefined;
151
162
  ExtendDeletion?: boolean | undefined;
152
163
  Exclusions?: Exclusions | undefined;
153
164
  }
@@ -158,11 +169,13 @@ export interface CreateLifecyclePolicyRequest {
158
169
  PolicyDetails?: PolicyDetails | undefined;
159
170
  Tags?: Record<string, string> | undefined;
160
171
  DefaultPolicy?: DefaultPolicyTypeValues | undefined;
172
+ PolicyClass?: PolicyClassValues | undefined;
161
173
  CreateInterval?: number | undefined;
162
174
  RetainInterval?: number | undefined;
163
175
  CopyTags?: boolean | undefined;
164
176
  ExtendDeletion?: boolean | undefined;
165
177
  CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
178
+ CrossRegionCopyConfiguration?: CrossRegionCopyConfiguration | undefined;
166
179
  Exclusions?: Exclusions | undefined;
167
180
  }
168
181
  export interface CreateLifecyclePolicyResponse {
@@ -179,6 +192,7 @@ export interface GetLifecyclePoliciesRequest {
179
192
  TargetTags?: string[] | undefined;
180
193
  TagsToAdd?: string[] | undefined;
181
194
  DefaultPolicyType?: DefaultPoliciesTypeValues | undefined;
195
+ PolicyClass?: PolicyClassValues | undefined;
182
196
  }
183
197
  export interface LifecyclePolicySummary {
184
198
  PolicyId?: string | undefined;
@@ -187,6 +201,7 @@ export interface LifecyclePolicySummary {
187
201
  Tags?: Record<string, string> | undefined;
188
202
  PolicyType?: PolicyTypeValues | undefined;
189
203
  DefaultPolicy?: boolean | undefined;
204
+ PolicyClass?: PolicyClassValues | undefined;
190
205
  }
191
206
  export interface GetLifecyclePoliciesResponse {
192
207
  Policies?: LifecyclePolicySummary[] | undefined;
@@ -206,6 +221,7 @@ export interface LifecyclePolicy {
206
221
  Tags?: Record<string, string> | undefined;
207
222
  PolicyArn?: string | undefined;
208
223
  DefaultPolicy?: boolean | undefined;
224
+ PolicyClass?: PolicyClassValues | undefined;
209
225
  }
210
226
  export interface GetLifecyclePolicyResponse {
211
227
  Policy?: LifecyclePolicy | undefined;
@@ -237,6 +253,7 @@ export interface UpdateLifecyclePolicyRequest {
237
253
  CopyTags?: boolean | undefined;
238
254
  ExtendDeletion?: boolean | undefined;
239
255
  CrossRegionCopyTargets?: CrossRegionCopyTarget[] | undefined;
256
+ CrossRegionCopyConfiguration?: CrossRegionCopyConfiguration | undefined;
240
257
  Exclusions?: Exclusions | undefined;
241
258
  }
242
259
  export interface UpdateLifecyclePolicyResponse {}
@@ -9,10 +9,12 @@ export declare const errorTypeRegistries: TypeRegistry[];
9
9
  export declare var Action$: StaticStructureSchema;
10
10
  export declare var ArchiveRetainRule$: StaticStructureSchema;
11
11
  export declare var ArchiveRule$: StaticStructureSchema;
12
+ export declare var CopyInterval$: StaticStructureSchema;
12
13
  export declare var CreateLifecyclePolicyRequest$: StaticStructureSchema;
13
14
  export declare var CreateLifecyclePolicyResponse$: StaticStructureSchema;
14
15
  export declare var CreateRule$: StaticStructureSchema;
15
16
  export declare var CrossRegionCopyAction$: StaticStructureSchema;
17
+ export declare var CrossRegionCopyConfiguration$: StaticStructureSchema;
16
18
  export declare var CrossRegionCopyDeprecateRule$: StaticStructureSchema;
17
19
  export declare var CrossRegionCopyRetainRule$: StaticStructureSchema;
18
20
  export declare var CrossRegionCopyRule$: StaticStructureSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dlm",
3
- "version": "3.1180.0",
3
+ "version": "3.1182.0",
4
4
  "description": "AWS SDK for JavaScript Dlm Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dlm",
6
6
  "license": "Apache-2.0",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "dependencies": {
49
49
  "@aws-sdk/core": "^3.981.2",
50
- "@aws-sdk/credential-provider-node": "^3.972.99",
50
+ "@aws-sdk/credential-provider-node": "^3.972.100",
51
51
  "@aws-sdk/types": "^3.975.1",
52
52
  "@smithy/core": "^3.41.1",
53
53
  "@smithy/fetch-http-handler": "^5.8.1",