@aws-sdk/client-backup 3.830.0 → 3.831.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/README.md +40 -0
- package/dist-cjs/index.js +445 -122
- package/dist-es/Backup.js +10 -0
- package/dist-es/commands/AssociateBackupVaultMpaApprovalTeamCommand.js +23 -0
- package/dist-es/commands/CreateRestoreAccessBackupVaultCommand.js +23 -0
- package/dist-es/commands/DisassociateBackupVaultMpaApprovalTeamCommand.js +23 -0
- package/dist-es/commands/ListRestoreAccessBackupVaultsCommand.js +22 -0
- package/dist-es/commands/RevokeRestoreAccessBackupVaultCommand.js +23 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +110 -82
- package/dist-es/pagination/ListRestoreAccessBackupVaultsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +195 -14
- package/dist-types/Backup.d.ts +35 -0
- package/dist-types/BackupClient.d.ts +7 -2
- package/dist-types/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +89 -0
- package/dist-types/commands/CreateRestoreAccessBackupVaultCommand.d.ts +105 -0
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +11 -1
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +2 -1
- package/dist-types/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +88 -0
- package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +2 -2
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +2 -1
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListRestoreAccessBackupVaultsCommand.d.ts +102 -0
- package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +437 -161
- package/dist-types/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
- package/dist-types/ts3.4/Backup.d.ts +97 -0
- package/dist-types/ts3.4/BackupClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/AssociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateRestoreAccessBackupVaultCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisassociateBackupVaultMpaApprovalTeamCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListRestoreAccessBackupVaultsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RevokeRestoreAccessBackupVaultCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +145 -55
- package/dist-types/ts3.4/pagination/ListRestoreAccessBackupVaultsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BackupClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BackupClient";
|
|
8
|
+
import { RevokeRestoreAccessBackupVaultInput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface RevokeRestoreAccessBackupVaultCommandInput
|
|
12
|
+
extends RevokeRestoreAccessBackupVaultInput {}
|
|
13
|
+
export interface RevokeRestoreAccessBackupVaultCommandOutput
|
|
14
|
+
extends __MetadataBearer {}
|
|
15
|
+
declare const RevokeRestoreAccessBackupVaultCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: RevokeRestoreAccessBackupVaultCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
RevokeRestoreAccessBackupVaultCommandInput,
|
|
20
|
+
RevokeRestoreAccessBackupVaultCommandOutput,
|
|
21
|
+
BackupClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: RevokeRestoreAccessBackupVaultCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
RevokeRestoreAccessBackupVaultCommandInput,
|
|
29
|
+
RevokeRestoreAccessBackupVaultCommandOutput,
|
|
30
|
+
BackupClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class RevokeRestoreAccessBackupVaultCommand extends RevokeRestoreAccessBackupVaultCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: RevokeRestoreAccessBackupVaultInput;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: RevokeRestoreAccessBackupVaultCommandInput;
|
|
44
|
+
output: RevokeRestoreAccessBackupVaultCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./AssociateBackupVaultMpaApprovalTeamCommand";
|
|
1
2
|
export * from "./CancelLegalHoldCommand";
|
|
2
3
|
export * from "./CreateBackupPlanCommand";
|
|
3
4
|
export * from "./CreateBackupSelectionCommand";
|
|
@@ -6,6 +7,7 @@ export * from "./CreateFrameworkCommand";
|
|
|
6
7
|
export * from "./CreateLegalHoldCommand";
|
|
7
8
|
export * from "./CreateLogicallyAirGappedBackupVaultCommand";
|
|
8
9
|
export * from "./CreateReportPlanCommand";
|
|
10
|
+
export * from "./CreateRestoreAccessBackupVaultCommand";
|
|
9
11
|
export * from "./CreateRestoreTestingPlanCommand";
|
|
10
12
|
export * from "./CreateRestoreTestingSelectionCommand";
|
|
11
13
|
export * from "./DeleteBackupPlanCommand";
|
|
@@ -30,6 +32,7 @@ export * from "./DescribeRegionSettingsCommand";
|
|
|
30
32
|
export * from "./DescribeReportJobCommand";
|
|
31
33
|
export * from "./DescribeReportPlanCommand";
|
|
32
34
|
export * from "./DescribeRestoreJobCommand";
|
|
35
|
+
export * from "./DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
33
36
|
export * from "./DisassociateRecoveryPointCommand";
|
|
34
37
|
export * from "./DisassociateRecoveryPointFromParentCommand";
|
|
35
38
|
export * from "./ExportBackupPlanTemplateCommand";
|
|
@@ -66,6 +69,7 @@ export * from "./ListRecoveryPointsByLegalHoldCommand";
|
|
|
66
69
|
export * from "./ListRecoveryPointsByResourceCommand";
|
|
67
70
|
export * from "./ListReportJobsCommand";
|
|
68
71
|
export * from "./ListReportPlansCommand";
|
|
72
|
+
export * from "./ListRestoreAccessBackupVaultsCommand";
|
|
69
73
|
export * from "./ListRestoreJobSummariesCommand";
|
|
70
74
|
export * from "./ListRestoreJobsByProtectedResourceCommand";
|
|
71
75
|
export * from "./ListRestoreJobsCommand";
|
|
@@ -76,6 +80,7 @@ export * from "./PutBackupVaultAccessPolicyCommand";
|
|
|
76
80
|
export * from "./PutBackupVaultLockConfigurationCommand";
|
|
77
81
|
export * from "./PutBackupVaultNotificationsCommand";
|
|
78
82
|
export * from "./PutRestoreValidationResultCommand";
|
|
83
|
+
export * from "./RevokeRestoreAccessBackupVaultCommand";
|
|
79
84
|
export * from "./StartBackupJobCommand";
|
|
80
85
|
export * from "./StartCopyJobCommand";
|
|
81
86
|
export * from "./StartReportJobCommand";
|
|
@@ -24,6 +24,66 @@ export declare class AlreadyExistsException extends __BaseException {
|
|
|
24
24
|
opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
|
|
25
25
|
);
|
|
26
26
|
}
|
|
27
|
+
export interface AssociateBackupVaultMpaApprovalTeamInput {
|
|
28
|
+
BackupVaultName: string | undefined;
|
|
29
|
+
MpaApprovalTeamArn: string | undefined;
|
|
30
|
+
RequesterComment?: string | undefined;
|
|
31
|
+
}
|
|
32
|
+
export declare class InvalidParameterValueException extends __BaseException {
|
|
33
|
+
readonly name: "InvalidParameterValueException";
|
|
34
|
+
readonly $fault: "client";
|
|
35
|
+
Code?: string | undefined;
|
|
36
|
+
Message?: string | undefined;
|
|
37
|
+
Type?: string | undefined;
|
|
38
|
+
Context?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
export declare class InvalidRequestException extends __BaseException {
|
|
44
|
+
readonly name: "InvalidRequestException";
|
|
45
|
+
readonly $fault: "client";
|
|
46
|
+
Code?: string | undefined;
|
|
47
|
+
Message?: string | undefined;
|
|
48
|
+
Type?: string | undefined;
|
|
49
|
+
Context?: string | undefined;
|
|
50
|
+
constructor(
|
|
51
|
+
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
export declare class MissingParameterValueException extends __BaseException {
|
|
55
|
+
readonly name: "MissingParameterValueException";
|
|
56
|
+
readonly $fault: "client";
|
|
57
|
+
Code?: string | undefined;
|
|
58
|
+
Message?: string | undefined;
|
|
59
|
+
Type?: string | undefined;
|
|
60
|
+
Context?: string | undefined;
|
|
61
|
+
constructor(
|
|
62
|
+
opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
66
|
+
readonly name: "ResourceNotFoundException";
|
|
67
|
+
readonly $fault: "client";
|
|
68
|
+
Code?: string | undefined;
|
|
69
|
+
Message?: string | undefined;
|
|
70
|
+
Type?: string | undefined;
|
|
71
|
+
Context?: string | undefined;
|
|
72
|
+
constructor(
|
|
73
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
77
|
+
readonly name: "ServiceUnavailableException";
|
|
78
|
+
readonly $fault: "server";
|
|
79
|
+
Code?: string | undefined;
|
|
80
|
+
Message?: string | undefined;
|
|
81
|
+
Type?: string | undefined;
|
|
82
|
+
Context?: string | undefined;
|
|
83
|
+
constructor(
|
|
84
|
+
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
85
|
+
);
|
|
86
|
+
}
|
|
27
87
|
export interface RecoveryPointCreator {
|
|
28
88
|
BackupPlanId?: string | undefined;
|
|
29
89
|
BackupPlanArn?: string | undefined;
|
|
@@ -202,6 +262,7 @@ export declare const BackupVaultEvent: {
|
|
|
202
262
|
readonly BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL";
|
|
203
263
|
readonly BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED";
|
|
204
264
|
readonly BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED";
|
|
265
|
+
readonly CONTINUOUS_BACKUP_INTERRUPTED: "CONTINUOUS_BACKUP_INTERRUPTED";
|
|
205
266
|
readonly COPY_JOB_FAILED: "COPY_JOB_FAILED";
|
|
206
267
|
readonly COPY_JOB_STARTED: "COPY_JOB_STARTED";
|
|
207
268
|
readonly COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL";
|
|
@@ -227,6 +288,7 @@ export type VaultState = (typeof VaultState)[keyof typeof VaultState];
|
|
|
227
288
|
export declare const VaultType: {
|
|
228
289
|
readonly BACKUP_VAULT: "BACKUP_VAULT";
|
|
229
290
|
readonly LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT";
|
|
291
|
+
readonly RESTORE_ACCESS_BACKUP_VAULT: "RESTORE_ACCESS_BACKUP_VAULT";
|
|
230
292
|
};
|
|
231
293
|
export type VaultType = (typeof VaultType)[keyof typeof VaultType];
|
|
232
294
|
export interface BackupVaultListMember {
|
|
@@ -253,17 +315,6 @@ export interface CancelLegalHoldInput {
|
|
|
253
315
|
RetainRecordInDays?: number | undefined;
|
|
254
316
|
}
|
|
255
317
|
export interface CancelLegalHoldOutput {}
|
|
256
|
-
export declare class InvalidParameterValueException extends __BaseException {
|
|
257
|
-
readonly name: "InvalidParameterValueException";
|
|
258
|
-
readonly $fault: "client";
|
|
259
|
-
Code?: string | undefined;
|
|
260
|
-
Message?: string | undefined;
|
|
261
|
-
Type?: string | undefined;
|
|
262
|
-
Context?: string | undefined;
|
|
263
|
-
constructor(
|
|
264
|
-
opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>
|
|
265
|
-
);
|
|
266
|
-
}
|
|
267
318
|
export declare class InvalidResourceStateException extends __BaseException {
|
|
268
319
|
readonly name: "InvalidResourceStateException";
|
|
269
320
|
readonly $fault: "client";
|
|
@@ -275,39 +326,6 @@ export declare class InvalidResourceStateException extends __BaseException {
|
|
|
275
326
|
opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
|
|
276
327
|
);
|
|
277
328
|
}
|
|
278
|
-
export declare class MissingParameterValueException extends __BaseException {
|
|
279
|
-
readonly name: "MissingParameterValueException";
|
|
280
|
-
readonly $fault: "client";
|
|
281
|
-
Code?: string | undefined;
|
|
282
|
-
Message?: string | undefined;
|
|
283
|
-
Type?: string | undefined;
|
|
284
|
-
Context?: string | undefined;
|
|
285
|
-
constructor(
|
|
286
|
-
opts: __ExceptionOptionType<MissingParameterValueException, __BaseException>
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
290
|
-
readonly name: "ResourceNotFoundException";
|
|
291
|
-
readonly $fault: "client";
|
|
292
|
-
Code?: string | undefined;
|
|
293
|
-
Message?: string | undefined;
|
|
294
|
-
Type?: string | undefined;
|
|
295
|
-
Context?: string | undefined;
|
|
296
|
-
constructor(
|
|
297
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
|
-
export declare class ServiceUnavailableException extends __BaseException {
|
|
301
|
-
readonly name: "ServiceUnavailableException";
|
|
302
|
-
readonly $fault: "server";
|
|
303
|
-
Code?: string | undefined;
|
|
304
|
-
Message?: string | undefined;
|
|
305
|
-
Type?: string | undefined;
|
|
306
|
-
Context?: string | undefined;
|
|
307
|
-
constructor(
|
|
308
|
-
opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>
|
|
309
|
-
);
|
|
310
|
-
}
|
|
311
329
|
export declare class ConflictException extends __BaseException {
|
|
312
330
|
readonly name: "ConflictException";
|
|
313
331
|
readonly $fault: "client";
|
|
@@ -488,17 +506,6 @@ export interface CreateLogicallyAirGappedBackupVaultOutput {
|
|
|
488
506
|
CreationDate?: Date | undefined;
|
|
489
507
|
VaultState?: VaultState | undefined;
|
|
490
508
|
}
|
|
491
|
-
export declare class InvalidRequestException extends __BaseException {
|
|
492
|
-
readonly name: "InvalidRequestException";
|
|
493
|
-
readonly $fault: "client";
|
|
494
|
-
Code?: string | undefined;
|
|
495
|
-
Message?: string | undefined;
|
|
496
|
-
Type?: string | undefined;
|
|
497
|
-
Context?: string | undefined;
|
|
498
|
-
constructor(
|
|
499
|
-
opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
|
|
500
|
-
);
|
|
501
|
-
}
|
|
502
509
|
export interface ReportDeliveryChannel {
|
|
503
510
|
S3BucketName: string | undefined;
|
|
504
511
|
S3KeyPrefix?: string | undefined;
|
|
@@ -525,6 +532,19 @@ export interface CreateReportPlanOutput {
|
|
|
525
532
|
ReportPlanArn?: string | undefined;
|
|
526
533
|
CreationTime?: Date | undefined;
|
|
527
534
|
}
|
|
535
|
+
export interface CreateRestoreAccessBackupVaultInput {
|
|
536
|
+
SourceBackupVaultArn: string | undefined;
|
|
537
|
+
BackupVaultName?: string | undefined;
|
|
538
|
+
BackupVaultTags?: Record<string, string> | undefined;
|
|
539
|
+
CreatorRequestId?: string | undefined;
|
|
540
|
+
RequesterComment?: string | undefined;
|
|
541
|
+
}
|
|
542
|
+
export interface CreateRestoreAccessBackupVaultOutput {
|
|
543
|
+
RestoreAccessBackupVaultArn?: string | undefined;
|
|
544
|
+
VaultState?: VaultState | undefined;
|
|
545
|
+
RestoreAccessBackupVaultName?: string | undefined;
|
|
546
|
+
CreationDate?: Date | undefined;
|
|
547
|
+
}
|
|
528
548
|
export declare const RestoreTestingRecoveryPointSelectionAlgorithm: {
|
|
529
549
|
readonly LATEST_WITHIN_WINDOW: "LATEST_WITHIN_WINDOW";
|
|
530
550
|
readonly RANDOM_WITHIN_WINDOW: "RANDOM_WITHIN_WINDOW";
|
|
@@ -678,6 +698,20 @@ export interface DescribeBackupVaultInput {
|
|
|
678
698
|
BackupVaultName: string | undefined;
|
|
679
699
|
BackupVaultAccountId?: string | undefined;
|
|
680
700
|
}
|
|
701
|
+
export declare const MpaSessionStatus: {
|
|
702
|
+
readonly APPROVED: "APPROVED";
|
|
703
|
+
readonly FAILED: "FAILED";
|
|
704
|
+
readonly PENDING: "PENDING";
|
|
705
|
+
};
|
|
706
|
+
export type MpaSessionStatus =
|
|
707
|
+
(typeof MpaSessionStatus)[keyof typeof MpaSessionStatus];
|
|
708
|
+
export interface LatestMpaApprovalTeamUpdate {
|
|
709
|
+
MpaSessionArn?: string | undefined;
|
|
710
|
+
Status?: MpaSessionStatus | undefined;
|
|
711
|
+
StatusMessage?: string | undefined;
|
|
712
|
+
InitiationDate?: Date | undefined;
|
|
713
|
+
ExpiryDate?: Date | undefined;
|
|
714
|
+
}
|
|
681
715
|
export interface DescribeBackupVaultOutput {
|
|
682
716
|
BackupVaultName?: string | undefined;
|
|
683
717
|
BackupVaultArn?: string | undefined;
|
|
@@ -691,6 +725,10 @@ export interface DescribeBackupVaultOutput {
|
|
|
691
725
|
MinRetentionDays?: number | undefined;
|
|
692
726
|
MaxRetentionDays?: number | undefined;
|
|
693
727
|
LockDate?: Date | undefined;
|
|
728
|
+
SourceBackupVaultArn?: string | undefined;
|
|
729
|
+
MpaApprovalTeamArn?: string | undefined;
|
|
730
|
+
MpaSessionArn?: string | undefined;
|
|
731
|
+
LatestMpaApprovalTeamUpdate?: LatestMpaApprovalTeamUpdate | undefined;
|
|
694
732
|
}
|
|
695
733
|
export interface DescribeCopyJobInput {
|
|
696
734
|
CopyJobId: string | undefined;
|
|
@@ -771,6 +809,7 @@ export interface DescribeRecoveryPointOutput {
|
|
|
771
809
|
Status?: RecoveryPointStatus | undefined;
|
|
772
810
|
StatusMessage?: string | undefined;
|
|
773
811
|
CreationDate?: Date | undefined;
|
|
812
|
+
InitiationDate?: Date | undefined;
|
|
774
813
|
CompletionDate?: Date | undefined;
|
|
775
814
|
BackupSizeInBytes?: number | undefined;
|
|
776
815
|
CalculatedLifecycle?: CalculatedLifecycle | undefined;
|
|
@@ -880,6 +919,10 @@ export interface DescribeRestoreJobOutput {
|
|
|
880
919
|
DeletionStatus?: RestoreDeletionStatus | undefined;
|
|
881
920
|
DeletionStatusMessage?: string | undefined;
|
|
882
921
|
}
|
|
922
|
+
export interface DisassociateBackupVaultMpaApprovalTeamInput {
|
|
923
|
+
BackupVaultName: string | undefined;
|
|
924
|
+
RequesterComment?: string | undefined;
|
|
925
|
+
}
|
|
883
926
|
export interface DisassociateRecoveryPointInput {
|
|
884
927
|
BackupVaultName: string | undefined;
|
|
885
928
|
RecoveryPointArn: string | undefined;
|
|
@@ -1263,6 +1306,7 @@ export interface RecoveryPointByBackupVault {
|
|
|
1263
1306
|
Status?: RecoveryPointStatus | undefined;
|
|
1264
1307
|
StatusMessage?: string | undefined;
|
|
1265
1308
|
CreationDate?: Date | undefined;
|
|
1309
|
+
InitiationDate?: Date | undefined;
|
|
1266
1310
|
CompletionDate?: Date | undefined;
|
|
1267
1311
|
BackupSizeInBytes?: number | undefined;
|
|
1268
1312
|
CalculatedLifecycle?: CalculatedLifecycle | undefined;
|
|
@@ -1342,6 +1386,35 @@ export interface ListReportPlansOutput {
|
|
|
1342
1386
|
ReportPlans?: ReportPlan[] | undefined;
|
|
1343
1387
|
NextToken?: string | undefined;
|
|
1344
1388
|
}
|
|
1389
|
+
export interface ListRestoreAccessBackupVaultsInput {
|
|
1390
|
+
BackupVaultName: string | undefined;
|
|
1391
|
+
NextToken?: string | undefined;
|
|
1392
|
+
MaxResults?: number | undefined;
|
|
1393
|
+
}
|
|
1394
|
+
export declare const MpaRevokeSessionStatus: {
|
|
1395
|
+
readonly FAILED: "FAILED";
|
|
1396
|
+
readonly PENDING: "PENDING";
|
|
1397
|
+
};
|
|
1398
|
+
export type MpaRevokeSessionStatus =
|
|
1399
|
+
(typeof MpaRevokeSessionStatus)[keyof typeof MpaRevokeSessionStatus];
|
|
1400
|
+
export interface LatestRevokeRequest {
|
|
1401
|
+
MpaSessionArn?: string | undefined;
|
|
1402
|
+
Status?: MpaRevokeSessionStatus | undefined;
|
|
1403
|
+
StatusMessage?: string | undefined;
|
|
1404
|
+
InitiationDate?: Date | undefined;
|
|
1405
|
+
ExpiryDate?: Date | undefined;
|
|
1406
|
+
}
|
|
1407
|
+
export interface RestoreAccessBackupVaultListMember {
|
|
1408
|
+
RestoreAccessBackupVaultArn?: string | undefined;
|
|
1409
|
+
CreationDate?: Date | undefined;
|
|
1410
|
+
ApprovalDate?: Date | undefined;
|
|
1411
|
+
VaultState?: VaultState | undefined;
|
|
1412
|
+
LatestRevokeRequest?: LatestRevokeRequest | undefined;
|
|
1413
|
+
}
|
|
1414
|
+
export interface ListRestoreAccessBackupVaultsOutput {
|
|
1415
|
+
NextToken?: string | undefined;
|
|
1416
|
+
RestoreAccessBackupVaults?: RestoreAccessBackupVaultListMember[] | undefined;
|
|
1417
|
+
}
|
|
1345
1418
|
export interface ListRestoreJobsInput {
|
|
1346
1419
|
NextToken?: string | undefined;
|
|
1347
1420
|
MaxResults?: number | undefined;
|
|
@@ -1489,6 +1562,11 @@ export interface PutRestoreValidationResultInput {
|
|
|
1489
1562
|
ValidationStatus: RestoreValidationStatus | undefined;
|
|
1490
1563
|
ValidationStatusMessage?: string | undefined;
|
|
1491
1564
|
}
|
|
1565
|
+
export interface RevokeRestoreAccessBackupVaultInput {
|
|
1566
|
+
BackupVaultName: string | undefined;
|
|
1567
|
+
RestoreAccessBackupVaultArn: string | undefined;
|
|
1568
|
+
RequesterComment?: string | undefined;
|
|
1569
|
+
}
|
|
1492
1570
|
export declare const Index: {
|
|
1493
1571
|
readonly DISABLED: "DISABLED";
|
|
1494
1572
|
readonly ENABLED: "ENABLED";
|
|
@@ -1653,6 +1731,9 @@ export interface UpdateRestoreTestingSelectionOutput {
|
|
|
1653
1731
|
RestoreTestingSelectionName: string | undefined;
|
|
1654
1732
|
UpdateTime: Date | undefined;
|
|
1655
1733
|
}
|
|
1734
|
+
export declare const AssociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog: (
|
|
1735
|
+
obj: AssociateBackupVaultMpaApprovalTeamInput
|
|
1736
|
+
) => any;
|
|
1656
1737
|
export declare const BackupRuleFilterSensitiveLog: (obj: BackupRule) => any;
|
|
1657
1738
|
export declare const BackupPlanFilterSensitiveLog: (obj: BackupPlan) => any;
|
|
1658
1739
|
export declare const BackupRuleInputFilterSensitiveLog: (
|
|
@@ -1673,6 +1754,9 @@ export declare const CreateLegalHoldInputFilterSensitiveLog: (
|
|
|
1673
1754
|
export declare const CreateLogicallyAirGappedBackupVaultInputFilterSensitiveLog: (
|
|
1674
1755
|
obj: CreateLogicallyAirGappedBackupVaultInput
|
|
1675
1756
|
) => any;
|
|
1757
|
+
export declare const CreateRestoreAccessBackupVaultInputFilterSensitiveLog: (
|
|
1758
|
+
obj: CreateRestoreAccessBackupVaultInput
|
|
1759
|
+
) => any;
|
|
1676
1760
|
export declare const CreateRestoreTestingPlanInputFilterSensitiveLog: (
|
|
1677
1761
|
obj: CreateRestoreTestingPlanInput
|
|
1678
1762
|
) => any;
|
|
@@ -1682,6 +1766,9 @@ export declare const RestoreTestingSelectionForCreateFilterSensitiveLog: (
|
|
|
1682
1766
|
export declare const CreateRestoreTestingSelectionInputFilterSensitiveLog: (
|
|
1683
1767
|
obj: CreateRestoreTestingSelectionInput
|
|
1684
1768
|
) => any;
|
|
1769
|
+
export declare const DisassociateBackupVaultMpaApprovalTeamInputFilterSensitiveLog: (
|
|
1770
|
+
obj: DisassociateBackupVaultMpaApprovalTeamInput
|
|
1771
|
+
) => any;
|
|
1685
1772
|
export declare const GetBackupPlanOutputFilterSensitiveLog: (
|
|
1686
1773
|
obj: GetBackupPlanOutput
|
|
1687
1774
|
) => any;
|
|
@@ -1706,6 +1793,9 @@ export declare const GetRestoreTestingSelectionOutputFilterSensitiveLog: (
|
|
|
1706
1793
|
export declare const ListTagsOutputFilterSensitiveLog: (
|
|
1707
1794
|
obj: ListTagsOutput
|
|
1708
1795
|
) => any;
|
|
1796
|
+
export declare const RevokeRestoreAccessBackupVaultInputFilterSensitiveLog: (
|
|
1797
|
+
obj: RevokeRestoreAccessBackupVaultInput
|
|
1798
|
+
) => any;
|
|
1709
1799
|
export declare const StartBackupJobInputFilterSensitiveLog: (
|
|
1710
1800
|
obj: StartBackupJobInput
|
|
1711
1801
|
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListRestoreAccessBackupVaultsCommandInput,
|
|
4
|
+
ListRestoreAccessBackupVaultsCommandOutput,
|
|
5
|
+
} from "../commands/ListRestoreAccessBackupVaultsCommand";
|
|
6
|
+
import { BackupPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListRestoreAccessBackupVaults: (
|
|
8
|
+
config: BackupPaginationConfiguration,
|
|
9
|
+
input: ListRestoreAccessBackupVaultsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListRestoreAccessBackupVaultsCommandOutput>;
|
|
@@ -18,6 +18,7 @@ export * from "./ListRecoveryPointsByLegalHoldPaginator";
|
|
|
18
18
|
export * from "./ListRecoveryPointsByResourcePaginator";
|
|
19
19
|
export * from "./ListReportJobsPaginator";
|
|
20
20
|
export * from "./ListReportPlansPaginator";
|
|
21
|
+
export * from "./ListRestoreAccessBackupVaultsPaginator";
|
|
21
22
|
export * from "./ListRestoreJobSummariesPaginator";
|
|
22
23
|
export * from "./ListRestoreJobsByProtectedResourcePaginator";
|
|
23
24
|
export * from "./ListRestoreJobsPaginator";
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@smithy/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
AssociateBackupVaultMpaApprovalTeamCommandInput,
|
|
8
|
+
AssociateBackupVaultMpaApprovalTeamCommandOutput,
|
|
9
|
+
} from "../commands/AssociateBackupVaultMpaApprovalTeamCommand";
|
|
6
10
|
import {
|
|
7
11
|
CancelLegalHoldCommandInput,
|
|
8
12
|
CancelLegalHoldCommandOutput,
|
|
@@ -35,6 +39,10 @@ import {
|
|
|
35
39
|
CreateReportPlanCommandInput,
|
|
36
40
|
CreateReportPlanCommandOutput,
|
|
37
41
|
} from "../commands/CreateReportPlanCommand";
|
|
42
|
+
import {
|
|
43
|
+
CreateRestoreAccessBackupVaultCommandInput,
|
|
44
|
+
CreateRestoreAccessBackupVaultCommandOutput,
|
|
45
|
+
} from "../commands/CreateRestoreAccessBackupVaultCommand";
|
|
38
46
|
import {
|
|
39
47
|
CreateRestoreTestingPlanCommandInput,
|
|
40
48
|
CreateRestoreTestingPlanCommandOutput,
|
|
@@ -131,6 +139,10 @@ import {
|
|
|
131
139
|
DescribeRestoreJobCommandInput,
|
|
132
140
|
DescribeRestoreJobCommandOutput,
|
|
133
141
|
} from "../commands/DescribeRestoreJobCommand";
|
|
142
|
+
import {
|
|
143
|
+
DisassociateBackupVaultMpaApprovalTeamCommandInput,
|
|
144
|
+
DisassociateBackupVaultMpaApprovalTeamCommandOutput,
|
|
145
|
+
} from "../commands/DisassociateBackupVaultMpaApprovalTeamCommand";
|
|
134
146
|
import {
|
|
135
147
|
DisassociateRecoveryPointCommandInput,
|
|
136
148
|
DisassociateRecoveryPointCommandOutput,
|
|
@@ -275,6 +287,10 @@ import {
|
|
|
275
287
|
ListReportPlansCommandInput,
|
|
276
288
|
ListReportPlansCommandOutput,
|
|
277
289
|
} from "../commands/ListReportPlansCommand";
|
|
290
|
+
import {
|
|
291
|
+
ListRestoreAccessBackupVaultsCommandInput,
|
|
292
|
+
ListRestoreAccessBackupVaultsCommandOutput,
|
|
293
|
+
} from "../commands/ListRestoreAccessBackupVaultsCommand";
|
|
278
294
|
import {
|
|
279
295
|
ListRestoreJobsByProtectedResourceCommandInput,
|
|
280
296
|
ListRestoreJobsByProtectedResourceCommandOutput,
|
|
@@ -315,6 +331,10 @@ import {
|
|
|
315
331
|
PutRestoreValidationResultCommandInput,
|
|
316
332
|
PutRestoreValidationResultCommandOutput,
|
|
317
333
|
} from "../commands/PutRestoreValidationResultCommand";
|
|
334
|
+
import {
|
|
335
|
+
RevokeRestoreAccessBackupVaultCommandInput,
|
|
336
|
+
RevokeRestoreAccessBackupVaultCommandOutput,
|
|
337
|
+
} from "../commands/RevokeRestoreAccessBackupVaultCommand";
|
|
318
338
|
import {
|
|
319
339
|
StartBackupJobCommandInput,
|
|
320
340
|
StartBackupJobCommandOutput,
|
|
@@ -379,6 +399,10 @@ import {
|
|
|
379
399
|
UpdateRestoreTestingSelectionCommandInput,
|
|
380
400
|
UpdateRestoreTestingSelectionCommandOutput,
|
|
381
401
|
} from "../commands/UpdateRestoreTestingSelectionCommand";
|
|
402
|
+
export declare const se_AssociateBackupVaultMpaApprovalTeamCommand: (
|
|
403
|
+
input: AssociateBackupVaultMpaApprovalTeamCommandInput,
|
|
404
|
+
context: __SerdeContext
|
|
405
|
+
) => Promise<__HttpRequest>;
|
|
382
406
|
export declare const se_CancelLegalHoldCommand: (
|
|
383
407
|
input: CancelLegalHoldCommandInput,
|
|
384
408
|
context: __SerdeContext
|
|
@@ -411,6 +435,10 @@ export declare const se_CreateReportPlanCommand: (
|
|
|
411
435
|
input: CreateReportPlanCommandInput,
|
|
412
436
|
context: __SerdeContext
|
|
413
437
|
) => Promise<__HttpRequest>;
|
|
438
|
+
export declare const se_CreateRestoreAccessBackupVaultCommand: (
|
|
439
|
+
input: CreateRestoreAccessBackupVaultCommandInput,
|
|
440
|
+
context: __SerdeContext
|
|
441
|
+
) => Promise<__HttpRequest>;
|
|
414
442
|
export declare const se_CreateRestoreTestingPlanCommand: (
|
|
415
443
|
input: CreateRestoreTestingPlanCommandInput,
|
|
416
444
|
context: __SerdeContext
|
|
@@ -507,6 +535,10 @@ export declare const se_DescribeRestoreJobCommand: (
|
|
|
507
535
|
input: DescribeRestoreJobCommandInput,
|
|
508
536
|
context: __SerdeContext
|
|
509
537
|
) => Promise<__HttpRequest>;
|
|
538
|
+
export declare const se_DisassociateBackupVaultMpaApprovalTeamCommand: (
|
|
539
|
+
input: DisassociateBackupVaultMpaApprovalTeamCommandInput,
|
|
540
|
+
context: __SerdeContext
|
|
541
|
+
) => Promise<__HttpRequest>;
|
|
510
542
|
export declare const se_DisassociateRecoveryPointCommand: (
|
|
511
543
|
input: DisassociateRecoveryPointCommandInput,
|
|
512
544
|
context: __SerdeContext
|
|
@@ -651,6 +683,10 @@ export declare const se_ListReportPlansCommand: (
|
|
|
651
683
|
input: ListReportPlansCommandInput,
|
|
652
684
|
context: __SerdeContext
|
|
653
685
|
) => Promise<__HttpRequest>;
|
|
686
|
+
export declare const se_ListRestoreAccessBackupVaultsCommand: (
|
|
687
|
+
input: ListRestoreAccessBackupVaultsCommandInput,
|
|
688
|
+
context: __SerdeContext
|
|
689
|
+
) => Promise<__HttpRequest>;
|
|
654
690
|
export declare const se_ListRestoreJobsCommand: (
|
|
655
691
|
input: ListRestoreJobsCommandInput,
|
|
656
692
|
context: __SerdeContext
|
|
@@ -691,6 +727,10 @@ export declare const se_PutRestoreValidationResultCommand: (
|
|
|
691
727
|
input: PutRestoreValidationResultCommandInput,
|
|
692
728
|
context: __SerdeContext
|
|
693
729
|
) => Promise<__HttpRequest>;
|
|
730
|
+
export declare const se_RevokeRestoreAccessBackupVaultCommand: (
|
|
731
|
+
input: RevokeRestoreAccessBackupVaultCommandInput,
|
|
732
|
+
context: __SerdeContext
|
|
733
|
+
) => Promise<__HttpRequest>;
|
|
694
734
|
export declare const se_StartBackupJobCommand: (
|
|
695
735
|
input: StartBackupJobCommandInput,
|
|
696
736
|
context: __SerdeContext
|
|
@@ -755,6 +795,10 @@ export declare const se_UpdateRestoreTestingSelectionCommand: (
|
|
|
755
795
|
input: UpdateRestoreTestingSelectionCommandInput,
|
|
756
796
|
context: __SerdeContext
|
|
757
797
|
) => Promise<__HttpRequest>;
|
|
798
|
+
export declare const de_AssociateBackupVaultMpaApprovalTeamCommand: (
|
|
799
|
+
output: __HttpResponse,
|
|
800
|
+
context: __SerdeContext
|
|
801
|
+
) => Promise<AssociateBackupVaultMpaApprovalTeamCommandOutput>;
|
|
758
802
|
export declare const de_CancelLegalHoldCommand: (
|
|
759
803
|
output: __HttpResponse,
|
|
760
804
|
context: __SerdeContext
|
|
@@ -787,6 +831,10 @@ export declare const de_CreateReportPlanCommand: (
|
|
|
787
831
|
output: __HttpResponse,
|
|
788
832
|
context: __SerdeContext
|
|
789
833
|
) => Promise<CreateReportPlanCommandOutput>;
|
|
834
|
+
export declare const de_CreateRestoreAccessBackupVaultCommand: (
|
|
835
|
+
output: __HttpResponse,
|
|
836
|
+
context: __SerdeContext
|
|
837
|
+
) => Promise<CreateRestoreAccessBackupVaultCommandOutput>;
|
|
790
838
|
export declare const de_CreateRestoreTestingPlanCommand: (
|
|
791
839
|
output: __HttpResponse,
|
|
792
840
|
context: __SerdeContext
|
|
@@ -883,6 +931,10 @@ export declare const de_DescribeRestoreJobCommand: (
|
|
|
883
931
|
output: __HttpResponse,
|
|
884
932
|
context: __SerdeContext
|
|
885
933
|
) => Promise<DescribeRestoreJobCommandOutput>;
|
|
934
|
+
export declare const de_DisassociateBackupVaultMpaApprovalTeamCommand: (
|
|
935
|
+
output: __HttpResponse,
|
|
936
|
+
context: __SerdeContext
|
|
937
|
+
) => Promise<DisassociateBackupVaultMpaApprovalTeamCommandOutput>;
|
|
886
938
|
export declare const de_DisassociateRecoveryPointCommand: (
|
|
887
939
|
output: __HttpResponse,
|
|
888
940
|
context: __SerdeContext
|
|
@@ -1027,6 +1079,10 @@ export declare const de_ListReportPlansCommand: (
|
|
|
1027
1079
|
output: __HttpResponse,
|
|
1028
1080
|
context: __SerdeContext
|
|
1029
1081
|
) => Promise<ListReportPlansCommandOutput>;
|
|
1082
|
+
export declare const de_ListRestoreAccessBackupVaultsCommand: (
|
|
1083
|
+
output: __HttpResponse,
|
|
1084
|
+
context: __SerdeContext
|
|
1085
|
+
) => Promise<ListRestoreAccessBackupVaultsCommandOutput>;
|
|
1030
1086
|
export declare const de_ListRestoreJobsCommand: (
|
|
1031
1087
|
output: __HttpResponse,
|
|
1032
1088
|
context: __SerdeContext
|
|
@@ -1067,6 +1123,10 @@ export declare const de_PutRestoreValidationResultCommand: (
|
|
|
1067
1123
|
output: __HttpResponse,
|
|
1068
1124
|
context: __SerdeContext
|
|
1069
1125
|
) => Promise<PutRestoreValidationResultCommandOutput>;
|
|
1126
|
+
export declare const de_RevokeRestoreAccessBackupVaultCommand: (
|
|
1127
|
+
output: __HttpResponse,
|
|
1128
|
+
context: __SerdeContext
|
|
1129
|
+
) => Promise<RevokeRestoreAccessBackupVaultCommandOutput>;
|
|
1070
1130
|
export declare const de_StartBackupJobCommand: (
|
|
1071
1131
|
output: __HttpResponse,
|
|
1072
1132
|
context: __SerdeContext
|
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.831.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",
|