@aws-sdk/client-backup 3.931.0 → 3.933.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
@@ -246,6 +246,9 @@ let ServiceUnavailableException$1 = class ServiceUnavailableException extends Ba
246
246
  this.Context = opts.Context;
247
247
  }
248
248
  };
249
+ const LifecycleDeleteAfterEvent = {
250
+ DELETE_AFTER_COPY: "DELETE_AFTER_COPY",
251
+ };
249
252
  const BackupJobState = {
250
253
  ABORTED: "ABORTED",
251
254
  ABORTING: "ABORTING",
@@ -559,6 +562,7 @@ const _BSB = "BackupSizeBytes";
559
562
  const _BSIB = "BackupSizeInBytes";
560
563
  const _BSL = "BackupSelectionsList";
561
564
  const _BSLM = "BackupSelectionsListMember";
565
+ const _BSRPA = "BySourceRecoveryPointArn";
562
566
  const _BSy = "ByState";
563
567
  const _BSyh = "ByShared";
564
568
  const _BSyt = "ByStatus";
@@ -578,6 +582,7 @@ const _CAo = "CopyAction";
578
582
  const _CAr = "CreatedAfter";
579
583
  const _CAre = "CreationAfter";
580
584
  const _CB = "CreatedBy";
585
+ const _CBBJI = "CreatedByBackupJobId";
581
586
  const _CBP = "CreateBackupPlan";
582
587
  const _CBPI = "CreateBackupPlanInput";
583
588
  const _CBPO = "CreateBackupPlanOutput";
@@ -654,6 +659,7 @@ const _Cou = "Count";
654
659
  const _D = "Description";
655
660
  const _DA = "DeleteAt";
656
661
  const _DAD = "DeleteAfterDays";
662
+ const _DAE = "DeleteAfterEvent";
657
663
  const _DBJ = "DescribeBackupJob";
658
664
  const _DBJI = "DescribeBackupJobInput";
659
665
  const _DBJO = "DescribeBackupJobOutput";
@@ -822,6 +828,7 @@ const _KV = "KeyValue";
822
828
  const _KVL = "KeyValueList";
823
829
  const _L = "Lifecycle";
824
830
  const _LAET = "LastAttemptedExecutionTime";
831
+ const _LAGBVA = "LogicallyAirGappedBackupVaultArn";
825
832
  const _LBJ = "ListBackupJobs";
826
833
  const _LBJI = "ListBackupJobsInput";
827
834
  const _LBJO = "ListBackupJobsOutput";
@@ -1091,6 +1098,7 @@ const _TBVN = "TargetBackupVaultName";
1091
1098
  const _TD = "ToDate";
1092
1099
  const _TII = "TotalItemsIndexed";
1093
1100
  const _TKL = "TagKeyList";
1101
+ const _TLAGBVA = "TargetLogicallyAirGappedBackupVaultArn";
1094
1102
  const _TR = "TagResource";
1095
1103
  const _TRI = "TagResourceInput";
1096
1104
  const _Ta = "Tags";
@@ -1165,6 +1173,7 @@ const _rT = "resourceType";
1165
1173
  const _rTPA = "restoreTestingPlanArn";
1166
1174
  const _s = "server";
1167
1175
  const _sRA = "sourceResourceArn";
1176
+ const _sRPA = "sourceRecoveryPointArn";
1168
1177
  const _sh = "shared";
1169
1178
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.backup";
1170
1179
  const _st = "state";
@@ -1301,16 +1310,16 @@ var BackupRule = [
1301
1310
  n0,
1302
1311
  _BR,
1303
1312
  0,
1304
- [_RNu, _TBVN, _SE, _SWM, _CWM, _L, _RPT, _RI, _CA, _ECB, _SET, _IA],
1305
- [0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], 0, () => CopyActions, 2, 0, () => IndexActions],
1313
+ [_RNu, _TBVN, _TLAGBVA, _SE, _SWM, _CWM, _L, _RPT, _RI, _CA, _ECB, _SET, _IA],
1314
+ [0, 0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], 0, () => CopyActions, 2, 0, () => IndexActions],
1306
1315
  ];
1307
1316
  var BackupRuleInput = [
1308
1317
  3,
1309
1318
  n0,
1310
1319
  _BRI,
1311
1320
  0,
1312
- [_RNu, _TBVN, _SE, _SWM, _CWM, _L, _RPT, _CA, _ECB, _SET, _IA],
1313
- [0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], () => CopyActions, 2, 0, () => IndexActions],
1321
+ [_RNu, _TBVN, _TLAGBVA, _SE, _SWM, _CWM, _L, _RPT, _CA, _ECB, _SET, _IA],
1322
+ [0, 0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], () => CopyActions, 2, 0, () => IndexActions],
1314
1323
  ];
