@aws-sdk/client-backup 3.300.0 → 3.303.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/models/models_0.js +64 -72
- package/dist-es/models/models_0.js +64 -72
- package/dist-types/commands/CancelLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/CreateBackupPlanCommand.d.ts +11 -11
- package/dist-types/commands/CreateBackupSelectionCommand.d.ts +8 -8
- package/dist-types/commands/CreateBackupVaultCommand.d.ts +2 -2
- package/dist-types/commands/CreateFrameworkCommand.d.ts +9 -9
- package/dist-types/commands/CreateLegalHoldCommand.d.ts +6 -6
- package/dist-types/commands/CreateReportPlanCommand.d.ts +6 -6
- package/dist-types/commands/DeleteBackupPlanCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupSelectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/DeleteRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteReportPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCopyJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProtectedResourceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeReportPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeRestoreJobCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRecoveryPointCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateRecoveryPointFromParentCommand.d.ts +1 -1
- package/dist-types/commands/ExportBackupPlanTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupPlanCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupSelectionCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupVaultAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetBackupVaultNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/GetLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/GetRecoveryPointRestoreMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupPlanTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupPlanVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupSelectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBackupVaultsCommand.d.ts +1 -1
- package/dist-types/commands/ListCopyJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListFrameworksCommand.d.ts +1 -1
- package/dist-types/commands/ListLegalHoldsCommand.d.ts +1 -1
- package/dist-types/commands/ListProtectedResourcesCommand.d.ts +1 -1
- package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +1 -1
- package/dist-types/commands/ListRecoveryPointsByLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListReportJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListReportPlansCommand.d.ts +1 -1
- package/dist-types/commands/ListRestoreJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/PutBackupVaultAccessPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutBackupVaultLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBackupVaultNotificationsCommand.d.ts +2 -2
- package/dist-types/commands/StartBackupJobCommand.d.ts +4 -4
- package/dist-types/commands/StartCopyJobCommand.d.ts +2 -2
- package/dist-types/commands/StartReportJobCommand.d.ts +1 -1
- package/dist-types/commands/StartRestoreJobCommand.d.ts +2 -2
- package/dist-types/commands/StopBackupJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateBackupPlanCommand.d.ts +11 -11
- package/dist-types/commands/UpdateFrameworkCommand.d.ts +9 -9
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRecoveryPointLifecycleCommand.d.ts +2 -2
- package/dist-types/commands/UpdateRegionSettingsCommand.d.ts +3 -3
- package/dist-types/commands/UpdateReportPlanCommand.d.ts +5 -5
- package/dist-types/models/models_0.d.ts +104 -64
- package/dist-types/ts3.4/models/models_0.d.ts +77 -64
- package/package.json +34 -34
|
@@ -27,26 +27,26 @@ export interface UpdateFrameworkCommandOutput extends UpdateFrameworkOutput, __M
|
|
|
27
27
|
* import { BackupClient, UpdateFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, UpdateFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateFrameworkInput
|
|
31
31
|
* FrameworkName: "STRING_VALUE", // required
|
|
32
32
|
* FrameworkDescription: "STRING_VALUE",
|
|
33
|
-
* FrameworkControls: [
|
|
34
|
-
* {
|
|
33
|
+
* FrameworkControls: [ // FrameworkControls
|
|
34
|
+
* { // FrameworkControl
|
|
35
35
|
* ControlName: "STRING_VALUE", // required
|
|
36
|
-
* ControlInputParameters: [
|
|
37
|
-
* {
|
|
36
|
+
* ControlInputParameters: [ // ControlInputParameters
|
|
37
|
+
* { // ControlInputParameter
|
|
38
38
|
* ParameterName: "STRING_VALUE",
|
|
39
39
|
* ParameterValue: "STRING_VALUE",
|
|
40
40
|
* },
|
|
41
41
|
* ],
|
|
42
|
-
* ControlScope: {
|
|
43
|
-
* ComplianceResourceIds: [
|
|
42
|
+
* ControlScope: { // ControlScope
|
|
43
|
+
* ComplianceResourceIds: [ // ComplianceResourceIdList
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* ComplianceResourceTypes: [
|
|
46
|
+
* ComplianceResourceTypes: [ // ResourceTypeList
|
|
47
47
|
* "STRING_VALUE",
|
|
48
48
|
* ],
|
|
49
|
-
* Tags: {
|
|
49
|
+
* Tags: { // stringMap
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* },
|
|
@@ -28,8 +28,8 @@ export interface UpdateGlobalSettingsCommandOutput extends __MetadataBearer {
|
|
|
28
28
|
* import { BackupClient, UpdateGlobalSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
29
29
|
* // const { BackupClient, UpdateGlobalSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
30
30
|
* const client = new BackupClient(config);
|
|
31
|
-
* const input = {
|
|
32
|
-
* GlobalSettings: {
|
|
31
|
+
* const input = { // UpdateGlobalSettingsInput
|
|
32
|
+
* GlobalSettings: { // GlobalSettings
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* };
|
|
@@ -38,10 +38,10 @@ export interface UpdateRecoveryPointLifecycleCommandOutput extends UpdateRecover
|
|
|
38
38
|
* import { BackupClient, UpdateRecoveryPointLifecycleCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
39
39
|
* // const { BackupClient, UpdateRecoveryPointLifecycleCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
40
40
|
* const client = new BackupClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // UpdateRecoveryPointLifecycleInput
|
|
42
42
|
* BackupVaultName: "STRING_VALUE", // required
|
|
43
43
|
* RecoveryPointArn: "STRING_VALUE", // required
|
|
44
|
-
* Lifecycle: {
|
|
44
|
+
* Lifecycle: { // Lifecycle
|
|
45
45
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
46
46
|
* DeleteAfterDays: Number("long"),
|
|
47
47
|
* },
|
|
@@ -31,11 +31,11 @@ export interface UpdateRegionSettingsCommandOutput extends __MetadataBearer {
|
|
|
31
31
|
* import { BackupClient, UpdateRegionSettingsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
32
32
|
* // const { BackupClient, UpdateRegionSettingsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
33
33
|
* const client = new BackupClient(config);
|
|
34
|
-
* const input = {
|
|
35
|
-
* ResourceTypeOptInPreference: {
|
|
34
|
+
* const input = { // UpdateRegionSettingsInput
|
|
35
|
+
* ResourceTypeOptInPreference: { // ResourceTypeOptInPreference
|
|
36
36
|
* "<keys>": true || false,
|
|
37
37
|
* },
|
|
38
|
-
* ResourceTypeManagementPreference: {
|
|
38
|
+
* ResourceTypeManagementPreference: { // ResourceTypeManagementPreference
|
|
39
39
|
* "<keys>": true || false,
|
|
40
40
|
* },
|
|
41
41
|
* };
|
|
@@ -27,19 +27,19 @@ export interface UpdateReportPlanCommandOutput extends UpdateReportPlanOutput, _
|
|
|
27
27
|
* import { BackupClient, UpdateReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, UpdateReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // UpdateReportPlanInput
|
|
31
31
|
* ReportPlanName: "STRING_VALUE", // required
|
|
32
32
|
* ReportPlanDescription: "STRING_VALUE",
|
|
33
|
-
* ReportDeliveryChannel: {
|
|
33
|
+
* ReportDeliveryChannel: { // ReportDeliveryChannel
|
|
34
34
|
* S3BucketName: "STRING_VALUE", // required
|
|
35
35
|
* S3KeyPrefix: "STRING_VALUE",
|
|
36
|
-
* Formats: [
|
|
36
|
+
* Formats: [ // FormatList
|
|
37
37
|
* "STRING_VALUE",
|
|
38
38
|
* ],
|
|
39
39
|
* },
|
|
40
|
-
* ReportSetting: {
|
|
40
|
+
* ReportSetting: { // ReportSetting
|
|
41
41
|
* ReportTemplate: "STRING_VALUE", // required
|
|
42
|
-
* FrameworkArns: [
|
|
42
|
+
* FrameworkArns: [ // stringList
|
|
43
43
|
* "STRING_VALUE",
|
|
44
44
|
* ],
|
|
45
45
|
* NumberOfFrameworks: Number("int"),
|
|
@@ -86,18 +86,23 @@ export interface RecoveryPointCreator {
|
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
88
|
* @public
|
|
89
|
+
* @enum
|
|
89
90
|
*/
|
|
90
|
-
export declare
|
|
91
|
-
ABORTED
|
|
92
|
-
ABORTING
|
|
93
|
-
COMPLETED
|
|
94
|
-
CREATED
|
|
95
|
-
EXPIRED
|
|
96
|
-
FAILED
|
|
97
|
-
PARTIAL
|
|
98
|
-
PENDING
|
|
99
|
-
RUNNING
|
|
100
|
-
}
|
|
91
|
+
export declare const BackupJobState: {
|
|
92
|
+
readonly ABORTED: "ABORTED";
|
|
93
|
+
readonly ABORTING: "ABORTING";
|
|
94
|
+
readonly COMPLETED: "COMPLETED";
|
|
95
|
+
readonly CREATED: "CREATED";
|
|
96
|
+
readonly EXPIRED: "EXPIRED";
|
|
97
|
+
readonly FAILED: "FAILED";
|
|
98
|
+
readonly PARTIAL: "PARTIAL";
|
|
99
|
+
readonly PENDING: "PENDING";
|
|
100
|
+
readonly RUNNING: "RUNNING";
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* @public
|
|
104
|
+
*/
|
|
105
|
+
export type BackupJobState = (typeof BackupJobState)[keyof typeof BackupJobState];
|
|
101
106
|
/**
|
|
102
107
|
* @public
|
|
103
108
|
* <p>Contains detailed information about a backup job.</p>
|
|
@@ -580,10 +585,15 @@ export interface Conditions {
|
|
|
580
585
|
}
|
|
581
586
|
/**
|
|
582
587
|
* @public
|
|
588
|
+
* @enum
|
|
583
589
|
*/
|
|
584
|
-
export declare
|
|
585
|
-
STRINGEQUALS
|
|
586
|
-
}
|
|
590
|
+
export declare const ConditionType: {
|
|
591
|
+
readonly STRINGEQUALS: "STRINGEQUALS";
|
|
592
|
+
};
|
|
593
|
+
/**
|
|
594
|
+
* @public
|
|
595
|
+
*/
|
|
596
|
+
export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
|
|
587
597
|
/**
|
|
588
598
|
* @public
|
|
589
599
|
* <p>Contains an array of triplets made up of a condition type (such as
|
|
@@ -732,26 +742,31 @@ export interface BackupSelectionsListMember {
|
|
|
732
742
|
}
|
|
733
743
|
/**
|
|
734
744
|
* @public
|
|
745
|
+
* @enum
|
|
735
746
|
*/
|
|
736
|
-
export declare
|
|
737
|
-
BACKUP_JOB_COMPLETED
|
|
738
|
-
BACKUP_JOB_EXPIRED
|
|
739
|
-
BACKUP_JOB_FAILED
|
|
740
|
-
BACKUP_JOB_STARTED
|
|
741
|
-
BACKUP_JOB_SUCCESSFUL
|
|
742
|
-
BACKUP_PLAN_CREATED
|
|
743
|
-
BACKUP_PLAN_MODIFIED
|
|
744
|
-
COPY_JOB_FAILED
|
|
745
|
-
COPY_JOB_STARTED
|
|
746
|
-
COPY_JOB_SUCCESSFUL
|
|
747
|
-
RECOVERY_POINT_MODIFIED
|
|
748
|
-
RESTORE_JOB_COMPLETED
|
|
749
|
-
RESTORE_JOB_FAILED
|
|
750
|
-
RESTORE_JOB_STARTED
|
|
751
|
-
RESTORE_JOB_SUCCESSFUL
|
|
752
|
-
S3_BACKUP_OBJECT_FAILED
|
|
753
|
-
S3_RESTORE_OBJECT_FAILED
|
|
754
|
-
}
|
|
747
|
+
export declare const BackupVaultEvent: {
|
|
748
|
+
readonly BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED";
|
|
749
|
+
readonly BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED";
|
|
750
|
+
readonly BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED";
|
|
751
|
+
readonly BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED";
|
|
752
|
+
readonly BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL";
|
|
753
|
+
readonly BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED";
|
|
754
|
+
readonly BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED";
|
|
755
|
+
readonly COPY_JOB_FAILED: "COPY_JOB_FAILED";
|
|
756
|
+
readonly COPY_JOB_STARTED: "COPY_JOB_STARTED";
|
|
757
|
+
readonly COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL";
|
|
758
|
+
readonly RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED";
|
|
759
|
+
readonly RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED";
|
|
760
|
+
readonly RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED";
|
|
761
|
+
readonly RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED";
|
|
762
|
+
readonly RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL";
|
|
763
|
+
readonly S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED";
|
|
764
|
+
readonly S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED";
|
|
765
|
+
};
|
|
766
|
+
/**
|
|
767
|
+
* @public
|
|
768
|
+
*/
|
|
769
|
+
export type BackupVaultEvent = (typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
|
|
755
770
|
/**
|
|
756
771
|
* @public
|
|
757
772
|
* <p>Contains metadata about a backup vault.</p>
|
|
@@ -1076,14 +1091,19 @@ export interface ControlScope {
|
|
|
1076
1091
|
}
|
|
1077
1092
|
/**
|
|
1078
1093
|
* @public
|
|
1094
|
+
* @enum
|
|
1079
1095
|
*/
|
|
1080
|
-
export declare
|
|
1081
|
-
COMPLETED
|
|
1082
|
-
CREATED
|
|
1083
|
-
FAILED
|
|
1084
|
-
PARTIAL
|
|
1085
|
-
RUNNING
|
|
1086
|
-
}
|
|
1096
|
+
export declare const CopyJobState: {
|
|
1097
|
+
readonly COMPLETED: "COMPLETED";
|
|
1098
|
+
readonly CREATED: "CREATED";
|
|
1099
|
+
readonly FAILED: "FAILED";
|
|
1100
|
+
readonly PARTIAL: "PARTIAL";
|
|
1101
|
+
readonly RUNNING: "RUNNING";
|
|
1102
|
+
};
|
|
1103
|
+
/**
|
|
1104
|
+
* @public
|
|
1105
|
+
*/
|
|
1106
|
+
export type CopyJobState = (typeof CopyJobState)[keyof typeof CopyJobState];
|
|
1087
1107
|
/**
|
|
1088
1108
|
* @public
|
|
1089
1109
|
* <p>Contains detailed information about a copy job.</p>
|
|
@@ -1520,13 +1540,18 @@ export interface CreateLegalHoldInput {
|
|
|
1520
1540
|
}
|
|
1521
1541
|
/**
|
|
1522
1542
|
* @public
|
|
1543
|
+
* @enum
|
|
1523
1544
|
*/
|
|
1524
|
-
export declare
|
|
1525
|
-
ACTIVE
|
|
1526
|
-
CANCELED
|
|
1527
|
-
CANCELING
|
|
1528
|
-
CREATING
|
|
1529
|
-
}
|
|
1545
|
+
export declare const LegalHoldStatus: {
|
|
1546
|
+
readonly ACTIVE: "ACTIVE";
|
|
1547
|
+
readonly CANCELED: "CANCELED";
|
|
1548
|
+
readonly CANCELING: "CANCELING";
|
|
1549
|
+
readonly CREATING: "CREATING";
|
|
1550
|
+
};
|
|
1551
|
+
/**
|
|
1552
|
+
* @public
|
|
1553
|
+
*/
|
|
1554
|
+
export type LegalHoldStatus = (typeof LegalHoldStatus)[keyof typeof LegalHoldStatus];
|
|
1530
1555
|
/**
|
|
1531
1556
|
* @public
|
|
1532
1557
|
*/
|
|
@@ -2268,21 +2293,31 @@ export interface DescribeRecoveryPointInput {
|
|
|
2268
2293
|
}
|
|
2269
2294
|
/**
|
|
2270
2295
|
* @public
|
|
2296
|
+
* @enum
|
|
2271
2297
|
*/
|
|
2272
|
-
export declare
|
|
2273
|
-
COMPLETED
|
|
2274
|
-
DELETING
|
|
2275
|
-
EXPIRED
|
|
2276
|
-
PARTIAL
|
|
2277
|
-
}
|
|
2298
|
+
export declare const RecoveryPointStatus: {
|
|
2299
|
+
readonly COMPLETED: "COMPLETED";
|
|
2300
|
+
readonly DELETING: "DELETING";
|
|
2301
|
+
readonly EXPIRED: "EXPIRED";
|
|
2302
|
+
readonly PARTIAL: "PARTIAL";
|
|
2303
|
+
};
|
|
2278
2304
|
/**
|
|
2279
2305
|
* @public
|
|
2280
2306
|
*/
|
|
2281
|
-
export
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2307
|
+
export type RecoveryPointStatus = (typeof RecoveryPointStatus)[keyof typeof RecoveryPointStatus];
|
|
2308
|
+
/**
|
|
2309
|
+
* @public
|
|
2310
|
+
* @enum
|
|
2311
|
+
*/
|
|
2312
|
+
export declare const StorageClass: {
|
|
2313
|
+
readonly COLD: "COLD";
|
|
2314
|
+
readonly DELETED: "DELETED";
|
|
2315
|
+
readonly WARM: "WARM";
|
|
2316
|
+
};
|
|
2317
|
+
/**
|
|
2318
|
+
* @public
|
|
2319
|
+
*/
|
|
2320
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
2286
2321
|
/**
|
|
2287
2322
|
* @public
|
|
2288
2323
|
*/
|
|
@@ -2661,14 +2696,19 @@ export interface DescribeRestoreJobInput {
|
|
|
2661
2696
|
}
|
|
2662
2697
|
/**
|
|
2663
2698
|
* @public
|
|
2699
|
+
* @enum
|
|
2664
2700
|
*/
|
|
2665
|
-
export declare
|
|
2666
|
-
ABORTED
|
|
2667
|
-
COMPLETED
|
|
2668
|
-
FAILED
|
|
2669
|
-
PENDING
|
|
2670
|
-
RUNNING
|
|
2671
|
-
}
|
|
2701
|
+
export declare const RestoreJobStatus: {
|
|
2702
|
+
readonly ABORTED: "ABORTED";
|
|
2703
|
+
readonly COMPLETED: "COMPLETED";
|
|
2704
|
+
readonly FAILED: "FAILED";
|
|
2705
|
+
readonly PENDING: "PENDING";
|
|
2706
|
+
readonly RUNNING: "RUNNING";
|
|
2707
|
+
};
|
|
2708
|
+
/**
|
|
2709
|
+
* @public
|
|
2710
|
+
*/
|
|
2711
|
+
export type RestoreJobStatus = (typeof RestoreJobStatus)[keyof typeof RestoreJobStatus];
|
|
2672
2712
|
/**
|
|
2673
2713
|
* @public
|
|
2674
2714
|
*/
|
|
@@ -23,17 +23,19 @@ export interface RecoveryPointCreator {
|
|
|
23
23
|
BackupPlanVersion?: string;
|
|
24
24
|
BackupRuleId?: string;
|
|
25
25
|
}
|
|
26
|
-
export declare
|
|
27
|
-
ABORTED
|
|
28
|
-
ABORTING
|
|
29
|
-
COMPLETED
|
|
30
|
-
CREATED
|
|
31
|
-
EXPIRED
|
|
32
|
-
FAILED
|
|
33
|
-
PARTIAL
|
|
34
|
-
PENDING
|
|
35
|
-
RUNNING
|
|
36
|
-
}
|
|
26
|
+
export declare const BackupJobState: {
|
|
27
|
+
readonly ABORTED: "ABORTED";
|
|
28
|
+
readonly ABORTING: "ABORTING";
|
|
29
|
+
readonly COMPLETED: "COMPLETED";
|
|
30
|
+
readonly CREATED: "CREATED";
|
|
31
|
+
readonly EXPIRED: "EXPIRED";
|
|
32
|
+
readonly FAILED: "FAILED";
|
|
33
|
+
readonly PARTIAL: "PARTIAL";
|
|
34
|
+
readonly PENDING: "PENDING";
|
|
35
|
+
readonly RUNNING: "RUNNING";
|
|
36
|
+
};
|
|
37
|
+
export type BackupJobState =
|
|
38
|
+
(typeof BackupJobState)[keyof typeof BackupJobState];
|
|
37
39
|
export interface BackupJob {
|
|
38
40
|
AccountId?: string;
|
|
39
41
|
BackupJobId?: string;
|
|
@@ -125,9 +127,10 @@ export interface Conditions {
|
|
|
125
127
|
StringLike?: ConditionParameter[];
|
|
126
128
|
StringNotLike?: ConditionParameter[];
|
|
127
129
|
}
|
|
128
|
-
export declare
|
|
129
|
-
STRINGEQUALS
|
|
130
|
-
}
|
|
130
|
+
export declare const ConditionType: {
|
|
131
|
+
readonly STRINGEQUALS: "STRINGEQUALS";
|
|
132
|
+
};
|
|
133
|
+
export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
|
|
131
134
|
export interface Condition {
|
|
132
135
|
ConditionType: ConditionType | string | undefined;
|
|
133
136
|
ConditionKey: string | undefined;
|
|
@@ -149,25 +152,27 @@ export interface BackupSelectionsListMember {
|
|
|
149
152
|
CreatorRequestId?: string;
|
|
150
153
|
IamRoleArn?: string;
|
|
151
154
|
}
|
|
152
|
-
export declare
|
|
153
|
-
BACKUP_JOB_COMPLETED
|
|
154
|
-
BACKUP_JOB_EXPIRED
|
|
155
|
-
BACKUP_JOB_FAILED
|
|
156
|
-
BACKUP_JOB_STARTED
|
|
157
|
-
BACKUP_JOB_SUCCESSFUL
|
|
158
|
-
BACKUP_PLAN_CREATED
|
|
159
|
-
BACKUP_PLAN_MODIFIED
|
|
160
|
-
COPY_JOB_FAILED
|
|
161
|
-
COPY_JOB_STARTED
|
|
162
|
-
COPY_JOB_SUCCESSFUL
|
|
163
|
-
RECOVERY_POINT_MODIFIED
|
|
164
|
-
RESTORE_JOB_COMPLETED
|
|
165
|
-
RESTORE_JOB_FAILED
|
|
166
|
-
RESTORE_JOB_STARTED
|
|
167
|
-
RESTORE_JOB_SUCCESSFUL
|
|
168
|
-
S3_BACKUP_OBJECT_FAILED
|
|
169
|
-
S3_RESTORE_OBJECT_FAILED
|
|
170
|
-
}
|
|
155
|
+
export declare const BackupVaultEvent: {
|
|
156
|
+
readonly BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED";
|
|
157
|
+
readonly BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED";
|
|
158
|
+
readonly BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED";
|
|
159
|
+
readonly BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED";
|
|
160
|
+
readonly BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL";
|
|
161
|
+
readonly BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED";
|
|
162
|
+
readonly BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED";
|
|
163
|
+
readonly COPY_JOB_FAILED: "COPY_JOB_FAILED";
|
|
164
|
+
readonly COPY_JOB_STARTED: "COPY_JOB_STARTED";
|
|
165
|
+
readonly COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL";
|
|
166
|
+
readonly RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED";
|
|
167
|
+
readonly RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED";
|
|
168
|
+
readonly RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED";
|
|
169
|
+
readonly RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED";
|
|
170
|
+
readonly RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL";
|
|
171
|
+
readonly S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED";
|
|
172
|
+
readonly S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED";
|
|
173
|
+
};
|
|
174
|
+
export type BackupVaultEvent =
|
|
175
|
+
(typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
|
|
171
176
|
export interface BackupVaultListMember {
|
|
172
177
|
BackupVaultName?: string;
|
|
173
178
|
BackupVaultArn?: string;
|
|
@@ -263,13 +268,14 @@ export interface ControlScope {
|
|
|
263
268
|
ComplianceResourceTypes?: string[];
|
|
264
269
|
Tags?: Record<string, string>;
|
|
265
270
|
}
|
|
266
|
-
export declare
|
|
267
|
-
COMPLETED
|
|
268
|
-
CREATED
|
|
269
|
-
FAILED
|
|
270
|
-
PARTIAL
|
|
271
|
-
RUNNING
|
|
272
|
-
}
|
|
271
|
+
export declare const CopyJobState: {
|
|
272
|
+
readonly COMPLETED: "COMPLETED";
|
|
273
|
+
readonly CREATED: "CREATED";
|
|
274
|
+
readonly FAILED: "FAILED";
|
|
275
|
+
readonly PARTIAL: "PARTIAL";
|
|
276
|
+
readonly RUNNING: "RUNNING";
|
|
277
|
+
};
|
|
278
|
+
export type CopyJobState = (typeof CopyJobState)[keyof typeof CopyJobState];
|
|
273
279
|
export interface CopyJob {
|
|
274
280
|
AccountId?: string;
|
|
275
281
|
CopyJobId?: string;
|
|
@@ -369,12 +375,14 @@ export interface CreateLegalHoldInput {
|
|
|
369
375
|
RecoveryPointSelection?: RecoveryPointSelection;
|
|
370
376
|
Tags?: Record<string, string>;
|
|
371
377
|
}
|
|
372
|
-
export declare
|
|
373
|
-
ACTIVE
|
|
374
|
-
CANCELED
|
|
375
|
-
CANCELING
|
|
376
|
-
CREATING
|
|
377
|
-
}
|
|
378
|
+
export declare const LegalHoldStatus: {
|
|
379
|
+
readonly ACTIVE: "ACTIVE";
|
|
380
|
+
readonly CANCELED: "CANCELED";
|
|
381
|
+
readonly CANCELING: "CANCELING";
|
|
382
|
+
readonly CREATING: "CREATING";
|
|
383
|
+
};
|
|
384
|
+
export type LegalHoldStatus =
|
|
385
|
+
(typeof LegalHoldStatus)[keyof typeof LegalHoldStatus];
|
|
378
386
|
export interface CreateLegalHoldOutput {
|
|
379
387
|
Title?: string;
|
|
380
388
|
Status?: LegalHoldStatus | string;
|
|
@@ -549,17 +557,20 @@ export interface DescribeRecoveryPointInput {
|
|
|
549
557
|
BackupVaultName: string | undefined;
|
|
550
558
|
RecoveryPointArn: string | undefined;
|
|
551
559
|
}
|
|
552
|
-
export declare
|
|
553
|
-
COMPLETED
|
|
554
|
-
DELETING
|
|
555
|
-
EXPIRED
|
|
556
|
-
PARTIAL
|
|
557
|
-
}
|
|
558
|
-
export
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
560
|
+
export declare const RecoveryPointStatus: {
|
|
561
|
+
readonly COMPLETED: "COMPLETED";
|
|
562
|
+
readonly DELETING: "DELETING";
|
|
563
|
+
readonly EXPIRED: "EXPIRED";
|
|
564
|
+
readonly PARTIAL: "PARTIAL";
|
|
565
|
+
};
|
|
566
|
+
export type RecoveryPointStatus =
|
|
567
|
+
(typeof RecoveryPointStatus)[keyof typeof RecoveryPointStatus];
|
|
568
|
+
export declare const StorageClass: {
|
|
569
|
+
readonly COLD: "COLD";
|
|
570
|
+
readonly DELETED: "DELETED";
|
|
571
|
+
readonly WARM: "WARM";
|
|
572
|
+
};
|
|
573
|
+
export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
|
|
563
574
|
export interface DescribeRecoveryPointOutput {
|
|
564
575
|
RecoveryPointArn?: string;
|
|
565
576
|
BackupVaultName?: string;
|
|
@@ -630,13 +641,15 @@ export interface DescribeReportPlanOutput {
|
|
|
630
641
|
export interface DescribeRestoreJobInput {
|
|
631
642
|
RestoreJobId: string | undefined;
|
|
632
643
|
}
|
|
633
|
-
export declare
|
|
634
|
-
ABORTED
|
|
635
|
-
COMPLETED
|
|
636
|
-
FAILED
|
|
637
|
-
PENDING
|
|
638
|
-
RUNNING
|
|
639
|
-
}
|
|
644
|
+
export declare const RestoreJobStatus: {
|
|
645
|
+
readonly ABORTED: "ABORTED";
|
|
646
|
+
readonly COMPLETED: "COMPLETED";
|
|
647
|
+
readonly FAILED: "FAILED";
|
|
648
|
+
readonly PENDING: "PENDING";
|
|
649
|
+
readonly RUNNING: "RUNNING";
|
|
650
|
+
};
|
|
651
|
+
export type RestoreJobStatus =
|
|
652
|
+
(typeof RestoreJobStatus)[keyof typeof RestoreJobStatus];
|
|
640
653
|
export interface DescribeRestoreJobOutput {
|
|
641
654
|
AccountId?: string;
|
|
642
655
|
RestoreJobId?: string;
|
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.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,43 +21,43 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0",
|
|
57
57
|
"uuid": "^8.3.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
60
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
61
61
|
"@tsconfig/node14": "1.0.3",
|
|
62
62
|
"@types/node": "^14.14.31",
|
|
63
63
|
"@types/uuid": "^8.3.0",
|