@aws-sdk/client-backup 3.925.0 → 3.926.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 +11 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +6 -0
- package/dist-types/commands/CreateLogicallyAirGappedBackupVaultCommand.d.ts +1 -0
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +1 -0
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +1 -0
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +1 -0
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +1 -0
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +50 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -297,6 +297,10 @@ const BackupVaultEvent = {
|
|
|
297
297
|
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
298
298
|
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
299
299
|
};
|
|
300
|
+
const EncryptionKeyType = {
|
|
301
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
302
|
+
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
303
|
+
};
|
|
300
304
|
const VaultState = {
|
|
301
305
|
AVAILABLE: "AVAILABLE",
|
|
302
306
|
CREATING: "CREATING",
|
|
@@ -735,6 +739,7 @@ const se_CreateLogicallyAirGappedBackupVaultCommand = async (input, context) =>
|
|
|
735
739
|
body = JSON.stringify(smithyClient.take(input, {
|
|
736
740
|
BackupVaultTags: (_) => smithyClient._json(_),
|
|
737
741
|
CreatorRequestId: [true, (_) => _ ?? uuid.v4()],
|
|
742
|
+
EncryptionKeyArn: [],
|
|
738
743
|
MaxRetentionDays: [],
|
|
739
744
|
MinRetentionDays: [],
|
|
740
745
|
}));
|
|
@@ -2278,6 +2283,7 @@ const de_DescribeBackupVaultCommand = async (output, context) => {
|
|
|
2278
2283
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2279
2284
|
CreatorRequestId: smithyClient.expectString,
|
|
2280
2285
|
EncryptionKeyArn: smithyClient.expectString,
|
|
2286
|
+
EncryptionKeyType: smithyClient.expectString,
|
|
2281
2287
|
LatestMpaApprovalTeamUpdate: (_) => de_LatestMpaApprovalTeamUpdate(_),
|
|
2282
2288
|
LockDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2283
2289
|
Locked: smithyClient.expectBoolean,
|
|
@@ -2383,6 +2389,7 @@ const de_DescribeRecoveryPointCommand = async (output, context) => {
|
|
|
2383
2389
|
CreatedBy: smithyClient._json,
|
|
2384
2390
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
2385
2391
|
EncryptionKeyArn: smithyClient.expectString,
|
|
2392
|
+
EncryptionKeyType: smithyClient.expectString,
|
|
2386
2393
|
IamRoleArn: smithyClient.expectString,
|
|
2387
2394
|
IndexStatus: smithyClient.expectString,
|
|
2388
2395
|
IndexStatusMessage: smithyClient.expectString,
|
|
@@ -3780,6 +3787,7 @@ const de_BackupVaultListMember = (output, context) => {
|
|
|
3780
3787
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3781
3788
|
CreatorRequestId: smithyClient.expectString,
|
|
3782
3789
|
EncryptionKeyArn: smithyClient.expectString,
|
|
3790
|
+
EncryptionKeyType: smithyClient.expectString,
|
|
3783
3791
|
LockDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3784
3792
|
Locked: smithyClient.expectBoolean,
|
|
3785
3793
|
MaxRetentionDays: smithyClient.expectLong,
|
|
@@ -3964,6 +3972,7 @@ const de_RecoveryPointByBackupVault = (output, context) => {
|
|
|
3964
3972
|
CreatedBy: smithyClient._json,
|
|
3965
3973
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3966
3974
|
EncryptionKeyArn: smithyClient.expectString,
|
|
3975
|
+
EncryptionKeyType: smithyClient.expectString,
|
|
3967
3976
|
IamRoleArn: smithyClient.expectString,
|
|
3968
3977
|
IndexStatus: smithyClient.expectString,
|
|
3969
3978
|
IndexStatusMessage: smithyClient.expectString,
|
|
@@ -3997,6 +4006,7 @@ const de_RecoveryPointByResource = (output, context) => {
|
|
|
3997
4006
|
BackupVaultName: smithyClient.expectString,
|
|
3998
4007
|
CreationDate: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
3999
4008
|
EncryptionKeyArn: smithyClient.expectString,
|
|
4009
|
+
EncryptionKeyType: smithyClient.expectString,
|
|
4000
4010
|
IndexStatus: smithyClient.expectString,
|
|
4001
4011
|
IndexStatusMessage: smithyClient.expectString,
|
|
4002
4012
|
IsParent: smithyClient.expectBoolean,
|
|
@@ -6212,6 +6222,7 @@ exports.DisassociateBackupVaultMpaApprovalTeamCommand = DisassociateBackupVaultM
|
|
|
6212
6222
|
exports.DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog = DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog;
|
|
6213
6223
|
exports.DisassociateRecoveryPointCommand = DisassociateRecoveryPointCommand;
|
|
6214
6224
|
exports.DisassociateRecoveryPointFromParentCommand = DisassociateRecoveryPointFromParentCommand;
|
|
6225
|
+
exports.EncryptionKeyType = EncryptionKeyType;
|
|
6215
6226
|
exports.ExportBackupPlanTemplateCommand = ExportBackupPlanTemplateCommand;
|
|
6216
6227
|
exports.GetBackupPlanCommand = GetBackupPlanCommand;
|
|
6217
6228
|
exports.GetBackupPlanFromJSONCommand = GetBackupPlanFromJSONCommand;
|
|
@@ -179,6 +179,10 @@ export const BackupVaultEvent = {
|
|
|
179
179
|
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
180
180
|
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
181
181
|
};
|
|
182
|
+
export const EncryptionKeyType = {
|
|
183
|
+
AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY",
|
|
184
|
+
CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY",
|
|
185
|
+
};
|
|
182
186
|
export const VaultState = {
|
|
183
187
|
AVAILABLE: "AVAILABLE",
|
|
184
188
|
CREATING: "CREATING",
|
|
@@ -123,6 +123,7 @@ export const se_CreateLogicallyAirGappedBackupVaultCommand = async (input, conte
|
|
|
123
123
|
body = JSON.stringify(take(input, {
|
|
124
124
|
BackupVaultTags: (_) => _json(_),
|
|
125
125
|
CreatorRequestId: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
126
|
+
EncryptionKeyArn: [],
|
|
126
127
|
MaxRetentionDays: [],
|
|
127
128
|
MinRetentionDays: [],
|
|
128
129
|
}));
|
|
@@ -1666,6 +1667,7 @@ export const de_DescribeBackupVaultCommand = async (output, context) => {
|
|
|
1666
1667
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1667
1668
|
CreatorRequestId: __expectString,
|
|
1668
1669
|
EncryptionKeyArn: __expectString,
|
|
1670
|
+
EncryptionKeyType: __expectString,
|
|
1669
1671
|
LatestMpaApprovalTeamUpdate: (_) => de_LatestMpaApprovalTeamUpdate(_, context),
|
|
1670
1672
|
LockDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1671
1673
|
Locked: __expectBoolean,
|
|
@@ -1771,6 +1773,7 @@ export const de_DescribeRecoveryPointCommand = async (output, context) => {
|
|
|
1771
1773
|
CreatedBy: _json,
|
|
1772
1774
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
1773
1775
|
EncryptionKeyArn: __expectString,
|
|
1776
|
+
EncryptionKeyType: __expectString,
|
|
1774
1777
|
IamRoleArn: __expectString,
|
|
1775
1778
|
IndexStatus: __expectString,
|
|
1776
1779
|
IndexStatusMessage: __expectString,
|
|
@@ -3168,6 +3171,7 @@ const de_BackupVaultListMember = (output, context) => {
|
|
|
3168
3171
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3169
3172
|
CreatorRequestId: __expectString,
|
|
3170
3173
|
EncryptionKeyArn: __expectString,
|
|
3174
|
+
EncryptionKeyType: __expectString,
|
|
3171
3175
|
LockDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3172
3176
|
Locked: __expectBoolean,
|
|
3173
3177
|
MaxRetentionDays: __expectLong,
|
|
@@ -3352,6 +3356,7 @@ const de_RecoveryPointByBackupVault = (output, context) => {
|
|
|
3352
3356
|
CreatedBy: _json,
|
|
3353
3357
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3354
3358
|
EncryptionKeyArn: __expectString,
|
|
3359
|
+
EncryptionKeyType: __expectString,
|
|
3355
3360
|
IamRoleArn: __expectString,
|
|
3356
3361
|
IndexStatus: __expectString,
|
|
3357
3362
|
IndexStatusMessage: __expectString,
|
|
@@ -3385,6 +3390,7 @@ const de_RecoveryPointByResource = (output, context) => {
|
|
|
3385
3390
|
BackupVaultName: __expectString,
|
|
3386
3391
|
CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3387
3392
|
EncryptionKeyArn: __expectString,
|
|
3393
|
+
EncryptionKeyType: __expectString,
|
|
3388
3394
|
IndexStatus: __expectString,
|
|
3389
3395
|
IndexStatusMessage: __expectString,
|
|
3390
3396
|
IsParent: __expectBoolean,
|
|
@@ -51,6 +51,7 @@ declare const CreateLogicallyAirGappedBackupVaultCommand_base: {
|
|
|
51
51
|
* CreatorRequestId: "STRING_VALUE",
|
|
52
52
|
* MinRetentionDays: Number("long"), // required
|
|
53
53
|
* MaxRetentionDays: Number("long"), // required
|
|
54
|
+
* EncryptionKeyArn: "STRING_VALUE",
|
|
54
55
|
* };
|
|
55
56
|
* const command = new CreateLogicallyAirGappedBackupVaultCommand(input);
|
|
56
57
|
* const response = await client.send(command);
|
|
@@ -88,6 +88,7 @@ declare const DescribeRecoveryPointCommand_base: {
|
|
|
88
88
|
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
|
|
89
89
|
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
90
90
|
* // IndexStatusMessage: "STRING_VALUE",
|
|
91
|
+
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
91
92
|
* // };
|
|
92
93
|
*
|
|
93
94
|
* ```
|
|
@@ -60,6 +60,7 @@ declare const ListBackupVaultsCommand_base: {
|
|
|
60
60
|
* // MinRetentionDays: Number("long"),
|
|
61
61
|
* // MaxRetentionDays: Number("long"),
|
|
62
62
|
* // LockDate: new Date("TIMESTAMP"),
|
|
63
|
+
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
63
64
|
* // },
|
|
64
65
|
* // ],
|
|
65
66
|
* // NextToken: "STRING_VALUE",
|
|
@@ -96,6 +96,7 @@ declare const ListRecoveryPointsByBackupVaultCommand_base: {
|
|
|
96
96
|
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
|
|
97
97
|
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
98
98
|
* // IndexStatusMessage: "STRING_VALUE",
|
|
99
|
+
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
99
100
|
* // },
|
|
100
101
|
* // ],
|
|
101
102
|
* // };
|
|
@@ -66,6 +66,7 @@ declare const ListRecoveryPointsByResourceCommand_base: {
|
|
|
66
66
|
* // VaultType: "BACKUP_VAULT" || "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" || "RESTORE_ACCESS_BACKUP_VAULT",
|
|
67
67
|
* // IndexStatus: "PENDING" || "ACTIVE" || "FAILED" || "DELETING",
|
|
68
68
|
* // IndexStatusMessage: "STRING_VALUE",
|
|
69
|
+
* // EncryptionKeyType: "AWS_OWNED_KMS_KEY" || "CUSTOMER_MANAGED_KMS_KEY",
|
|
69
70
|
* // },
|
|
70
71
|
* // ],
|
|
71
72
|
* // };
|
|
@@ -1283,6 +1283,18 @@ export declare const BackupVaultEvent: {
|
|
|
1283
1283
|
* @public
|
|
1284
1284
|
*/
|
|
1285
1285
|
export type BackupVaultEvent = (typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
|
|
1286
|
+
/**
|
|
1287
|
+
* @public
|
|
1288
|
+
* @enum
|
|
1289
|
+
*/
|
|
1290
|
+
export declare const EncryptionKeyType: {
|
|
1291
|
+
readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
|
|
1292
|
+
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
1293
|
+
};
|
|
1294
|
+
/**
|
|
1295
|
+
* @public
|
|
1296
|
+
*/
|
|
1297
|
+
export type EncryptionKeyType = (typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
|
|
1286
1298
|
/**
|
|
1287
1299
|
* @public
|
|
1288
1300
|
* @enum
|
|
@@ -1416,6 +1428,11 @@ export interface BackupVaultListMember {
|
|
|
1416
1428
|
* @public
|
|
1417
1429
|
*/
|
|
1418
1430
|
LockDate?: Date | undefined;
|
|
1431
|
+
/**
|
|
1432
|
+
* <p>The type of encryption key used for the backup vault. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>
|
|
1433
|
+
* @public
|
|
1434
|
+
*/
|
|
1435
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
1419
1436
|
}
|
|
1420
1437
|
/**
|
|
1421
1438
|
* <p>Contains <code>DeleteAt</code> and <code>MoveToColdStorageAt</code> timestamps, which
|
|
@@ -2306,6 +2323,11 @@ export interface CreateLogicallyAirGappedBackupVaultInput {
|
|
|
2306
2323
|
* @public
|
|
2307
2324
|
*/
|
|
2308
2325
|
MaxRetentionDays: number | undefined;
|
|
2326
|
+
/**
|
|
2327
|
+
* <p>The ARN of the customer-managed KMS key to use for encrypting the logically air-gapped backup vault. If not specified, the vault will be encrypted with an Amazon Web Services-owned key managed by Amazon Web Services Backup.</p>
|
|
2328
|
+
* @public
|
|
2329
|
+
*/
|
|
2330
|
+
EncryptionKeyArn?: string | undefined;
|
|
2309
2331
|
}
|
|
2310
2332
|
/**
|
|
2311
2333
|
* @public
|
|
@@ -2916,6 +2938,8 @@ export interface RestoreTestingSelectionForCreate {
|
|
|
2916
2938
|
/**
|
|
2917
2939
|
* <p>The unique name of the restore testing selection
|
|
2918
2940
|
* that belongs to the related restore testing plan.</p>
|
|
2941
|
+
* <p>The name consists of only alphanumeric characters and underscores.
|
|
2942
|
+
* Maximum length is 50.</p>
|
|
2919
2943
|
* @public
|
|
2920
2944
|
*/
|
|
2921
2945
|
RestoreTestingSelectionName: string | undefined;
|
|
@@ -2993,6 +3017,8 @@ export interface CreateRestoreTestingSelectionOutput {
|
|
|
2993
3017
|
RestoreTestingPlanName: string | undefined;
|
|
2994
3018
|
/**
|
|
2995
3019
|
* <p>The name of the restore testing selection for the related restore testing plan.</p>
|
|
3020
|
+
* <p>The name cannot be changed after creation. The name consists of only
|
|
3021
|
+
* alphanumeric characters and underscores. Maximum length is 50.</p>
|
|
2996
3022
|
* @public
|
|
2997
3023
|
*/
|
|
2998
3024
|
RestoreTestingSelectionName: string | undefined;
|
|
@@ -3628,6 +3654,11 @@ export interface DescribeBackupVaultOutput {
|
|
|
3628
3654
|
* @public
|
|
3629
3655
|
*/
|
|
3630
3656
|
LatestMpaApprovalTeamUpdate?: LatestMpaApprovalTeamUpdate | undefined;
|
|
3657
|
+
/**
|
|
3658
|
+
* <p>The type of encryption key used for the backup vault. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>
|
|
3659
|
+
* @public
|
|
3660
|
+
*/
|
|
3661
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
3631
3662
|
}
|
|
3632
3663
|
/**
|
|
3633
3664
|
* @public
|
|
@@ -4130,6 +4161,11 @@ export interface DescribeRecoveryPointOutput {
|
|
|
4130
4161
|
* @public
|
|
4131
4162
|
*/
|
|
4132
4163
|
IndexStatusMessage?: string | undefined;
|
|
4164
|
+
/**
|
|
4165
|
+
* <p>The type of encryption key used for the recovery point. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>
|
|
4166
|
+
* @public
|
|
4167
|
+
*/
|
|
4168
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
4133
4169
|
}
|
|
4134
4170
|
/**
|
|
4135
4171
|
* @public
|
|
@@ -5388,6 +5424,8 @@ export interface RestoreTestingSelectionForGet {
|
|
|
5388
5424
|
/**
|
|
5389
5425
|
* <p>The unique name of the restore testing selection that
|
|
5390
5426
|
* belongs to the related restore testing plan.</p>
|
|
5427
|
+
* <p>The name consists of only alphanumeric characters and underscores.
|
|
5428
|
+
* Maximum length is 50.</p>
|
|
5391
5429
|
* @public
|
|
5392
5430
|
*/
|
|
5393
5431
|
RestoreTestingSelectionName: string | undefined;
|
|
@@ -7102,6 +7140,11 @@ export interface RecoveryPointByBackupVault {
|
|
|
7102
7140
|
* @public
|
|
7103
7141
|
*/
|
|
7104
7142
|
IndexStatusMessage?: string | undefined;
|
|
7143
|
+
/**
|
|
7144
|
+
* <p>The type of encryption key used for the recovery point. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>
|
|
7145
|
+
* @public
|
|
7146
|
+
*/
|
|
7147
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
7105
7148
|
}
|
|
7106
7149
|
/**
|
|
7107
7150
|
* @public
|
|
@@ -7318,6 +7361,11 @@ export interface RecoveryPointByResource {
|
|
|
7318
7361
|
* @public
|
|
7319
7362
|
*/
|
|
7320
7363
|
IndexStatusMessage?: string | undefined;
|
|
7364
|
+
/**
|
|
7365
|
+
* <p>The type of encryption key used for the recovery point. Valid values are CUSTOMER_MANAGED_KMS_KEY for customer-managed keys or Amazon Web Services_OWNED_KMS_KEY for Amazon Web Services-owned keys.</p>
|
|
7366
|
+
* @public
|
|
7367
|
+
*/
|
|
7368
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
7321
7369
|
}
|
|
7322
7370
|
/**
|
|
7323
7371
|
* @public
|
|
@@ -8239,6 +8287,8 @@ export interface RestoreTestingSelectionForList {
|
|
|
8239
8287
|
RestoreTestingPlanName: string | undefined;
|
|
8240
8288
|
/**
|
|
8241
8289
|
* <p>Unique name of a restore testing selection.</p>
|
|
8290
|
+
* <p>The name consists of only alphanumeric characters and underscores.
|
|
8291
|
+
* Maximum length is 50.</p>
|
|
8242
8292
|
* @public
|
|
8243
8293
|
*/
|
|
8244
8294
|
RestoreTestingSelectionName: string | undefined;
|
|
@@ -288,6 +288,12 @@ export declare const BackupVaultEvent: {
|
|
|
288
288
|
};
|
|
289
289
|
export type BackupVaultEvent =
|
|
290
290
|
(typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
|
|
291
|
+
export declare const EncryptionKeyType: {
|
|
292
|
+
readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
|
|
293
|
+
readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
|
|
294
|
+
};
|
|
295
|
+
export type EncryptionKeyType =
|
|
296
|
+
(typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
|
|
291
297
|
export declare const VaultState: {
|
|
292
298
|
readonly AVAILABLE: "AVAILABLE";
|
|
293
299
|
readonly CREATING: "CREATING";
|
|
@@ -313,6 +319,7 @@ export interface BackupVaultListMember {
|
|
|
313
319
|
MinRetentionDays?: number | undefined;
|
|
314
320
|
MaxRetentionDays?: number | undefined;
|
|
315
321
|
LockDate?: Date | undefined;
|
|
322
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
316
323
|
}
|
|
317
324
|
export interface CalculatedLifecycle {
|
|
318
325
|
MoveToColdStorageAt?: Date | undefined;
|
|
@@ -512,6 +519,7 @@ export interface CreateLogicallyAirGappedBackupVaultInput {
|
|
|
512
519
|
CreatorRequestId?: string | undefined;
|
|
513
520
|
MinRetentionDays: number | undefined;
|
|
514
521
|
MaxRetentionDays: number | undefined;
|
|
522
|
+
EncryptionKeyArn?: string | undefined;
|
|
515
523
|
}
|
|
516
524
|
export interface CreateLogicallyAirGappedBackupVaultOutput {
|
|
517
525
|
BackupVaultName?: string | undefined;
|
|
@@ -747,6 +755,7 @@ export interface DescribeBackupVaultOutput {
|
|
|
747
755
|
MpaApprovalTeamArn?: string | undefined;
|
|
748
756
|
MpaSessionArn?: string | undefined;
|
|
749
757
|
LatestMpaApprovalTeamUpdate?: LatestMpaApprovalTeamUpdate | undefined;
|
|
758
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
750
759
|
}
|
|
751
760
|
export interface DescribeCopyJobInput {
|
|
752
761
|
CopyJobId: string | undefined;
|
|
@@ -843,6 +852,7 @@ export interface DescribeRecoveryPointOutput {
|
|
|
843
852
|
VaultType?: VaultType | undefined;
|
|
844
853
|
IndexStatus?: IndexStatus | undefined;
|
|
845
854
|
IndexStatusMessage?: string | undefined;
|
|
855
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
846
856
|
}
|
|
847
857
|
export interface DescribeRegionSettingsInput {}
|
|
848
858
|
export interface DescribeRegionSettingsOutput {
|
|
@@ -1355,6 +1365,7 @@ export interface RecoveryPointByBackupVault {
|
|
|
1355
1365
|
VaultType?: VaultType | undefined;
|
|
1356
1366
|
IndexStatus?: IndexStatus | undefined;
|
|
1357
1367
|
IndexStatusMessage?: string | undefined;
|
|
1368
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
1358
1369
|
}
|
|
1359
1370
|
export interface ListRecoveryPointsByBackupVaultOutput {
|
|
1360
1371
|
NextToken?: string | undefined;
|
|
@@ -1395,6 +1406,7 @@ export interface RecoveryPointByResource {
|
|
|
1395
1406
|
VaultType?: VaultType | undefined;
|
|
1396
1407
|
IndexStatus?: IndexStatus | undefined;
|
|
1397
1408
|
IndexStatusMessage?: string | undefined;
|
|
1409
|
+
EncryptionKeyType?: EncryptionKeyType | undefined;
|
|
1398
1410
|
}
|
|
1399
1411
|
export interface ListRecoveryPointsByResourceOutput {
|
|
1400
1412
|
NextToken?: 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.
|
|
4
|
+
"version": "3.926.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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.926.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.926.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.926.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.926.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|