@aws-sdk/client-backup 3.908.0 → 3.911.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +18 -0
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/protocols/Aws_restJson1.js +18 -0
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +13 -0
- package/dist-types/commands/DescribeCopyJobCommand.d.ts +12 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +4 -0
- package/dist-types/commands/DescribeRestoreJobCommand.d.ts +2 -0
- package/dist-types/commands/ListBackupJobsCommand.d.ts +13 -0
- package/dist-types/commands/ListCopyJobsCommand.d.ts +12 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +4 -0
- package/dist-types/commands/ListRestoreJobsByProtectedResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListRestoreJobsCommand.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +179 -36
- package/dist-types/ts3.4/models/models_0.d.ts +27 -5
- package/package.json +33 -33
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -2240,21 +2240,26 @@ const de_DescribeBackupJobCommand = async (output, context) => {
|
|
|
2240
2240
|
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2241
2241
|
CreatedBy: smithyClient._json,
|
|
2242
2242
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2243
|
+
EncryptionKeyArn: smithyClient.expectString,
|
|
2243
2244
|
ExpectedCompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2244
2245
|
IamRoleArn: smithyClient.expectString,
|
|
2245
2246
|
InitiationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2247
|
+
IsEncrypted: smithyClient.expectBoolean,
|
|
2246
2248
|
IsParent: smithyClient.expectBoolean,
|
|
2247
2249
|
MessageCategory: smithyClient.expectString,
|
|
2248
2250
|
NumberOfChildJobs: smithyClient.expectLong,
|
|
2249
2251
|
ParentJobId: smithyClient.expectString,
|
|
2250
2252
|
PercentDone: smithyClient.expectString,
|
|
2251
2253
|
RecoveryPointArn: smithyClient.expectString,
|
|
2254
|
+
RecoveryPointLifecycle: smithyClient._json,
|
|
2252
2255
|
ResourceArn: smithyClient.expectString,
|
|
2253
2256
|
ResourceName: smithyClient.expectString,
|
|
2254
2257
|
ResourceType: smithyClient.expectString,
|
|
2255
2258
|
StartBy: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2256
2259
|
State: smithyClient.expectString,
|
|
2257
2260
|
StatusMessage: smithyClient.expectString,
|
|
2261
|
+
VaultLockState: smithyClient.expectString,
|
|
2262
|
+
VaultType: smithyClient.expectString,
|
|
2258
2263
|
});
|
|
2259
2264
|
Object.assign(contents, doc);
|
|
2260
2265
|
return contents;
|
|
@@ -2454,6 +2459,7 @@ const de_DescribeRestoreJobCommand = async (output, context) => {
|
|
|
2454
2459
|
const doc = smithyClient.take(data, {
|
|
2455
2460
|
AccountId: smithyClient.expectString,
|
|
2456
2461
|
BackupSizeInBytes: smithyClient.expectLong,
|
|
2462
|
+
BackupVaultArn: smithyClient.expectString,
|
|
2457
2463
|
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2458
2464
|
CreatedBy: smithyClient._json,
|
|
2459
2465
|
CreatedResourceArn: smithyClient.expectString,
|
|
@@ -2467,6 +2473,7 @@ const de_DescribeRestoreJobCommand = async (output, context) => {
|
|
|
2467
2473
|
RecoveryPointCreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2468
2474
|
ResourceType: smithyClient.expectString,
|
|
2469
2475
|
RestoreJobId: smithyClient.expectString,
|
|
2476
|
+
SourceResourceArn: smithyClient.expectString,
|
|
2470
2477
|
Status: smithyClient.expectString,
|
|
2471
2478
|
StatusMessage: smithyClient.expectString,
|
|
2472
2479
|
ValidationStatus: smithyClient.expectString,
|
|
@@ -3662,20 +3669,25 @@ const de_BackupJob = (output, context) => {
|
|
|
3662
3669
|
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3663
3670
|
CreatedBy: smithyClient._json,
|
|
3664
3671
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3672
|
+
EncryptionKeyArn: smithyClient.expectString,
|
|
3665
3673
|
ExpectedCompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3666
3674
|
IamRoleArn: smithyClient.expectString,
|
|
3667
3675
|
InitiationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3676
|
+
IsEncrypted: smithyClient.expectBoolean,
|
|
3668
3677
|
IsParent: smithyClient.expectBoolean,
|
|
3669
3678
|
MessageCategory: smithyClient.expectString,
|
|
3670
3679
|
ParentJobId: smithyClient.expectString,
|
|
3671
3680
|
PercentDone: smithyClient.expectString,
|
|
3672
3681
|
RecoveryPointArn: smithyClient.expectString,
|
|
3682
|
+
RecoveryPointLifecycle: smithyClient._json,
|
|
3673
3683
|
ResourceArn: smithyClient.expectString,
|
|
3674
3684
|
ResourceName: smithyClient.expectString,
|
|
3675
3685
|
ResourceType: smithyClient.expectString,
|
|
3676
3686
|
StartBy: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3677
3687
|
State: smithyClient.expectString,
|
|
3678
3688
|
StatusMessage: smithyClient.expectString,
|
|
3689
|
+
VaultLockState: smithyClient.expectString,
|
|
3690
|
+
VaultType: smithyClient.expectString,
|
|
3679
3691
|
});
|
|
3680
3692
|
};
|
|
3681
3693
|
const de_BackupJobsList = (output, context) => {
|
|
@@ -3794,7 +3806,11 @@ const de_CopyJob = (output, context) => {
|
|
|
3794
3806
|
CreatedBy: smithyClient._json,
|
|
3795
3807
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3796
3808
|
DestinationBackupVaultArn: smithyClient.expectString,
|
|
3809
|
+
DestinationEncryptionKeyArn: smithyClient.expectString,
|
|
3797
3810
|
DestinationRecoveryPointArn: smithyClient.expectString,
|
|
3811
|
+
DestinationRecoveryPointLifecycle: smithyClient._json,
|
|
3812
|
+
DestinationVaultLockState: smithyClient.expectString,
|
|
3813
|
+
DestinationVaultType: smithyClient.expectString,
|
|
3798
3814
|
IamRoleArn: smithyClient.expectString,
|
|
3799
3815
|
IsParent: smithyClient.expectBoolean,
|
|
3800
3816
|
MessageCategory: smithyClient.expectString,
|
|
@@ -4077,6 +4093,7 @@ const de_RestoreJobsListMember = (output, context) => {
|
|
|
4077
4093
|
return smithyClient.take(output, {
|
|
4078
4094
|
AccountId: smithyClient.expectString,
|
|
4079
4095
|
BackupSizeInBytes: smithyClient.expectLong,
|
|
4096
|
+
BackupVaultArn: smithyClient.expectString,
|
|
4080
4097
|
CompletionDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
4081
4098
|
CreatedBy: smithyClient._json,
|
|
4082
4099
|
CreatedResourceArn: smithyClient.expectString,
|
|
@@ -4090,6 +4107,7 @@ const de_RestoreJobsListMember = (output, context) => {
|
|
|
4090
4107
|
RecoveryPointCreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
4091
4108
|
ResourceType: smithyClient.expectString,
|
|
4092
4109
|
RestoreJobId: smithyClient.expectString,
|
|
4110
|
+
SourceResourceArn: smithyClient.expectString,
|
|
4093
4111
|
Status: smithyClient.expectString,
|
|
4094
4112
|
StatusMessage: smithyClient.expectString,
|
|
4095
4113
|
ValidationStatus: smithyClient.expectString,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://backup-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://backup.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://backup.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1628,21 +1628,26 @@ export const de_DescribeBackupJobCommand = async (output, context) => {
|
|
|
1628
1628
|
CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1629
1629
|
CreatedBy: _json,
|
|
1630
1630
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1631
|
+
EncryptionKeyArn: __expectString,
|
|
1631
1632
|
ExpectedCompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1632
1633
|
IamRoleArn: __expectString,
|
|
1633
1634
|
InitiationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1635
|
+
IsEncrypted: __expectBoolean,
|
|
1634
1636
|
IsParent: __expectBoolean,
|
|
1635
1637
|
MessageCategory: __expectString,
|
|
1636
1638
|
NumberOfChildJobs: __expectLong,
|
|
1637
1639
|
ParentJobId: __expectString,
|
|
1638
1640
|
PercentDone: __expectString,
|
|
1639
1641
|
RecoveryPointArn: __expectString,
|
|
1642
|
+
RecoveryPointLifecycle: _json,
|
|
1640
1643
|
ResourceArn: __expectString,
|
|
1641
1644
|
ResourceName: __expectString,
|
|
1642
1645
|
ResourceType: __expectString,
|
|
1643
1646
|
StartBy: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1644
1647
|
State: __expectString,
|
|
1645
1648
|
StatusMessage: __expectString,
|
|
1649
|
+
VaultLockState: __expectString,
|
|
1650
|
+
VaultType: __expectString,
|
|
1646
1651
|
});
|
|
1647
1652
|
Object.assign(contents, doc);
|
|
1648
1653
|
return contents;
|
|
@@ -1842,6 +1847,7 @@ export const de_DescribeRestoreJobCommand = async (output, context) => {
|
|
|
1842
1847
|
const doc = take(data, {
|
|
1843
1848
|
AccountId: __expectString,
|
|
1844
1849
|
BackupSizeInBytes: __expectLong,
|
|
1850
|
+
BackupVaultArn: __expectString,
|
|
1845
1851
|
CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1846
1852
|
CreatedBy: _json,
|
|
1847
1853
|
CreatedResourceArn: __expectString,
|
|
@@ -1855,6 +1861,7 @@ export const de_DescribeRestoreJobCommand = async (output, context) => {
|
|
|
1855
1861
|
RecoveryPointCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1856
1862
|
ResourceType: __expectString,
|
|
1857
1863
|
RestoreJobId: __expectString,
|
|
1864
|
+
SourceResourceArn: __expectString,
|
|
1858
1865
|
Status: __expectString,
|
|
1859
1866
|
StatusMessage: __expectString,
|
|
1860
1867
|
ValidationStatus: __expectString,
|
|
@@ -3050,20 +3057,25 @@ const de_BackupJob = (output, context) => {
|
|
|
3050
3057
|
CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3051
3058
|
CreatedBy: _json,
|
|
3052
3059
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3060
|
+
EncryptionKeyArn: __expectString,
|
|
3053
3061
|
ExpectedCompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3054
3062
|
IamRoleArn: __expectString,
|
|
3055
3063
|
InitiationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3064
|
+
IsEncrypted: __expectBoolean,
|
|
3056
3065
|
IsParent: __expectBoolean,
|
|
3057
3066
|
MessageCategory: __expectString,
|
|
3058
3067
|
ParentJobId: __expectString,
|
|
3059
3068
|
PercentDone: __expectString,
|
|
3060
3069
|
RecoveryPointArn: __expectString,
|
|
3070
|
+
RecoveryPointLifecycle: _json,
|
|
3061
3071
|
ResourceArn: __expectString,
|
|
3062
3072
|
ResourceName: __expectString,
|
|
3063
3073
|
ResourceType: __expectString,
|
|
3064
3074
|
StartBy: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3065
3075
|
State: __expectString,
|
|
3066
3076
|
StatusMessage: __expectString,
|
|
3077
|
+
VaultLockState: __expectString,
|
|
3078
|
+
VaultType: __expectString,
|
|
3067
3079
|
});
|
|
3068
3080
|
};
|
|
3069
3081
|
const de_BackupJobsList = (output, context) => {
|
|
@@ -3182,7 +3194,11 @@ const de_CopyJob = (output, context) => {
|
|
|
3182
3194
|
CreatedBy: _json,
|
|
3183
3195
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3184
3196
|
DestinationBackupVaultArn: __expectString,
|
|
3197
|
+
DestinationEncryptionKeyArn: __expectString,
|
|
3185
3198
|
DestinationRecoveryPointArn: __expectString,
|
|
3199
|
+
DestinationRecoveryPointLifecycle: _json,
|
|
3200
|
+
DestinationVaultLockState: __expectString,
|
|
3201
|
+
DestinationVaultType: __expectString,
|
|
3186
3202
|
IamRoleArn: __expectString,
|
|
3187
3203
|
IsParent: __expectBoolean,
|
|
3188
3204
|
MessageCategory: __expectString,
|
|
@@ -3465,6 +3481,7 @@ const de_RestoreJobsListMember = (output, context) => {
|
|
|
3465
3481
|
return take(output, {
|
|
3466
3482
|
AccountId: __expectString,
|
|
3467
3483
|
BackupSizeInBytes: __expectLong,
|
|
3484
|
+
BackupVaultArn: __expectString,
|
|
3468
3485
|
CompletionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3469
3486
|
CreatedBy: _json,
|
|
3470
3487
|
CreatedResourceArn: __expectString,
|
|
@@ -3478,6 +3495,7 @@ const de_RestoreJobsListMember = (output, context) => {
|
|
|
3478
3495
|
RecoveryPointCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3479
3496
|
ResourceType: __expectString,
|
|
3480
3497
|
RestoreJobId: __expectString,
|
|
3498
|
+
SourceResourceArn: __expectString,
|
|
3481
3499
|
Status: __expectString,
|
|
3482
3500
|
StatusMessage: __expectString,
|
|
3483
3501
|
ValidationStatus: __expectString,
|
|
@@ -45,8 +45,17 @@ declare const DescribeBackupJobCommand_base: {
|
|
|
45
45
|
* // AccountId: "STRING_VALUE",
|
|
46
46
|
* // BackupJobId: "STRING_VALUE",
|
|
47
47
|
* // BackupVaultName: "STRING_VALUE",
|
|
48
|
+
* // RecoveryPointLifecycle: { // Lifecycle
|
|
49
|
+
* // MoveToColdStorageAfterDays: Number("long"),
|
|
50
|
+
* // DeleteAfterDays: Number("long"),
|
|
51
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
52
|
+
* // },
|
|
48
53
|
* // BackupVaultArn: "STRING_VALUE",
|
|
54
|
+
* // VaultType: "STRING_VALUE",
|
|
55
|
+
* // VaultLockState: "STRING_VALUE",
|
|
49
56
|
* // RecoveryPointArn: "STRING_VALUE",
|
|
57
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
58
|
+
* // IsEncrypted: true || false,
|
|
50
59
|
* // ResourceArn: "STRING_VALUE",
|
|
51
60
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
52
61
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
@@ -58,8 +67,12 @@ declare const DescribeBackupJobCommand_base: {
|
|
|
58
67
|
* // CreatedBy: { // RecoveryPointCreator
|
|
59
68
|
* // BackupPlanId: "STRING_VALUE",
|
|
60
69
|
* // BackupPlanArn: "STRING_VALUE",
|
|
70
|
+
* // BackupPlanName: "STRING_VALUE",
|
|
61
71
|
* // BackupPlanVersion: "STRING_VALUE",
|
|
62
72
|
* // BackupRuleId: "STRING_VALUE",
|
|
73
|
+
* // BackupRuleName: "STRING_VALUE",
|
|
74
|
+
* // BackupRuleCron: "STRING_VALUE",
|
|
75
|
+
* // BackupRuleTimezone: "STRING_VALUE",
|
|
63
76
|
* // },
|
|
64
77
|
* // ResourceType: "STRING_VALUE",
|
|
65
78
|
* // BytesTransferred: Number("long"),
|
|
@@ -48,7 +48,15 @@ declare const DescribeCopyJobCommand_base: {
|
|
|
48
48
|
* // SourceBackupVaultArn: "STRING_VALUE",
|
|
49
49
|
* // SourceRecoveryPointArn: "STRING_VALUE",
|
|
50
50
|
* // DestinationBackupVaultArn: "STRING_VALUE",
|
|
51
|
+
* // DestinationVaultType: "STRING_VALUE",
|
|
52
|
+
* // DestinationVaultLockState: "STRING_VALUE",
|
|
51
53
|
* // DestinationRecoveryPointArn: "STRING_VALUE",
|
|
54
|
+
* // DestinationEncryptionKeyArn: "STRING_VALUE",
|
|
55
|
+
* // DestinationRecoveryPointLifecycle: { // Lifecycle
|
|
56
|
+
* // MoveToColdStorageAfterDays: Number("long"),
|
|
57
|
+
* // DeleteAfterDays: Number("long"),
|
|
58
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
59
|
+
* // },
|
|
52
60
|
* // ResourceArn: "STRING_VALUE",
|
|
53
61
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
54
62
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
@@ -59,8 +67,12 @@ declare const DescribeCopyJobCommand_base: {
|
|
|
59
67
|
* // CreatedBy: { // RecoveryPointCreator
|
|
60
68
|
* // BackupPlanId: "STRING_VALUE",
|
|
61
69
|
* // BackupPlanArn: "STRING_VALUE",
|
|
70
|
+
* // BackupPlanName: "STRING_VALUE",
|
|
62
71
|
* // BackupPlanVersion: "STRING_VALUE",
|
|
63
72
|
* // BackupRuleId: "STRING_VALUE",
|
|
73
|
+
* // BackupRuleName: "STRING_VALUE",
|
|
74
|
+
* // BackupRuleCron: "STRING_VALUE",
|
|
75
|
+
* // BackupRuleTimezone: "STRING_VALUE",
|
|
64
76
|
* // },
|
|
65
77
|
* // ResourceType: "STRING_VALUE",
|
|
66
78
|
* // ParentJobId: "STRING_VALUE",
|
|
@@ -54,8 +54,12 @@ declare const DescribeRecoveryPointCommand_base: {
|
|
|
54
54
|
* // CreatedBy: { // RecoveryPointCreator
|
|
55
55
|
* // BackupPlanId: "STRING_VALUE",
|
|
56
56
|
* // BackupPlanArn: "STRING_VALUE",
|
|
57
|
+
* // BackupPlanName: "STRING_VALUE",
|
|
57
58
|
* // BackupPlanVersion: "STRING_VALUE",
|
|
58
59
|
* // BackupRuleId: "STRING_VALUE",
|
|
60
|
+
* // BackupRuleName: "STRING_VALUE",
|
|
61
|
+
* // BackupRuleCron: "STRING_VALUE",
|
|
62
|
+
* // BackupRuleTimezone: "STRING_VALUE",
|
|
59
63
|
* // },
|
|
60
64
|
* // IamRoleArn: "STRING_VALUE",
|
|
61
65
|
* // Status: "COMPLETED" || "PARTIAL" || "DELETING" || "EXPIRED" || "AVAILABLE" || "STOPPED" || "CREATING",
|
|
@@ -45,6 +45,8 @@ declare const DescribeRestoreJobCommand_base: {
|
|
|
45
45
|
* // AccountId: "STRING_VALUE",
|
|
46
46
|
* // RestoreJobId: "STRING_VALUE",
|
|
47
47
|
* // RecoveryPointArn: "STRING_VALUE",
|
|
48
|
+
* // SourceResourceArn: "STRING_VALUE",
|
|
49
|
+
* // BackupVaultArn: "STRING_VALUE",
|
|
48
50
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
49
51
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
50
52
|
* // Status: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
|
|
@@ -61,7 +61,16 @@ declare const ListBackupJobsCommand_base: {
|
|
|
61
61
|
* // BackupJobId: "STRING_VALUE",
|
|
62
62
|
* // BackupVaultName: "STRING_VALUE",
|
|
63
63
|
* // BackupVaultArn: "STRING_VALUE",
|
|
64
|
+
* // VaultType: "STRING_VALUE",
|
|
65
|
+
* // VaultLockState: "STRING_VALUE",
|
|
64
66
|
* // RecoveryPointArn: "STRING_VALUE",
|
|
67
|
+
* // RecoveryPointLifecycle: { // Lifecycle
|
|
68
|
+
* // MoveToColdStorageAfterDays: Number("long"),
|
|
69
|
+
* // DeleteAfterDays: Number("long"),
|
|
70
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
71
|
+
* // },
|
|
72
|
+
* // EncryptionKeyArn: "STRING_VALUE",
|
|
73
|
+
* // IsEncrypted: true || false,
|
|
65
74
|
* // ResourceArn: "STRING_VALUE",
|
|
66
75
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
67
76
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
@@ -73,8 +82,12 @@ declare const ListBackupJobsCommand_base: {
|
|
|
73
82
|
* // CreatedBy: { // RecoveryPointCreator
|
|
74
83
|
* // BackupPlanId: "STRING_VALUE",
|
|
75
84
|
* // BackupPlanArn: "STRING_VALUE",
|
|
85
|
+
* // BackupPlanName: "STRING_VALUE",
|
|
76
86
|
* // BackupPlanVersion: "STRING_VALUE",
|
|
77
87
|
* // BackupRuleId: "STRING_VALUE",
|
|
88
|
+
* // BackupRuleName: "STRING_VALUE",
|
|
89
|
+
* // BackupRuleCron: "STRING_VALUE",
|
|
90
|
+
* // BackupRuleTimezone: "STRING_VALUE",
|
|
78
91
|
* // },
|
|
79
92
|
* // ExpectedCompletionDate: new Date("TIMESTAMP"),
|
|
80
93
|
* // StartBy: new Date("TIMESTAMP"),
|
|
@@ -61,7 +61,15 @@ declare const ListCopyJobsCommand_base: {
|
|
|
61
61
|
* // SourceBackupVaultArn: "STRING_VALUE",
|
|
62
62
|
* // SourceRecoveryPointArn: "STRING_VALUE",
|
|
63
63
|
* // DestinationBackupVaultArn: "STRING_VALUE",
|
|
64
|
+
* // DestinationVaultType: "STRING_VALUE",
|
|
65
|
+
* // DestinationVaultLockState: "STRING_VALUE",
|
|
64
66
|
* // DestinationRecoveryPointArn: "STRING_VALUE",
|
|
67
|
+
* // DestinationEncryptionKeyArn: "STRING_VALUE",
|
|
68
|
+
* // DestinationRecoveryPointLifecycle: { // Lifecycle
|
|
69
|
+
* // MoveToColdStorageAfterDays: Number("long"),
|
|
70
|
+
* // DeleteAfterDays: Number("long"),
|
|
71
|
+
* // OptInToArchiveForSupportedResources: true || false,
|
|
72
|
+
* // },
|
|
65
73
|
* // ResourceArn: "STRING_VALUE",
|
|
66
74
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
67
75
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
@@ -72,8 +80,12 @@ declare const ListCopyJobsCommand_base: {
|
|
|
72
80
|
* // CreatedBy: { // RecoveryPointCreator
|
|
73
81
|
* // BackupPlanId: "STRING_VALUE",
|
|
74
82
|
* // BackupPlanArn: "STRING_VALUE",
|
|
83
|
+
* // BackupPlanName: "STRING_VALUE",
|
|
75
84
|
* // BackupPlanVersion: "STRING_VALUE",
|
|
76
85
|
* // BackupRuleId: "STRING_VALUE",
|
|
86
|
+
* // BackupRuleName: "STRING_VALUE",
|
|
87
|
+
* // BackupRuleCron: "STRING_VALUE",
|
|
88
|
+
* // BackupRuleTimezone: "STRING_VALUE",
|
|
77
89
|
* // },
|
|
78
90
|
* // ResourceType: "STRING_VALUE",
|
|
79
91
|
* // ParentJobId: "STRING_VALUE",
|
|
@@ -63,8 +63,12 @@ declare const ListRecoveryPointsByBackupVaultCommand_base: {
|
|
|
63
63
|
* // CreatedBy: { // RecoveryPointCreator
|
|
64
64
|
* // BackupPlanId: "STRING_VALUE",
|
|
65
65
|
* // BackupPlanArn: "STRING_VALUE",
|
|
66
|
+
* // BackupPlanName: "STRING_VALUE",
|
|
66
67
|
* // BackupPlanVersion: "STRING_VALUE",
|
|
67
68
|
* // BackupRuleId: "STRING_VALUE",
|
|
69
|
+
* // BackupRuleName: "STRING_VALUE",
|
|
70
|
+
* // BackupRuleCron: "STRING_VALUE",
|
|
71
|
+
* // BackupRuleTimezone: "STRING_VALUE",
|
|
68
72
|
* // },
|
|
69
73
|
* // IamRoleArn: "STRING_VALUE",
|
|
70
74
|
* // Status: "COMPLETED" || "PARTIAL" || "DELETING" || "EXPIRED" || "AVAILABLE" || "STOPPED" || "CREATING",
|
|
@@ -56,6 +56,8 @@ declare const ListRestoreJobsByProtectedResourceCommand_base: {
|
|
|
56
56
|
* // AccountId: "STRING_VALUE",
|
|
57
57
|
* // RestoreJobId: "STRING_VALUE",
|
|
58
58
|
* // RecoveryPointArn: "STRING_VALUE",
|
|
59
|
+
* // SourceResourceArn: "STRING_VALUE",
|
|
60
|
+
* // BackupVaultArn: "STRING_VALUE",
|
|
59
61
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
60
62
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
61
63
|
* // Status: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
|
|
@@ -57,6 +57,8 @@ declare const ListRestoreJobsCommand_base: {
|
|
|
57
57
|
* // AccountId: "STRING_VALUE",
|
|
58
58
|
* // RestoreJobId: "STRING_VALUE",
|
|
59
59
|
* // RecoveryPointArn: "STRING_VALUE",
|
|
60
|
+
* // SourceResourceArn: "STRING_VALUE",
|
|
61
|
+
* // BackupVaultArn: "STRING_VALUE",
|
|
60
62
|
* // CreationDate: new Date("TIMESTAMP"),
|
|
61
63
|
* // CompletionDate: new Date("TIMESTAMP"),
|
|
62
64
|
* // Status: "PENDING" || "RUNNING" || "COMPLETED" || "ABORTED" || "FAILED",
|
|
@@ -15,13 +15,16 @@ export interface AdvancedBackupSetting {
|
|
|
15
15
|
*/
|
|
16
16
|
ResourceType?: string | undefined;
|
|
17
17
|
/**
|
|
18
|
-
* <p>Specifies the backup option for a selected resource. This option is
|
|
19
|
-
* Windows VSS backup jobs.</p>
|
|
18
|
+
* <p>Specifies the backup option for a selected resource. This option is available for
|
|
19
|
+
* Windows VSS backup jobs and S3 backups.</p>
|
|
20
20
|
* <p>Valid values: </p>
|
|
21
21
|
* <p>Set to <code>"WindowsVSS":"enabled"</code> to enable the <code>WindowsVSS</code> backup
|
|
22
22
|
* option and create a Windows VSS backup. </p>
|
|
23
23
|
* <p>Set to <code>"WindowsVSS":"disabled"</code> to create a regular backup. The
|
|
24
24
|
* <code>WindowsVSS</code> option is not enabled by default.</p>
|
|
25
|
+
* <p>For S3 backups, set to <code>"S3BackupACLs":"disabled"</code> to exclude ACLs from the backup,
|
|
26
|
+
* or <code>"S3BackupObjectTags":"disabled"</code> to exclude object tags from the backup.
|
|
27
|
+
* By default, both ACLs and object tags are included in S3 backups.</p>
|
|
25
28
|
* <p>If you specify an invalid option, you get an <code>InvalidParameterValueException</code>
|
|
26
29
|
* exception.</p>
|
|
27
30
|
* <p>For more information about Windows VSS backups, see <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/windows-backups.html">Creating a VSS-Enabled Windows
|
|
@@ -236,6 +239,11 @@ export interface RecoveryPointCreator {
|
|
|
236
239
|
* @public
|
|
237
240
|
*/
|
|
238
241
|
BackupPlanArn?: string | undefined;
|
|
242
|
+
/**
|
|
243
|
+
* <p>The name of the backup plan that created this recovery point. This provides human-readable context about which backup plan was responsible for the backup job.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
BackupPlanName?: string | undefined;
|
|
239
247
|
/**
|
|
240
248
|
* <p>Version IDs are unique, randomly generated, Unicode, UTF-8 encoded strings that are at
|
|
241
249
|
* most 1,024 bytes long. They cannot be edited.</p>
|
|
@@ -248,6 +256,55 @@ export interface RecoveryPointCreator {
|
|
|
248
256
|
* @public
|
|
249
257
|
*/
|
|
250
258
|
BackupRuleId?: string | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The name of the backup rule within the backup plan that created this recovery point. This helps identify which specific rule triggered the backup job.</p>
|
|
261
|
+
* @public
|
|
262
|
+
*/
|
|
263
|
+
BackupRuleName?: string | undefined;
|
|
264
|
+
/**
|
|
265
|
+
* <p>The cron expression that defines the schedule for the backup rule. This shows the frequency and timing of when backups are automatically triggered.</p>
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
268
|
+
BackupRuleCron?: string | undefined;
|
|
269
|
+
/**
|
|
270
|
+
* <p>The timezone used for the backup rule schedule. This provides context for when backups are scheduled to run in the specified timezone.</p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
BackupRuleTimezone?: string | undefined;
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* <p>Specifies the time period, in days, before a recovery point transitions to cold storage
|
|
277
|
+
* or is deleted.</p>
|
|
278
|
+
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
279
|
+
* days. Therefore, on the console, the retention setting must be 90 days greater than the
|
|
280
|
+
* transition to cold after days setting. The transition to cold after days setting can't
|
|
281
|
+
* be changed after a backup has been transitioned to cold.</p>
|
|
282
|
+
* <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature
|
|
283
|
+
* availability by resource</a> table. Backup ignores this expression for
|
|
284
|
+
* other resource types.</p>
|
|
285
|
+
* <p>To remove the existing lifecycle and retention periods and keep your recovery points indefinitely,
|
|
286
|
+
* specify -1 for <code>MoveToColdStorageAfterDays</code> and <code>DeleteAfterDays</code>.</p>
|
|
287
|
+
* @public
|
|
288
|
+
*/
|
|
289
|
+
export interface Lifecycle {
|
|
290
|
+
/**
|
|
291
|
+
* <p>The number of days after creation that a recovery point is moved to cold
|
|
292
|
+
* storage.</p>
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
MoveToColdStorageAfterDays?: number | undefined;
|
|
296
|
+
/**
|
|
297
|
+
* <p>The number of days after creation that a recovery point is deleted. This value must be
|
|
298
|
+
* at least 90 days after the number of days specified in <code>MoveToColdStorageAfterDays</code>.</p>
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
DeleteAfterDays?: number | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* <p>If the value is true, your backup plan transitions supported resources to
|
|
304
|
+
* archive (cold) storage tier in accordance with your lifecycle settings.</p>
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
307
|
+
OptInToArchiveForSupportedResources?: boolean | undefined;
|
|
251
308
|
}
|
|
252
309
|
/**
|
|
253
310
|
* @public
|
|
@@ -296,12 +353,47 @@ export interface BackupJob {
|
|
|
296
353
|
* @public
|
|
297
354
|
*/
|
|
298
355
|
BackupVaultArn?: string | undefined;
|
|
356
|
+
/**
|
|
357
|
+
* <p>The type of backup vault where the recovery point is stored. Valid values are <code>BACKUP_VAULT</code> for standard backup vaults and <code>LOGICALLY_AIR_GAPPED_BACKUP_VAULT</code> for logically air-gapped vaults.</p>
|
|
358
|
+
* @public
|
|
359
|
+
*/
|
|
360
|
+
VaultType?: string | undefined;
|
|
361
|
+
/**
|
|
362
|
+
* <p>The lock state of the backup vault. For logically air-gapped vaults, this indicates whether the vault is locked in compliance mode. Valid values include <code>LOCKED</code> and <code>UNLOCKED</code>.</p>
|
|
363
|
+
* @public
|
|
364
|
+
*/
|
|
365
|
+
VaultLockState?: string | undefined;
|
|
299
366
|
/**
|
|
300
367
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|
301
368
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|
302
369
|
* @public
|
|
303
370
|
*/
|
|
304
371
|
RecoveryPointArn?: string | undefined;
|
|
372
|
+
/**
|
|
373
|
+
* <p>Specifies the time period, in days, before a recovery point transitions to cold storage
|
|
374
|
+
* or is deleted.</p>
|
|
375
|
+
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
376
|
+
* days. Therefore, on the console, the retention setting must be 90 days greater than the
|
|
377
|
+
* transition to cold after days setting. The transition to cold after days setting can't
|
|
378
|
+
* be changed after a backup has been transitioned to cold.</p>
|
|
379
|
+
* <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature
|
|
380
|
+
* availability by resource</a> table. Backup ignores this expression for
|
|
381
|
+
* other resource types.</p>
|
|
382
|
+
* <p>To remove the existing lifecycle and retention periods and keep your recovery points indefinitely,
|
|
383
|
+
* specify -1 for <code>MoveToColdStorageAfterDays</code> and <code>DeleteAfterDays</code>.</p>
|
|
384
|
+
* @public
|
|
385
|
+
*/
|
|
386
|
+
RecoveryPointLifecycle?: Lifecycle | undefined;
|
|
387
|
+
/**
|
|
388
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the backup. This can be a customer-managed key or an Amazon Web Services managed key, depending on the vault configuration.</p>
|
|
389
|
+
* @public
|
|
390
|
+
*/
|
|
391
|
+
EncryptionKeyArn?: string | undefined;
|
|
392
|
+
/**
|
|
393
|
+
* <p>A boolean value indicating whether the backup is encrypted. All backups in Backup are encrypted, but this field indicates the encryption status for transparency.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
IsEncrypted?: boolean | undefined;
|
|
305
397
|
/**
|
|
306
398
|
* <p>An ARN that uniquely identifies a resource. The format of the ARN depends on the
|
|
307
399
|
* resource type.</p>
|
|
@@ -572,40 +664,6 @@ export interface BackupJobSummary {
|
|
|
572
664
|
*/
|
|
573
665
|
EndTime?: Date | undefined;
|
|
574
666
|
}
|
|
575
|
-
/**
|
|
576
|
-
* <p>Specifies the time period, in days, before a recovery point transitions to cold storage
|
|
577
|
-
* or is deleted.</p>
|
|
578
|
-
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
579
|
-
* days. Therefore, on the console, the retention setting must be 90 days greater than the
|
|
580
|
-
* transition to cold after days setting. The transition to cold after days setting can't
|
|
581
|
-
* be changed after a backup has been transitioned to cold.</p>
|
|
582
|
-
* <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature
|
|
583
|
-
* availability by resource</a> table. Backup ignores this expression for
|
|
584
|
-
* other resource types.</p>
|
|
585
|
-
* <p>To remove the existing lifecycle and retention periods and keep your recovery points indefinitely,
|
|
586
|
-
* specify -1 for <code>MoveToColdStorageAfterDays</code> and <code>DeleteAfterDays</code>.</p>
|
|
587
|
-
* @public
|
|
588
|
-
*/
|
|
589
|
-
export interface Lifecycle {
|
|
590
|
-
/**
|
|
591
|
-
* <p>The number of days after creation that a recovery point is moved to cold
|
|
592
|
-
* storage.</p>
|
|
593
|
-
* @public
|
|
594
|
-
*/
|
|
595
|
-
MoveToColdStorageAfterDays?: number | undefined;
|
|
596
|
-
/**
|
|
597
|
-
* <p>The number of days after creation that a recovery point is deleted. This value must be
|
|
598
|
-
* at least 90 days after the number of days specified in <code>MoveToColdStorageAfterDays</code>.</p>
|
|
599
|
-
* @public
|
|
600
|
-
*/
|
|
601
|
-
DeleteAfterDays?: number | undefined;
|
|
602
|
-
/**
|
|
603
|
-
* <p>If the value is true, your backup plan transitions supported resources to
|
|
604
|
-
* archive (cold) storage tier in accordance with your lifecycle settings.</p>
|
|
605
|
-
* @public
|
|
606
|
-
*/
|
|
607
|
-
OptInToArchiveForSupportedResources?: boolean | undefined;
|
|
608
|
-
}
|
|
609
667
|
/**
|
|
610
668
|
* <p>The details of the copy operation.</p>
|
|
611
669
|
* @public
|
|
@@ -1565,12 +1623,42 @@ export interface CopyJob {
|
|
|
1565
1623
|
* @public
|
|
1566
1624
|
*/
|
|
1567
1625
|
DestinationBackupVaultArn?: string | undefined;
|
|
1626
|
+
/**
|
|
1627
|
+
* <p>The type of destination backup vault where the copied recovery point is stored. Valid values are <code>BACKUP_VAULT</code> for standard backup vaults and <code>LOGICALLY_AIR_GAPPED_BACKUP_VAULT</code> for logically air-gapped vaults.</p>
|
|
1628
|
+
* @public
|
|
1629
|
+
*/
|
|
1630
|
+
DestinationVaultType?: string | undefined;
|
|
1631
|
+
/**
|
|
1632
|
+
* <p>The lock state of the destination backup vault. For logically air-gapped vaults, this indicates whether the vault is locked in compliance mode. Valid values include <code>LOCKED</code> and <code>UNLOCKED</code>.</p>
|
|
1633
|
+
* @public
|
|
1634
|
+
*/
|
|
1635
|
+
DestinationVaultLockState?: string | undefined;
|
|
1568
1636
|
/**
|
|
1569
1637
|
* <p>An ARN that uniquely identifies a destination recovery point; for example,
|
|
1570
1638
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|
1571
1639
|
* @public
|
|
1572
1640
|
*/
|
|
1573
1641
|
DestinationRecoveryPointArn?: string | undefined;
|
|
1642
|
+
/**
|
|
1643
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied backup in the destination vault. This can be a customer-managed key or an Amazon Web Services managed key.</p>
|
|
1644
|
+
* @public
|
|
1645
|
+
*/
|
|
1646
|
+
DestinationEncryptionKeyArn?: string | undefined;
|
|
1647
|
+
/**
|
|
1648
|
+
* <p>Specifies the time period, in days, before a recovery point transitions to cold storage
|
|
1649
|
+
* or is deleted.</p>
|
|
1650
|
+
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
1651
|
+
* days. Therefore, on the console, the retention setting must be 90 days greater than the
|
|
1652
|
+
* transition to cold after days setting. The transition to cold after days setting can't
|
|
1653
|
+
* be changed after a backup has been transitioned to cold.</p>
|
|
1654
|
+
* <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature
|
|
1655
|
+
* availability by resource</a> table. Backup ignores this expression for
|
|
1656
|
+
* other resource types.</p>
|
|
1657
|
+
* <p>To remove the existing lifecycle and retention periods and keep your recovery points indefinitely,
|
|
1658
|
+
* specify -1 for <code>MoveToColdStorageAfterDays</code> and <code>DeleteAfterDays</code>.</p>
|
|
1659
|
+
* @public
|
|
1660
|
+
*/
|
|
1661
|
+
DestinationRecoveryPointLifecycle?: Lifecycle | undefined;
|
|
1574
1662
|
/**
|
|
1575
1663
|
* <p>The Amazon Web Services resource to be copied; for example, an Amazon Elastic Block Store
|
|
1576
1664
|
* (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS)
|
|
@@ -3133,18 +3221,53 @@ export interface DescribeBackupJobOutput {
|
|
|
3133
3221
|
* @public
|
|
3134
3222
|
*/
|
|
3135
3223
|
BackupVaultName?: string | undefined;
|
|
3224
|
+
/**
|
|
3225
|
+
* <p>Specifies the time period, in days, before a recovery point transitions to cold storage
|
|
3226
|
+
* or is deleted.</p>
|
|
3227
|
+
* <p>Backups transitioned to cold storage must be stored in cold storage for a minimum of 90
|
|
3228
|
+
* days. Therefore, on the console, the retention setting must be 90 days greater than the
|
|
3229
|
+
* transition to cold after days setting. The transition to cold after days setting can't
|
|
3230
|
+
* be changed after a backup has been transitioned to cold.</p>
|
|
3231
|
+
* <p>Resource types that can transition to cold storage are listed in the <a href="https://docs.aws.amazon.com/aws-backup/latest/devguide/backup-feature-availability.html#features-by-resource">Feature
|
|
3232
|
+
* availability by resource</a> table. Backup ignores this expression for
|
|
3233
|
+
* other resource types.</p>
|
|
3234
|
+
* <p>To remove the existing lifecycle and retention periods and keep your recovery points indefinitely,
|
|
3235
|
+
* specify -1 for <code>MoveToColdStorageAfterDays</code> and <code>DeleteAfterDays</code>.</p>
|
|
3236
|
+
* @public
|
|
3237
|
+
*/
|
|
3238
|
+
RecoveryPointLifecycle?: Lifecycle | undefined;
|
|
3136
3239
|
/**
|
|
3137
3240
|
* <p>An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example,
|
|
3138
3241
|
* <code>arn:aws:backup:us-east-1:123456789012:backup-vault:aBackupVault</code>.</p>
|
|
3139
3242
|
* @public
|
|
3140
3243
|
*/
|
|
3141
3244
|
BackupVaultArn?: string | undefined;
|
|
3245
|
+
/**
|
|
3246
|
+
* <p>The type of backup vault where the recovery point is stored. Valid values are <code>BACKUP_VAULT</code> for standard backup vaults and <code>LOGICALLY_AIR_GAPPED_BACKUP_VAULT</code> for logically air-gapped vaults.</p>
|
|
3247
|
+
* @public
|
|
3248
|
+
*/
|
|
3249
|
+
VaultType?: string | undefined;
|
|
3250
|
+
/**
|
|
3251
|
+
* <p>The lock state of the backup vault. For logically air-gapped vaults, this indicates whether the vault is locked in compliance mode. Valid values include <code>LOCKED</code> and <code>UNLOCKED</code>.</p>
|
|
3252
|
+
* @public
|
|
3253
|
+
*/
|
|
3254
|
+
VaultLockState?: string | undefined;
|
|
3142
3255
|
/**
|
|
3143
3256
|
* <p>An ARN that uniquely identifies a recovery point; for example,
|
|
3144
3257
|
* <code>arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45</code>.</p>
|
|
3145
3258
|
* @public
|
|
3146
3259
|
*/
|
|
3147
3260
|
RecoveryPointArn?: string | undefined;
|
|
3261
|
+
/**
|
|
3262
|
+
* <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the backup. This can be a customer-managed key or an Amazon Web Services managed key, depending on the vault configuration.</p>
|
|
3263
|
+
* @public
|
|
3264
|
+
*/
|
|
3265
|
+
EncryptionKeyArn?: string | undefined;
|
|
3266
|
+
/**
|
|
3267
|
+
* <p>A boolean value indicating whether the backup is encrypted. All backups in Backup are encrypted, but this field indicates the encryption status for transparency.</p>
|
|
3268
|
+
* @public
|
|
3269
|
+
*/
|
|
3270
|
+
IsEncrypted?: boolean | undefined;
|
|
3148
3271
|
/**
|
|
3149
3272
|
* <p>An ARN that uniquely identifies a saved resource. The format of the ARN depends on the
|
|
3150
3273
|
* resource type.</p>
|
|
@@ -4326,6 +4449,16 @@ export interface DescribeRestoreJobOutput {
|
|
|
4326
4449
|
* @public
|
|
4327
4450
|
*/
|
|
4328
4451
|
RecoveryPointArn?: string | undefined;
|
|
4452
|
+
/**
|
|
4453
|
+
* <p>The Amazon Resource Name (ARN) of the original resource that was backed up. This provides context about what resource is being restored.</p>
|
|
4454
|
+
* @public
|
|
4455
|
+
*/
|
|
4456
|
+
SourceResourceArn?: string | undefined;
|
|
4457
|
+
/**
|
|
4458
|
+
* <p>The Amazon Resource Name (ARN) of the backup vault containing the recovery point being restored. This helps identify vault access policies and permissions.</p>
|
|
4459
|
+
* @public
|
|
4460
|
+
*/
|
|
4461
|
+
BackupVaultArn?: string | undefined;
|
|
4329
4462
|
/**
|
|
4330
4463
|
* <p>The date and time that a restore job is created, in Unix format and Coordinated
|
|
4331
4464
|
* Universal Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds.
|
|
@@ -7564,6 +7697,16 @@ export interface RestoreJobsListMember {
|
|
|
7564
7697
|
* @public
|
|
7565
7698
|
*/
|
|
7566
7699
|
RecoveryPointArn?: string | undefined;
|
|
7700
|
+
/**
|
|
7701
|
+
* <p>The Amazon Resource Name (ARN) of the original resource that was backed up. This provides context about what resource is being restored.</p>
|
|
7702
|
+
* @public
|
|
7703
|
+
*/
|
|
7704
|
+
SourceResourceArn?: string | undefined;
|
|
7705
|
+
/**
|
|
7706
|
+
* <p>The Amazon Resource Name (ARN) of the backup vault containing the recovery point being restored. This helps identify vault access policies and permissions.</p>
|
|
7707
|
+
* @public
|
|
7708
|
+
*/
|
|
7709
|
+
BackupVaultArn?: string | undefined;
|
|
7567
7710
|
/**
|
|
7568
7711
|
* <p>The date and time a restore job is created, in Unix format and Coordinated Universal
|
|
7569
7712
|
* Time (UTC). The value of <code>CreationDate</code> is accurate to milliseconds. For
|
|
@@ -87,8 +87,17 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
87
87
|
export interface RecoveryPointCreator {
|
|
88
88
|
BackupPlanId?: string | undefined;
|
|
89
89
|
BackupPlanArn?: string | undefined;
|
|
90
|
+
BackupPlanName?: string | undefined;
|
|
90
91
|
BackupPlanVersion?: string | undefined;
|
|
91
92
|
BackupRuleId?: string | undefined;
|
|
93
|
+
BackupRuleName?: string | undefined;
|
|
94
|
+
BackupRuleCron?: string | undefined;
|
|
95
|
+
BackupRuleTimezone?: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface Lifecycle {
|
|
98
|
+
MoveToColdStorageAfterDays?: number | undefined;
|
|
99
|
+
DeleteAfterDays?: number | undefined;
|
|
100
|
+
OptInToArchiveForSupportedResources?: boolean | undefined;
|
|
92
101
|
}
|
|
93
102
|
export declare const BackupJobState: {
|
|
94
103
|
readonly ABORTED: "ABORTED";
|
|
@@ -108,7 +117,12 @@ export interface BackupJob {
|
|
|
108
117
|
BackupJobId?: string | undefined;
|
|
109
118
|
BackupVaultName?: string | undefined;
|
|
110
119
|
BackupVaultArn?: string | undefined;
|
|
120
|
+
VaultType?: string | undefined;
|
|
121
|
+
VaultLockState?: string | undefined;
|
|
111
122
|
RecoveryPointArn?: string | undefined;
|
|
123
|
+
RecoveryPointLifecycle?: Lifecycle | undefined;
|
|
124
|
+
EncryptionKeyArn?: string | undefined;
|
|
125
|
+
IsEncrypted?: boolean | undefined;
|
|
112
126
|
ResourceArn?: string | undefined;
|
|
113
127
|
CreationDate?: Date | undefined;
|
|
114
128
|
CompletionDate?: Date | undefined;
|
|
@@ -155,11 +169,6 @@ export interface BackupJobSummary {
|
|
|
155
169
|
StartTime?: Date | undefined;
|
|
156
170
|
EndTime?: Date | undefined;
|
|
157
171
|
}
|
|
158
|
-
export interface Lifecycle {
|
|
159
|
-
MoveToColdStorageAfterDays?: number | undefined;
|
|
160
|
-
DeleteAfterDays?: number | undefined;
|
|
161
|
-
OptInToArchiveForSupportedResources?: boolean | undefined;
|
|
162
|
-
}
|
|
163
172
|
export interface CopyAction {
|
|
164
173
|
Lifecycle?: Lifecycle | undefined;
|
|
165
174
|
DestinationBackupVaultArn: string | undefined;
|
|
@@ -358,7 +367,11 @@ export interface CopyJob {
|
|
|
358
367
|
SourceBackupVaultArn?: string | undefined;
|
|
359
368
|
SourceRecoveryPointArn?: string | undefined;
|
|
360
369
|
DestinationBackupVaultArn?: string | undefined;
|
|
370
|
+
DestinationVaultType?: string | undefined;
|
|
371
|
+
DestinationVaultLockState?: string | undefined;
|
|
361
372
|
DestinationRecoveryPointArn?: string | undefined;
|
|
373
|
+
DestinationEncryptionKeyArn?: string | undefined;
|
|
374
|
+
DestinationRecoveryPointLifecycle?: Lifecycle | undefined;
|
|
362
375
|
ResourceArn?: string | undefined;
|
|
363
376
|
CreationDate?: Date | undefined;
|
|
364
377
|
CompletionDate?: Date | undefined;
|
|
@@ -669,8 +682,13 @@ export interface DescribeBackupJobOutput {
|
|
|
669
682
|
AccountId?: string | undefined;
|
|
670
683
|
BackupJobId?: string | undefined;
|
|
671
684
|
BackupVaultName?: string | undefined;
|
|
685
|
+
RecoveryPointLifecycle?: Lifecycle | undefined;
|
|
672
686
|
BackupVaultArn?: string | undefined;
|
|
687
|
+
VaultType?: string | undefined;
|
|
688
|
+
VaultLockState?: string | undefined;
|
|
673
689
|
RecoveryPointArn?: string | undefined;
|
|
690
|
+
EncryptionKeyArn?: string | undefined;
|
|
691
|
+
IsEncrypted?: boolean | undefined;
|
|
674
692
|
ResourceArn?: string | undefined;
|
|
675
693
|
CreationDate?: Date | undefined;
|
|
676
694
|
CompletionDate?: Date | undefined;
|
|
@@ -902,6 +920,8 @@ export interface DescribeRestoreJobOutput {
|
|
|
902
920
|
AccountId?: string | undefined;
|
|
903
921
|
RestoreJobId?: string | undefined;
|
|
904
922
|
RecoveryPointArn?: string | undefined;
|
|
923
|
+
SourceResourceArn?: string | undefined;
|
|
924
|
+
BackupVaultArn?: string | undefined;
|
|
905
925
|
CreationDate?: Date | undefined;
|
|
906
926
|
CompletionDate?: Date | undefined;
|
|
907
927
|
Status?: RestoreJobStatus | undefined;
|
|
@@ -1445,6 +1465,8 @@ export interface RestoreJobsListMember {
|
|
|
1445
1465
|
AccountId?: string | undefined;
|
|
1446
1466
|
RestoreJobId?: string | undefined;
|
|
1447
1467
|
RecoveryPointArn?: string | undefined;
|
|
1468
|
+
SourceResourceArn?: string | undefined;
|
|
1469
|
+
BackupVaultArn?: string | undefined;
|
|
1448
1470
|
CreationDate?: Date | undefined;
|
|
1449
1471
|
CompletionDate?: Date | undefined;
|
|
1450
1472
|
Status?: RestoreJobStatus | 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.
|
|
4
|
+
"version": "3.911.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,41 +20,41 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
-
"@smithy/config-resolver": "^4.3.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/fetch-http-handler": "^5.3.
|
|
37
|
-
"@smithy/hash-node": "^4.2.
|
|
38
|
-
"@smithy/invalid-dependency": "^4.2.
|
|
39
|
-
"@smithy/middleware-content-length": "^4.2.
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
42
|
-
"@smithy/middleware-serde": "^4.2.
|
|
43
|
-
"@smithy/middleware-stack": "^4.2.
|
|
44
|
-
"@smithy/node-config-provider": "^4.3.
|
|
45
|
-
"@smithy/node-http-handler": "^4.
|
|
46
|
-
"@smithy/protocol-http": "^5.3.
|
|
47
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
-
"@smithy/types": "^4.
|
|
49
|
-
"@smithy/url-parser": "^4.2.
|
|
23
|
+
"@aws-sdk/core": "3.911.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.911.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.910.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.910.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.910.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.911.0",
|
|
29
|
+
"@aws-sdk/region-config-resolver": "3.910.0",
|
|
30
|
+
"@aws-sdk/types": "3.910.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.910.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.910.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.911.0",
|
|
34
|
+
"@smithy/config-resolver": "^4.3.2",
|
|
35
|
+
"@smithy/core": "^3.16.1",
|
|
36
|
+
"@smithy/fetch-http-handler": "^5.3.3",
|
|
37
|
+
"@smithy/hash-node": "^4.2.2",
|
|
38
|
+
"@smithy/invalid-dependency": "^4.2.2",
|
|
39
|
+
"@smithy/middleware-content-length": "^4.2.2",
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.3",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.3",
|
|
42
|
+
"@smithy/middleware-serde": "^4.2.2",
|
|
43
|
+
"@smithy/middleware-stack": "^4.2.2",
|
|
44
|
+
"@smithy/node-config-provider": "^4.3.2",
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.1",
|
|
46
|
+
"@smithy/protocol-http": "^5.3.2",
|
|
47
|
+
"@smithy/smithy-client": "^4.8.1",
|
|
48
|
+
"@smithy/types": "^4.7.1",
|
|
49
|
+
"@smithy/url-parser": "^4.2.2",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
-
"@smithy/util-endpoints": "^3.2.
|
|
56
|
-
"@smithy/util-middleware": "^4.2.
|
|
57
|
-
"@smithy/util-retry": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.2",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.3",
|
|
55
|
+
"@smithy/util-endpoints": "^3.2.2",
|
|
56
|
+
"@smithy/util-middleware": "^4.2.2",
|
|
57
|
+
"@smithy/util-retry": "^4.2.2",
|
|
58
58
|
"@smithy/util-utf8": "^4.2.0",
|
|
59
59
|
"@smithy/uuid": "^1.1.0",
|
|
60
60
|
"tslib": "^2.6.2"
|