1315
1324
  var BackupSelection = [
1316
1325
  3,
@@ -1410,6 +1419,7 @@ var CopyJob = [
1410
1419
  _BSIB,
1411
1420
  _IRA,
1412
1421
  _CB,
1422
+ _CBBJI,
1413
1423
  _RT,
1414
1424
  _PJI,
1415
1425
  _IP,
@@ -1440,6 +1450,7 @@ var CopyJob = [
1440
1450
  () => RecoveryPointCreator,
1441
1451
  0,
1442
1452
  0,
1453
+ 0,
1443
1454
  2,
1444
1455
  0,
1445
1456
  1,
@@ -2176,7 +2187,7 @@ var LegalHold = [
2176
2187
  [_Ti, _St, _D, _LHI, _LHA, _CD, _CDan],
2177
2188
  [0, 0, 0, 0, 0, 4, 4],
2178
2189
  ];
2179
- var Lifecycle = [3, n0, _L, 0, [_MTCSAD, _DAD, _OITAFSR], [1, 1, 2]];
2190
+ var Lifecycle = [3, n0, _L, 0, [_MTCSAD, _DAD, _OITAFSR, _DAE], [1, 1, 2, 0]];
2180
2191
  var LimitExceededException = [
2181
2192
  -3,
2182
2193
  n0,
@@ -2491,7 +2502,7 @@ var ListCopyJobsInput = [
2491
2502
  n0,
2492
2503
  _LCJI,
2493
2504
  0,
2494
- [_NT, _MR, _BRA, _BSy, _BCB, _BCA, _BRT, _BDVA, _BAI, _BCBy, _BCAy, _BPJI, _BMC],
2505
+ [_NT, _MR, _BRA, _BSy, _BCB, _BCA, _BRT, _BDVA, _BAI, _BCBy, _BCAy, _BPJI, _BMC, _BSRPA],
2495
2506
  [
2496
2507
  [
2497
2508
  0,
@@ -2571,6 +2582,12 @@ var ListCopyJobsInput = [
2571
2582
  [_hQ]: _mC,
2572
2583
  },
2573
2584
  ],
2585
+ [
2586
+ 0,
2587
+ {
2588
+ [_hQ]: _sRPA,
2589
+ },
2590
+ ],
2574
2591
  ],
2575
2592
  ];
2576
2593
  var ListCopyJobsOutput = [3, n0, _LCJO, 0, [_CJo, _NT], [() => CopyJobsList, 0]];
@@ -3629,8 +3646,8 @@ var StartBackupJobInput = [
3629
3646
  n0,
3630
3647
  _SBJI,
3631
3648
  0,
3632
- [_BVN, _RA, _IRA, _IT, _SWM, _CWMo, _L, _RPT, _BO, _I],
3633
- [0, 0, 0, [0, 4], 1, 1, () => Lifecycle, [() => Tags, 0], 128 | 0, 0],
3649
+ [_BVN, _LAGBVA, _RA, _IRA, _IT, _SWM, _CWMo, _L, _RPT, _BO, _I],
3650
+ [0, 0, 0, 0, [0, 4], 1, 1, () => Lifecycle, [() => Tags, 0], 128 | 0, 0],
3634
3651
  ];
3635
3652
  var StartBackupJobOutput = [3, n0, _SBJO, 0, [_BJI, _RPA, _CD, _IP], [0, 0, 4, 2]];
3636
3653
  var StartCopyJobInput = [
@@ -6260,6 +6277,7 @@ exports.InvalidParameterValueException = InvalidParameterValueException$1;
6260
6277
  exports.InvalidRequestException = InvalidRequestException$1;
6261
6278
  exports.InvalidResourceStateException = InvalidResourceStateException$1;
6262
6279
  exports.LegalHoldStatus = LegalHoldStatus;
6280
+ exports.LifecycleDeleteAfterEvent = LifecycleDeleteAfterEvent;
6263
6281
  exports.LimitExceededException = LimitExceededException$1;
6264
6282
  exports.ListBackupJobSummariesCommand = ListBackupJobSummariesCommand;
6265
6283
  exports.ListBackupJobsCommand = ListBackupJobsCommand;
@@ -128,6 +128,9 @@ export class ServiceUnavailableException extends __BaseException {
128
128
  this.Context = opts.Context;
129
129
  }
130
130
  }
131
+ export const LifecycleDeleteAfterEvent = {
132
+ DELETE_AFTER_COPY: "DELETE_AFTER_COPY",
133
+ };
131
134
  export const BackupJobState = {
132
135
  ABORTED: "ABORTED",
133
136
  ABORTING: "ABORTING",
@@ -66,6 +66,7 @@ const _BSB = "BackupSizeBytes";
66
66
  const _BSIB = "BackupSizeInBytes";
67
67
  const _BSL = "BackupSelectionsList";
68
68
  const _BSLM = "BackupSelectionsListMember";
69
+ const _BSRPA = "BySourceRecoveryPointArn";
69
70
  const _BSy = "ByState";
70
71
  const _BSyh = "ByShared";
71
72
  const _BSyt = "ByStatus";
@@ -85,6 +86,7 @@ const _CAo = "CopyAction";
85
86
  const _CAr = "CreatedAfter";
86
87
  const _CAre = "CreationAfter";
87
88
  const _CB = "CreatedBy";
89
+ const _CBBJI = "CreatedByBackupJobId";
88
90
  const _CBP = "CreateBackupPlan";
89
91
  const _CBPI = "CreateBackupPlanInput";
90
92
  const _CBPO = "CreateBackupPlanOutput";
@@ -161,6 +163,7 @@ const _Cou = "Count";
161
163
  const _D = "Description";
162
164
  const _DA = "DeleteAt";
163
165
  const _DAD = "DeleteAfterDays";
166
+ const _DAE = "DeleteAfterEvent";
164
167
  const _DBJ = "DescribeBackupJob";
165
168
  const _DBJI = "DescribeBackupJobInput";
166
169
  const _DBJO = "DescribeBackupJobOutput";
@@ -329,6 +332,7 @@ const _KV = "KeyValue";
329
332
  const _KVL = "KeyValueList";
330
333
  const _L = "Lifecycle";
331
334
  const _LAET = "LastAttemptedExecutionTime";
335
+ const _LAGBVA = "LogicallyAirGappedBackupVaultArn";
332
336
  const _LBJ = "ListBackupJobs";
333
337
  const _LBJI = "ListBackupJobsInput";
334
338
  const _LBJO = "ListBackupJobsOutput";
@@ -598,6 +602,7 @@ const _TBVN = "TargetBackupVaultName";
598
602
  const _TD = "ToDate";
599
603
  const _TII = "TotalItemsIndexed";
600
604
  const _TKL = "TagKeyList";
605
+ const _TLAGBVA = "TargetLogicallyAirGappedBackupVaultArn";
601
606
  const _TR = "TagResource";
602
607
  const _TRI = "TagResourceInput";
603
608
  const _Ta = "Tags";
@@ -672,6 +677,7 @@ const _rT = "resourceType";
672
677
  const _rTPA = "restoreTestingPlanArn";
673
678
  const _s = "server";
674
679
  const _sRA = "sourceResourceArn";
680
+ const _sRPA = "sourceRecoveryPointArn";
675
681
  const _sh = "shared";
676
682
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.backup";
677
683
  const _st = "state";
@@ -811,16 +817,16 @@ export var BackupRule = [
811
817
  n0,
812
818
  _BR,
813
819
  0,
814
- [_RNu, _TBVN, _SE, _SWM, _CWM, _L, _RPT, _RI, _CA, _ECB, _SET, _IA],
815
- [0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], 0, () => CopyActions, 2, 0, () => IndexActions],
820
+ [_RNu, _TBVN, _TLAGBVA, _SE, _SWM, _CWM, _L, _RPT, _RI, _CA, _ECB, _SET, _IA],
821
+ [0, 0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], 0, () => CopyActions, 2, 0, () => IndexActions],
816
822
  ];
817
823
  export var BackupRuleInput = [
818
824
  3,
819
825
  n0,
820
826
  _BRI,
821
827
  0,
822
- [_RNu, _TBVN, _SE, _SWM, _CWM, _L, _RPT, _CA, _ECB, _SET, _IA],
823
- [0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], () => CopyActions, 2, 0, () => IndexActions],
828
+ [_RNu, _TBVN, _TLAGBVA, _SE, _SWM, _CWM, _L, _RPT, _CA, _ECB, _SET, _IA],
829
+ [0, 0, 0, 0, 1, 1, () => Lifecycle, [() => Tags, 0], () => CopyActions, 2, 0, () => IndexActions],
824
830
  ];
825
831
  export var BackupSelection = [
826
832
  3,
@@ -920,6 +926,7 @@ export var CopyJob = [
920
926
  _BSIB,
921
927
  _IRA,
922
928
  _CB,
929
+ _CBBJI,
923
930
  _RT,
924
931
  _PJI,
925
932
  _IP,
@@ -950,6 +957,7 @@ export var CopyJob = [
950
957
  () => RecoveryPointCreator,
951
958
  0,
952
959
  0,
960
+ 0,
953
961
  2,
954
962
  0,
955
963
  1,
@@ -1686,7 +1694,7 @@ export var LegalHold = [
1686
1694
  [_Ti, _St, _D, _LHI, _LHA, _CD, _CDan],
1687
1695
  [0, 0, 0, 0, 0, 4, 4],
1688
1696
  ];
1689
- export var Lifecycle = [3, n0, _L, 0, [_MTCSAD, _DAD, _OITAFSR], [1, 1, 2]];
1697
+ export var Lifecycle = [3, n0, _L, 0, [_MTCSAD, _DAD, _OITAFSR, _DAE], [1, 1, 2, 0]];
1690
1698
  export var LimitExceededException = [
1691
1699
  -3,
1692
1700
  n0,
@@ -2001,7 +2009,7 @@ export var ListCopyJobsInput = [
2001
2009
  n0,
2002
2010
  _LCJI,
2003
2011
  0,
2004
- [_NT, _MR, _BRA, _BSy, _BCB, _BCA, _BRT, _BDVA, _BAI, _BCBy, _BCAy, _BPJI, _BMC],
2012
+ [_NT, _MR, _BRA, _BSy, _BCB, _BCA, _BRT, _BDVA, _BAI, _BCBy, _BCAy, _BPJI, _BMC, _BSRPA],
2005
2013
  [
2006
2014
  [
2007
2015
  0,
@@ -2081,6 +2089,12 @@ export var ListCopyJobsInput = [
2081
2089
  [_hQ]: _mC,
2082
2090
  },
2083
2091
  ],
2092
+ [
2093
+ 0,
2094
+ {
2095
+ [_hQ]: _sRPA,
2096
+ },
2097
+ ],
2084
2098
  ],
2085
2099
  ];
2086
2100
  export var ListCopyJobsOutput = [3, n0, _LCJO, 0, [_CJo, _NT], [() => CopyJobsList, 0]];
@@ -3139,8 +3153,8 @@ export var StartBackupJobInput = [
3139
3153
  n0,
3140
3154
  _SBJI,
3141
3155
  0,
3142
- [_BVN, _RA, _IRA, _IT, _SWM, _CWMo, _L, _RPT, _BO, _I],
3143
- [0, 0, 0, [0, 4], 1, 1, () => Lifecycle, [() => Tags, 0], 128 | 0, 0],
3156
+ [_BVN, _LAGBVA, _RA, _IRA, _IT, _SWM, _CWMo, _L, _RPT, _BO, _I],
3157
+ [0, 0, 0, 0, [0, 4], 1, 1, () => Lifecycle, [() => Tags, 0], 128 | 0, 0],
3144
3158
  ];
3145
3159
  export var StartBackupJobOutput = [3, n0, _SBJO, 0, [_BJI, _RPA, _CD, _IP], [0, 0, 4, 2]];
3146
3160
  export var StartCopyJobInput = [
@@ -47,6 +47,7 @@ declare const CreateBackupPlanCommand_base: {
47
47
  * { // BackupRuleInput
48
48
  * RuleName: "STRING_VALUE", // required
49
49
  * TargetBackupVaultName: "STRING_VALUE", // required
50
+ * TargetLogicallyAirGappedBackupVaultArn: "STRING_VALUE",
50
51
  * ScheduleExpression: "STRING_VALUE",
51
52
  * StartWindowMinutes: Number("long"),
52
53
  * CompletionWindowMinutes: Number("long"),
@@ -54,6 +55,7 @@ declare const CreateBackupPlanCommand_base: {
54
55
  * MoveToColdStorageAfterDays: Number("long"),
55
56
  * DeleteAfterDays: Number("long"),
56
57
  * OptInToArchiveForSupportedResources: true || false,
58
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
57
59
  * },
58
60
  * RecoveryPointTags: { // Tags
59
61
  * "<keys>": "STRING_VALUE",
@@ -64,6 +66,7 @@ declare const CreateBackupPlanCommand_base: {
64
66
  * MoveToColdStorageAfterDays: Number("long"),
65
67
  * DeleteAfterDays: Number("long"),
66
68
  * OptInToArchiveForSupportedResources: true || false,
69
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
67
70
  * },
68
71
  * DestinationBackupVaultArn: "STRING_VALUE", // required
69
72
  * },
@@ -49,6 +49,7 @@ declare const DescribeBackupJobCommand_base: {
49
49
  * // MoveToColdStorageAfterDays: Number("long"),
50
50
  * // DeleteAfterDays: Number("long"),
51
51
  * // OptInToArchiveForSupportedResources: true || false,
52
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
52
53
  * // },
53
54
  * // BackupVaultArn: "STRING_VALUE",
54
55
  * // VaultType: "STRING_VALUE",
@@ -56,6 +56,7 @@ declare const DescribeCopyJobCommand_base: {
56
56
  * // MoveToColdStorageAfterDays: Number("long"),
57
57
  * // DeleteAfterDays: Number("long"),
58
58
  * // OptInToArchiveForSupportedResources: true || false,
59
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
59
60
  * // },
60
61
  * // ResourceArn: "STRING_VALUE",
61
62
  * // CreationDate: new Date("TIMESTAMP"),
@@ -74,6 +75,7 @@ declare const DescribeCopyJobCommand_base: {
74
75
  * // BackupRuleCron: "STRING_VALUE",
75
76
  * // BackupRuleTimezone: "STRING_VALUE",
76
77
  * // },
78
+ * // CreatedByBackupJobId: "STRING_VALUE",
77
79
  * // ResourceType: "STRING_VALUE",
78
80
  * // ParentJobId: "STRING_VALUE",
79
81
  * // IsParent: true || false,
@@ -76,6 +76,7 @@ declare const DescribeRecoveryPointCommand_base: {
76
76
  * // MoveToColdStorageAfterDays: Number("long"),
77
77
  * // DeleteAfterDays: Number("long"),
78
78
  * // OptInToArchiveForSupportedResources: true || false,
79
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
79
80
  * // },
80
81
  * // EncryptionKeyArn: "STRING_VALUE",
81
82
  * // IsEncrypted: true || false,
@@ -51,6 +51,7 @@ declare const GetBackupPlanCommand_base: {
51
51
  * // { // BackupRule
52
52
  * // RuleName: "STRING_VALUE", // required
53
53
  * // TargetBackupVaultName: "STRING_VALUE", // required
54
+ * // TargetLogicallyAirGappedBackupVaultArn: "STRING_VALUE",
54
55
  * // ScheduleExpression: "STRING_VALUE",
55
56
  * // StartWindowMinutes: Number("long"),
56
57
  * // CompletionWindowMinutes: Number("long"),
@@ -58,6 +59,7 @@ declare const GetBackupPlanCommand_base: {
58
59
  * // MoveToColdStorageAfterDays: Number("long"),
59
60
  * // DeleteAfterDays: Number("long"),
60
61
  * // OptInToArchiveForSupportedResources: true || false,
62
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
61
63
  * // },
62
64
  * // RecoveryPointTags: { // Tags
63
65
  * // "<keys>": "STRING_VALUE",
@@ -69,6 +71,7 @@ declare const GetBackupPlanCommand_base: {
69
71
  * // MoveToColdStorageAfterDays: Number("long"),
70
72
  * // DeleteAfterDays: Number("long"),
71
73
  * // OptInToArchiveForSupportedResources: true || false,
74
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
72
75
  * // },
73
76
  * // DestinationBackupVaultArn: "STRING_VALUE", // required
74
77
  * // },
@@ -48,6 +48,7 @@ declare const GetBackupPlanFromJSONCommand_base: {
48
48
  * // { // BackupRule
49
49
  * // RuleName: "STRING_VALUE", // required
50
50
  * // TargetBackupVaultName: "STRING_VALUE", // required
51
+ * // TargetLogicallyAirGappedBackupVaultArn: "STRING_VALUE",
51
52
  * // ScheduleExpression: "STRING_VALUE",
52
53
  * // StartWindowMinutes: Number("long"),
53
54
  * // CompletionWindowMinutes: Number("long"),
@@ -55,6 +56,7 @@ declare const GetBackupPlanFromJSONCommand_base: {
55
56
  * // MoveToColdStorageAfterDays: Number("long"),
56
57
  * // DeleteAfterDays: Number("long"),
57
58
  * // OptInToArchiveForSupportedResources: true || false,
59
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
58
60
  * // },
59
61
  * // RecoveryPointTags: { // Tags
60
62
  * // "<keys>": "STRING_VALUE",
@@ -66,6 +68,7 @@ declare const GetBackupPlanFromJSONCommand_base: {
66
68
  * // MoveToColdStorageAfterDays: Number("long"),
67
69
  * // DeleteAfterDays: Number("long"),
68
70
  * // OptInToArchiveForSupportedResources: true || false,
71
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
69
72
  * // },
70
73
  * // DestinationBackupVaultArn: "STRING_VALUE", // required
71
74
  * // },
@@ -48,6 +48,7 @@ declare const GetBackupPlanFromTemplateCommand_base: {
48
48
  * // { // BackupRule
49
49
  * // RuleName: "STRING_VALUE", // required
50
50
  * // TargetBackupVaultName: "STRING_VALUE", // required
51
+ * // TargetLogicallyAirGappedBackupVaultArn: "STRING_VALUE",
51
52
  * // ScheduleExpression: "STRING_VALUE",
52
53
  * // StartWindowMinutes: Number("long"),
53
54
  * // CompletionWindowMinutes: Number("long"),
@@ -55,6 +56,7 @@ declare const GetBackupPlanFromTemplateCommand_base: {
55
56
  * // MoveToColdStorageAfterDays: Number("long"),
56
57
  * // DeleteAfterDays: Number("long"),
57
58
  * // OptInToArchiveForSupportedResources: true || false,
59
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
58
60
  * // },
59
61
  * // RecoveryPointTags: { // Tags
60
62
  * // "<keys>": "STRING_VALUE",
@@ -66,6 +68,7 @@ declare const GetBackupPlanFromTemplateCommand_base: {
66
68
  * // MoveToColdStorageAfterDays: Number("long"),
67
69
  * // DeleteAfterDays: Number("long"),
68
70
  * // OptInToArchiveForSupportedResources: true || false,
71
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
69
72
  * // },
70
73
  * // DestinationBackupVaultArn: "STRING_VALUE", // required
71
74
  * // },
@@ -68,6 +68,7 @@ declare const ListBackupJobsCommand_base: {
68
68
  * // MoveToColdStorageAfterDays: Number("long"),
69
69
  * // DeleteAfterDays: Number("long"),
70
70
  * // OptInToArchiveForSupportedResources: true || false,
71
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
71
72
  * // },
72
73
  * // EncryptionKeyArn: "STRING_VALUE",
73
74
  * // IsEncrypted: true || false,
@@ -50,6 +50,7 @@ declare const ListCopyJobsCommand_base: {
50
50
  * ByCompleteAfter: new Date("TIMESTAMP"),
51
51
  * ByParentJobId: "STRING_VALUE",
52
52
  * ByMessageCategory: "STRING_VALUE",
53
+ * BySourceRecoveryPointArn: "STRING_VALUE",
53
54
  * };
54
55
  * const command = new ListCopyJobsCommand(input);
55
56
  * const response = await client.send(command);
@@ -69,6 +70,7 @@ declare const ListCopyJobsCommand_base: {
69
70
  * // MoveToColdStorageAfterDays: Number("long"),
70
71
  * // DeleteAfterDays: Number("long"),
71
72
  * // OptInToArchiveForSupportedResources: true || false,
73
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
72
74
  * // },
73
75
  * // ResourceArn: "STRING_VALUE",
74
76
  * // CreationDate: new Date("TIMESTAMP"),
@@ -87,6 +89,7 @@ declare const ListCopyJobsCommand_base: {
87
89
  * // BackupRuleCron: "STRING_VALUE",
88
90
  * // BackupRuleTimezone: "STRING_VALUE",
89
91
  * // },
92
+ * // CreatedByBackupJobId: "STRING_VALUE",
90
93
  * // ResourceType: "STRING_VALUE",
91
94
  * // ParentJobId: "STRING_VALUE",
92
95
  * // IsParent: true || false,
@@ -85,6 +85,7 @@ declare const ListRecoveryPointsByBackupVaultCommand_base: {
85
85
  * // MoveToColdStorageAfterDays: Number("long"),
86
86
  * // DeleteAfterDays: Number("long"),
87
87
  * // OptInToArchiveForSupportedResources: true || false,
88
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
88
89
  * // },
89
90
  * // EncryptionKeyArn: "STRING_VALUE",
90
91
  * // IsEncrypted: true || false,
@@ -38,6 +38,7 @@ declare const StartBackupJobCommand_base: {
38
38
  * const client = new BackupClient(config);
39
39
  * const input = { // StartBackupJobInput
40
40
  * BackupVaultName: "STRING_VALUE", // required
41
+ * LogicallyAirGappedBackupVaultArn: "STRING_VALUE",
41
42
  * ResourceArn: "STRING_VALUE", // required
42
43
  * IamRoleArn: "STRING_VALUE", // required
43
44
  * IdempotencyToken: "STRING_VALUE",
@@ -47,6 +48,7 @@ declare const StartBackupJobCommand_base: {
47
48
  * MoveToColdStorageAfterDays: Number("long"),
48
49
  * DeleteAfterDays: Number("long"),
49
50
  * OptInToArchiveForSupportedResources: true || false,
51
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
50
52
  * },
51
53
  * RecoveryPointTags: { // Tags
52
54
  * "<keys>": "STRING_VALUE",
@@ -50,6 +50,7 @@ declare const StartCopyJobCommand_base: {
50
50
  * MoveToColdStorageAfterDays: Number("long"),
51
51
  * DeleteAfterDays: Number("long"),
52
52
  * OptInToArchiveForSupportedResources: true || false,
53
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
53
54
  * },
54
55
  * };
55
56
  * const command = new StartCopyJobCommand(input);
@@ -44,6 +44,7 @@ declare const UpdateBackupPlanCommand_base: {
44
44
  * { // BackupRuleInput
45
45
  * RuleName: "STRING_VALUE", // required
46
46
  * TargetBackupVaultName: "STRING_VALUE", // required
47
+ * TargetLogicallyAirGappedBackupVaultArn: "STRING_VALUE",
47
48
  * ScheduleExpression: "STRING_VALUE",
48
49
  * StartWindowMinutes: Number("long"),
49
50
  * CompletionWindowMinutes: Number("long"),
@@ -51,6 +52,7 @@ declare const UpdateBackupPlanCommand_base: {
51
52
  * MoveToColdStorageAfterDays: Number("long"),
52
53
  * DeleteAfterDays: Number("long"),
53
54
  * OptInToArchiveForSupportedResources: true || false,
55
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
54
56
  * },
55
57
  * RecoveryPointTags: { // Tags
56
58
  * "<keys>": "STRING_VALUE",
@@ -61,6 +63,7 @@ declare const UpdateBackupPlanCommand_base: {
61
63
  * MoveToColdStorageAfterDays: Number("long"),
62
64
  * DeleteAfterDays: Number("long"),
63
65
  * OptInToArchiveForSupportedResources: true || false,
66
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
64
67
  * },
65
68
  * DestinationBackupVaultArn: "STRING_VALUE", // required
66
69
  * },
@@ -58,6 +58,7 @@ declare const UpdateRecoveryPointLifecycleCommand_base: {
58
58
  * MoveToColdStorageAfterDays: Number("long"),
59
59
  * DeleteAfterDays: Number("long"),
60
60
  * OptInToArchiveForSupportedResources: true || false,
61
+ * DeleteAfterEvent: "DELETE_AFTER_COPY",
61
62
  * },
62
63
  * };
63
64
  * const command = new UpdateRecoveryPointLifecycleCommand(input);
@@ -69,6 +70,7 @@ declare const UpdateRecoveryPointLifecycleCommand_base: {
69
70
  * // MoveToColdStorageAfterDays: Number("long"),
70
71
  * // DeleteAfterDays: Number("long"),
71
72
  * // OptInToArchiveForSupportedResources: true || false,
73
+ * // DeleteAfterEvent: "DELETE_AFTER_COPY",
72
74
  * // },
73
75
  * // CalculatedLifecycle: { // CalculatedLifecycle
74
76
  * // MoveToColdStorageAt: new Date("TIMESTAMP"),
@@ -272,6 +272,17 @@ export interface RecoveryPointCreator {
272
272
  */
273
273
  BackupRuleTimezone?: string | undefined;
274
274
  }
275
+ /**
276
+ * @public
277
+ * @enum
278
+ */
279
+ export declare const LifecycleDeleteAfterEvent: {
280
+ readonly DELETE_AFTER_COPY: "DELETE_AFTER_COPY";
281
+ };
282
+ /**
283
+ * @public
284
+ */
285
+ export type LifecycleDeleteAfterEvent = (typeof LifecycleDeleteAfterEvent)[keyof typeof LifecycleDeleteAfterEvent];
275
286
  /**
276
287
  * <p>Specifies the time period, in days, before a recovery point transitions to cold storage
277
288
  * or is deleted.</p>
@@ -305,6 +316,13 @@ export interface Lifecycle {
305
316
  * @public
306
317
  */
307
318
  OptInToArchiveForSupportedResources?: boolean | undefined;
319
+ /**
320
+ * <p>The event after which a recovery point is deleted. A recovery point with both
321
+ * <code>DeleteAfterDays</code> and <code>DeleteAfterEvent</code> will delete after
322
+ * whichever condition is satisfied first. Not valid as an input.</p>
323
+ * @public
324
+ */
325
+ DeleteAfterEvent?: LifecycleDeleteAfterEvent | undefined;
308
326
  }
309
327
  /**
310
328
  * @public
@@ -733,6 +751,15 @@ export interface BackupRule {
733
751
  * @public
734
752
  */
735
753
  TargetBackupVaultName: string | undefined;
754
+ /**
755
+ * <p>The ARN of a logically air-gapped vault. ARN must be in the same account and Region.
756
+ * If provided, supported fully managed resources back up directly to logically air-gapped vault,
757
+ * while other supported resources create a temporary (billable) snapshot in backup vault,
758
+ * then copy it to logically air-gapped vault. Unsupported resources only back up to the specified
759
+ * backup vault.</p>
760
+ * @public
761
+ */
762
+ TargetLogicallyAirGappedBackupVaultArn?: string | undefined;
736
763
  /**
737
764
  * <p>A cron expression in UTC specifying when Backup initiates a backup job.
738
765
  * When no CRON expression is provided, Backup will use the default
@@ -865,6 +892,15 @@ export interface BackupRuleInput {
865
892
  * @public
866
893
  */
867
894
  TargetBackupVaultName: string | undefined;
895
+ /**
896
+ * <p>The ARN of a logically air-gapped vault. ARN must be in the same account and Region.
897
+ * If provided, supported fully managed resources back up directly to logically air-gapped vault,
898
+ * while other supported resources create a temporary (billable) snapshot in backup vault,
899
+ * then copy it to logically air-gapped vault. Unsupported resources only back up to the specified
900
+ * backup vault.</p>
901
+ * @public
902
+ */
903
+ TargetLogicallyAirGappedBackupVaultArn?: string | undefined;
868
904
  /**
869
905
  * <p>A CRON expression in UTC specifying when Backup initiates a backup
870
906
  * job. When no CRON expression is provided, Backup will use the default
@@ -1724,6 +1760,12 @@ export interface CopyJob {
1724
1760
  * @public
1725
1761
  */
1726
1762
  CreatedBy?: RecoveryPointCreator | undefined;
1763
+ /**
1764
+ * <p>The backup job ID that initiated this copy job. Only applicable to scheduled copy
1765
+ * jobs and automatic copy jobs to logically air-gapped vault.</p>
1766
+ * @public
1767
+ */
1768
+ CreatedByBackupJobId?: string | undefined;
1727
1769
  /**
1728
1770
  * <p>The type of Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database.</p>
1729
1771
  * @public
@@ -3779,8 +3821,8 @@ export interface DescribeGlobalSettingsInput {
3779
3821
  */
3780
3822
  export interface DescribeGlobalSettingsOutput {
3781
3823
  /**
3782
- * <p>The status of the flags <code>isCrossAccountBackupEnabled</code> and
3783
- * <code>isMpaEnabled</code> ('Mpa' refers to multi-party approval).</p>
3824
+ * <p>The status of the flags <code>isCrossAccountBackupEnabled</code>,
3825
+ * <code>isMpaEnabled</code> ('Mpa' refers to multi-party approval), and <code>isDelegatedAdministratorEnabled</code>.</p>
3784
3826
  * @public
3785
3827
  */
3786
3828
  GlobalSettings?: Record<string, string> | undefined;
@@ -6224,6 +6266,11 @@ export interface ListCopyJobsInput {
6224
6266
  * @public
6225
6267
  */
6226
6268
  ByMessageCategory?: string | undefined;
6269
+ /**
6270
+ * <p>Filters copy jobs by the specified source recovery point ARN.</p>
6271
+ * @public
6272
+ */
6273
+ BySourceRecoveryPointArn?: string | undefined;
6227
6274
  }
6228
6275
  /**
6229
6276
  * @public
@@ -8559,6 +8606,15 @@ export interface StartBackupJobInput {
8559
8606
  * @public
8560
8607
  */
8561
8608
  BackupVaultName: string | undefined;
8609
+ /**
8610
+ * <p>The ARN of a logically air-gapped vault. ARN must be in the same account and Region.
8611
+ * If provided, supported fully managed resources back up directly to logically air-gapped vault,
8612
+ * while other supported resources create a temporary (billable) snapshot in backup vault,
8613
+ * then copy it to logically air-gapped vault. Unsupported resources only back up to the specified
8614
+ * backup vault.</p>
8615
+ * @public
8616
+ */
8617
+ LogicallyAirGappedBackupVaultArn?: string | undefined;
8562
8618
  /**
8563
8619
  * <p>An Amazon Resource Name (ARN) that uniquely identifies a resource. The format of the ARN
8564
8620
  * depends on the resource type.</p>
@@ -9158,6 +9214,10 @@ export interface UpdateGlobalSettingsInput {
9158
9214
  * be true or false. Example:
9159
9215
  * <code>update-global-settings --global-settings isMpaEnabled=false
9160
9216
  * --region us-west-2</code>.</p>
9217
+ * <p>A value for Backup Service-Linked Role creation, styled as<code>isDelegatedAdministratorEnabled</code>.
9218
+ * Values can be true or false. Example:
9219
+ * <code>update-global-settings --global-settings isDelegatedAdministratorEnabled=false
9220
+ * --region us-west-2</code>.</p>
9161
9221
  * @public
9162
9222
  */
9163
9223
  GlobalSettings?: Record<string, string> | undefined;
@@ -94,10 +94,16 @@ export interface RecoveryPointCreator {
94
94
  BackupRuleCron?: string | undefined;
95
95
  BackupRuleTimezone?: string | undefined;
96
96
  }
97
+ export declare const LifecycleDeleteAfterEvent: {
98
+ readonly DELETE_AFTER_COPY: "DELETE_AFTER_COPY";
99
+ };
100
+ export type LifecycleDeleteAfterEvent =
101
+ (typeof LifecycleDeleteAfterEvent)[keyof typeof LifecycleDeleteAfterEvent];
97
102
  export interface Lifecycle {
98
103
  MoveToColdStorageAfterDays?: number | undefined;
99
104
  DeleteAfterDays?: number | undefined;
100
105
  OptInToArchiveForSupportedResources?: boolean | undefined;
106
+ DeleteAfterEvent?: LifecycleDeleteAfterEvent | undefined;
101
107
  }
102
108
  export declare const BackupJobState: {
103
109
  readonly ABORTED: "ABORTED";
@@ -179,6 +185,7 @@ export interface IndexAction {
179
185
  export interface BackupRule {
180
186
  RuleName: string | undefined;
181
187
  TargetBackupVaultName: string | undefined;
188
+ TargetLogicallyAirGappedBackupVaultArn?: string | undefined;
182
189
  ScheduleExpression?: string | undefined;
183
190
  StartWindowMinutes?: number | undefined;
184
191
  CompletionWindowMinutes?: number | undefined;
@@ -198,6 +205,7 @@ export interface BackupPlan {
198
205
  export interface BackupRuleInput {
199
206
  RuleName: string | undefined;
200
207
  TargetBackupVaultName: string | undefined;
208
+ TargetLogicallyAirGappedBackupVaultArn?: string | undefined;
201
209
  ScheduleExpression?: string | undefined;
202
210
  StartWindowMinutes?: number | undefined;
203
211
  CompletionWindowMinutes?: number | undefined;
@@ -387,6 +395,7 @@ export interface CopyJob {
387
395
  BackupSizeInBytes?: number | undefined;
388
396
  IamRoleArn?: string | undefined;
389
397
  CreatedBy?: RecoveryPointCreator | undefined;
398
+ CreatedByBackupJobId?: string | undefined;
390
399
  ResourceType?: string | undefined;
391
400
  ParentJobId?: string | undefined;
392
401
  IsParent?: boolean | undefined;
@@ -1226,6 +1235,7 @@ export interface ListCopyJobsInput {
1226
1235
  ByCompleteAfter?: Date | undefined;
1227
1236
  ByParentJobId?: string | undefined;
1228
1237
  ByMessageCategory?: string | undefined;
1238
+ BySourceRecoveryPointArn?: string | undefined;
1229
1239
  }
1230
1240
  export interface ListCopyJobsOutput {
1231
1241
  CopyJobs?: CopyJob[] | undefined;
@@ -1627,6 +1637,7 @@ export declare const Index: {
1627
1637
  export type Index = (typeof Index)[keyof typeof Index];
1628
1638
  export interface StartBackupJobInput {
1629
1639
  BackupVaultName: string | undefined;
1640
+ LogicallyAirGappedBackupVaultArn?: string | undefined;
1630
1641
  ResourceArn: string | undefined;
1631
1642
  IamRoleArn: string | undefined;
1632
1643
  IdempotencyToken?: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-backup",
3
3
  "description": "AWS SDK for JavaScript Backup Client for Node.js, Browser and React Native",
4
- "version": "3.931.0",
4
+ "version": "3.933.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-backup",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.931.0",
24
- "@aws-sdk/credential-provider-node": "3.931.0",
23
+ "@aws-sdk/core": "3.932.0",
24
+ "@aws-sdk/credential-provider-node": "3.933.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.930.0",
28
- "@aws-sdk/middleware-user-agent": "3.931.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
+ "@aws-sdk/middleware-user-agent": "3.932.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.931.0",
33
+ "@aws-sdk/util-user-agent-node": "3.932.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
35
  "@smithy/core": "^3.18.2",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",