@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
|
@@ -22,42 +22,39 @@ class AlreadyExistsException extends BackupServiceException_1.BackupServiceExcep
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
exports.AlreadyExistsException = AlreadyExistsException;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
|
|
59
|
-
BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
|
|
60
|
-
})(BackupVaultEvent = exports.BackupVaultEvent || (exports.BackupVaultEvent = {}));
|
|
25
|
+
exports.BackupJobState = {
|
|
26
|
+
ABORTED: "ABORTED",
|
|
27
|
+
ABORTING: "ABORTING",
|
|
28
|
+
COMPLETED: "COMPLETED",
|
|
29
|
+
CREATED: "CREATED",
|
|
30
|
+
EXPIRED: "EXPIRED",
|
|
31
|
+
FAILED: "FAILED",
|
|
32
|
+
PARTIAL: "PARTIAL",
|
|
33
|
+
PENDING: "PENDING",
|
|
34
|
+
RUNNING: "RUNNING",
|
|
35
|
+
};
|
|
36
|
+
exports.ConditionType = {
|
|
37
|
+
STRINGEQUALS: "STRINGEQUALS",
|
|
38
|
+
};
|
|
39
|
+
exports.BackupVaultEvent = {
|
|
40
|
+
BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
|
|
41
|
+
BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
|
|
42
|
+
BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
|
|
43
|
+
BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
|
|
44
|
+
BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
|
|
45
|
+
BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
|
|
46
|
+
BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
|
|
47
|
+
COPY_JOB_FAILED: "COPY_JOB_FAILED",
|
|
48
|
+
COPY_JOB_STARTED: "COPY_JOB_STARTED",
|
|
49
|
+
COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
|
|
50
|
+
RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
|
|
51
|
+
RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
|
|
52
|
+
RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
|
|
53
|
+
RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
|
|
54
|
+
RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
|
|
55
|
+
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
56
|
+
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
57
|
+
};
|
|
61
58
|
class InvalidParameterValueException extends BackupServiceException_1.BackupServiceException {
|
|
62
59
|
constructor(opts) {
|
|
63
60
|
super({
|
|
@@ -160,14 +157,13 @@ class ConflictException extends BackupServiceException_1.BackupServiceException
|
|
|
160
157
|
}
|
|
161
158
|
}
|
|
162
159
|
exports.ConflictException = ConflictException;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
})(CopyJobState = exports.CopyJobState || (exports.CopyJobState = {}));
|
|
160
|
+
exports.CopyJobState = {
|
|
161
|
+
COMPLETED: "COMPLETED",
|
|
162
|
+
CREATED: "CREATED",
|
|
163
|
+
FAILED: "FAILED",
|
|
164
|
+
PARTIAL: "PARTIAL",
|
|
165
|
+
RUNNING: "RUNNING",
|
|
166
|
+
};
|
|
171
167
|
class LimitExceededException extends BackupServiceException_1.BackupServiceException {
|
|
172
168
|
constructor(opts) {
|
|
173
169
|
super({
|
|
@@ -185,13 +181,12 @@ class LimitExceededException extends BackupServiceException_1.BackupServiceExcep
|
|
|
185
181
|
}
|
|
186
182
|
}
|
|
187
183
|
exports.LimitExceededException = LimitExceededException;
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
})(LegalHoldStatus = exports.LegalHoldStatus || (exports.LegalHoldStatus = {}));
|
|
184
|
+
exports.LegalHoldStatus = {
|
|
185
|
+
ACTIVE: "ACTIVE",
|
|
186
|
+
CANCELED: "CANCELED",
|
|
187
|
+
CANCELING: "CANCELING",
|
|
188
|
+
CREATING: "CREATING",
|
|
189
|
+
};
|
|
195
190
|
class InvalidRequestException extends BackupServiceException_1.BackupServiceException {
|
|
196
191
|
constructor(opts) {
|
|
197
192
|
super({
|
|
@@ -226,27 +221,24 @@ class DependencyFailureException extends BackupServiceException_1.BackupServiceE
|
|
|
226
221
|
}
|
|
227
222
|
}
|
|
228
223
|
exports.DependencyFailureException = DependencyFailureException;
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
RestoreJobStatus["PENDING"] = "PENDING";
|
|
248
|
-
RestoreJobStatus["RUNNING"] = "RUNNING";
|
|
249
|
-
})(RestoreJobStatus = exports.RestoreJobStatus || (exports.RestoreJobStatus = {}));
|
|
224
|
+
exports.RecoveryPointStatus = {
|
|
225
|
+
COMPLETED: "COMPLETED",
|
|
226
|
+
DELETING: "DELETING",
|
|
227
|
+
EXPIRED: "EXPIRED",
|
|
228
|
+
PARTIAL: "PARTIAL",
|
|
229
|
+
};
|
|
230
|
+
exports.StorageClass = {
|
|
231
|
+
COLD: "COLD",
|
|
232
|
+
DELETED: "DELETED",
|
|
233
|
+
WARM: "WARM",
|
|
234
|
+
};
|
|
235
|
+
exports.RestoreJobStatus = {
|
|
236
|
+
ABORTED: "ABORTED",
|
|
237
|
+
COMPLETED: "COMPLETED",
|
|
238
|
+
FAILED: "FAILED",
|
|
239
|
+
PENDING: "PENDING",
|
|
240
|
+
RUNNING: "RUNNING",
|
|
241
|
+
};
|
|
250
242
|
const BackupRuleFilterSensitiveLog = (obj) => ({
|
|
251
243
|
...obj,
|
|
252
244
|
...(obj.RecoveryPointTags && { RecoveryPointTags: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -18,42 +18,39 @@ export class AlreadyExistsException extends __BaseException {
|
|
|
18
18
|
this.Context = opts.Context;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
export
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
BackupVaultEvent["S3_BACKUP_OBJECT_FAILED"] = "S3_BACKUP_OBJECT_FAILED";
|
|
55
|
-
BackupVaultEvent["S3_RESTORE_OBJECT_FAILED"] = "S3_RESTORE_OBJECT_FAILED";
|
|
56
|
-
})(BackupVaultEvent || (BackupVaultEvent = {}));
|
|
21
|
+
export const BackupJobState = {
|
|
22
|
+
ABORTED: "ABORTED",
|
|
23
|
+
ABORTING: "ABORTING",
|
|
24
|
+
COMPLETED: "COMPLETED",
|
|
25
|
+
CREATED: "CREATED",
|
|
26
|
+
EXPIRED: "EXPIRED",
|
|
27
|
+
FAILED: "FAILED",
|
|
28
|
+
PARTIAL: "PARTIAL",
|
|
29
|
+
PENDING: "PENDING",
|
|
30
|
+
RUNNING: "RUNNING",
|
|
31
|
+
};
|
|
32
|
+
export const ConditionType = {
|
|
33
|
+
STRINGEQUALS: "STRINGEQUALS",
|
|
34
|
+
};
|
|
35
|
+
export const BackupVaultEvent = {
|
|
36
|
+
BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED",
|
|
37
|
+
BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED",
|
|
38
|
+
BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED",
|
|
39
|
+
BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED",
|
|
40
|
+
BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL",
|
|
41
|
+
BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED",
|
|
42
|
+
BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED",
|
|
43
|
+
COPY_JOB_FAILED: "COPY_JOB_FAILED",
|
|
44
|
+
COPY_JOB_STARTED: "COPY_JOB_STARTED",
|
|
45
|
+
COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL",
|
|
46
|
+
RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED",
|
|
47
|
+
RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED",
|
|
48
|
+
RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED",
|
|
49
|
+
RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED",
|
|
50
|
+
RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL",
|
|
51
|
+
S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED",
|
|
52
|
+
S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED",
|
|
53
|
+
};
|
|
57
54
|
export class InvalidParameterValueException extends __BaseException {
|
|
58
55
|
constructor(opts) {
|
|
59
56
|
super({
|
|
@@ -150,14 +147,13 @@ export class ConflictException extends __BaseException {
|
|
|
150
147
|
this.Context = opts.Context;
|
|
151
148
|
}
|
|
152
149
|
}
|
|
153
|
-
export
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
})(CopyJobState || (CopyJobState = {}));
|
|
150
|
+
export const CopyJobState = {
|
|
151
|
+
COMPLETED: "COMPLETED",
|
|
152
|
+
CREATED: "CREATED",
|
|
153
|
+
FAILED: "FAILED",
|
|
154
|
+
PARTIAL: "PARTIAL",
|
|
155
|
+
RUNNING: "RUNNING",
|
|
156
|
+
};
|
|
161
157
|
export class LimitExceededException extends __BaseException {
|
|
162
158
|
constructor(opts) {
|
|
163
159
|
super({
|
|
@@ -174,13 +170,12 @@ export class LimitExceededException extends __BaseException {
|
|
|
174
170
|
this.Context = opts.Context;
|
|
175
171
|
}
|
|
176
172
|
}
|
|
177
|
-
export
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
})(LegalHoldStatus || (LegalHoldStatus = {}));
|
|
173
|
+
export const LegalHoldStatus = {
|
|
174
|
+
ACTIVE: "ACTIVE",
|
|
175
|
+
CANCELED: "CANCELED",
|
|
176
|
+
CANCELING: "CANCELING",
|
|
177
|
+
CREATING: "CREATING",
|
|
178
|
+
};
|
|
184
179
|
export class InvalidRequestException extends __BaseException {
|
|
185
180
|
constructor(opts) {
|
|
186
181
|
super({
|
|
@@ -213,27 +208,24 @@ export class DependencyFailureException extends __BaseException {
|
|
|
213
208
|
this.Context = opts.Context;
|
|
214
209
|
}
|
|
215
210
|
}
|
|
216
|
-
export
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
RestoreJobStatus["PENDING"] = "PENDING";
|
|
235
|
-
RestoreJobStatus["RUNNING"] = "RUNNING";
|
|
236
|
-
})(RestoreJobStatus || (RestoreJobStatus = {}));
|
|
211
|
+
export const RecoveryPointStatus = {
|
|
212
|
+
COMPLETED: "COMPLETED",
|
|
213
|
+
DELETING: "DELETING",
|
|
214
|
+
EXPIRED: "EXPIRED",
|
|
215
|
+
PARTIAL: "PARTIAL",
|
|
216
|
+
};
|
|
217
|
+
export const StorageClass = {
|
|
218
|
+
COLD: "COLD",
|
|
219
|
+
DELETED: "DELETED",
|
|
220
|
+
WARM: "WARM",
|
|
221
|
+
};
|
|
222
|
+
export const RestoreJobStatus = {
|
|
223
|
+
ABORTED: "ABORTED",
|
|
224
|
+
COMPLETED: "COMPLETED",
|
|
225
|
+
FAILED: "FAILED",
|
|
226
|
+
PENDING: "PENDING",
|
|
227
|
+
RUNNING: "RUNNING",
|
|
228
|
+
};
|
|
237
229
|
export const BackupRuleFilterSensitiveLog = (obj) => ({
|
|
238
230
|
...obj,
|
|
239
231
|
...(obj.RecoveryPointTags && { RecoveryPointTags: SENSITIVE_STRING }),
|
|
@@ -27,7 +27,7 @@ export interface CancelLegalHoldCommandOutput extends CancelLegalHoldOutput, __M
|
|
|
27
27
|
* import { BackupClient, CancelLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, CancelLegalHoldCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CancelLegalHoldInput
|
|
31
31
|
* LegalHoldId: "STRING_VALUE", // required
|
|
32
32
|
* CancelDescription: "STRING_VALUE", // required
|
|
33
33
|
* RetainRecordInDays: Number("long"),
|
|
@@ -30,25 +30,25 @@ export interface CreateBackupPlanCommandOutput extends CreateBackupPlanOutput, _
|
|
|
30
30
|
* import { BackupClient, CreateBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
31
31
|
* // const { BackupClient, CreateBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
32
32
|
* const client = new BackupClient(config);
|
|
33
|
-
* const input = {
|
|
34
|
-
* BackupPlan: {
|
|
33
|
+
* const input = { // CreateBackupPlanInput
|
|
34
|
+
* BackupPlan: { // BackupPlanInput
|
|
35
35
|
* BackupPlanName: "STRING_VALUE", // required
|
|
36
|
-
* Rules: [ // required
|
|
37
|
-
* {
|
|
36
|
+
* Rules: [ // BackupRulesInput // required
|
|
37
|
+
* { // BackupRuleInput
|
|
38
38
|
* RuleName: "STRING_VALUE", // required
|
|
39
39
|
* TargetBackupVaultName: "STRING_VALUE", // required
|
|
40
40
|
* ScheduleExpression: "STRING_VALUE",
|
|
41
41
|
* StartWindowMinutes: Number("long"),
|
|
42
42
|
* CompletionWindowMinutes: Number("long"),
|
|
43
|
-
* Lifecycle: {
|
|
43
|
+
* Lifecycle: { // Lifecycle
|
|
44
44
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
45
45
|
* DeleteAfterDays: Number("long"),
|
|
46
46
|
* },
|
|
47
|
-
* RecoveryPointTags: {
|
|
47
|
+
* RecoveryPointTags: { // Tags
|
|
48
48
|
* "<keys>": "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
|
-
* CopyActions: [
|
|
51
|
-
* {
|
|
50
|
+
* CopyActions: [ // CopyActions
|
|
51
|
+
* { // CopyAction
|
|
52
52
|
* Lifecycle: {
|
|
53
53
|
* MoveToColdStorageAfterDays: Number("long"),
|
|
54
54
|
* DeleteAfterDays: Number("long"),
|
|
@@ -59,10 +59,10 @@ export interface CreateBackupPlanCommandOutput extends CreateBackupPlanOutput, _
|
|
|
59
59
|
* EnableContinuousBackup: true || false,
|
|
60
60
|
* },
|
|
61
61
|
* ],
|
|
62
|
-
* AdvancedBackupSettings: [
|
|
63
|
-
* {
|
|
62
|
+
* AdvancedBackupSettings: [ // AdvancedBackupSettings
|
|
63
|
+
* { // AdvancedBackupSetting
|
|
64
64
|
* ResourceType: "STRING_VALUE",
|
|
65
|
-
* BackupOptions: {
|
|
65
|
+
* BackupOptions: { // BackupOptions
|
|
66
66
|
* "<keys>": "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
@@ -27,16 +27,16 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
|
|
|
27
27
|
* import { BackupClient, CreateBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, CreateBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateBackupSelectionInput
|
|
31
31
|
* BackupPlanId: "STRING_VALUE", // required
|
|
32
|
-
* BackupSelection: {
|
|
32
|
+
* BackupSelection: { // BackupSelection
|
|
33
33
|
* SelectionName: "STRING_VALUE", // required
|
|
34
34
|
* IamRoleArn: "STRING_VALUE", // required
|
|
35
|
-
* Resources: [
|
|
35
|
+
* Resources: [ // ResourceArns
|
|
36
36
|
* "STRING_VALUE",
|
|
37
37
|
* ],
|
|
38
|
-
* ListOfTags: [
|
|
39
|
-
* {
|
|
38
|
+
* ListOfTags: [ // ListOfTags
|
|
39
|
+
* { // Condition
|
|
40
40
|
* ConditionType: "STRINGEQUALS", // required
|
|
41
41
|
* ConditionKey: "STRING_VALUE", // required
|
|
42
42
|
* ConditionValue: "STRING_VALUE", // required
|
|
@@ -45,9 +45,9 @@ export interface CreateBackupSelectionCommandOutput extends CreateBackupSelectio
|
|
|
45
45
|
* NotResources: [
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
|
-
* Conditions: {
|
|
49
|
-
* StringEquals: [
|
|
50
|
-
* {
|
|
48
|
+
* Conditions: { // Conditions
|
|
49
|
+
* StringEquals: [ // ConditionParameters
|
|
50
|
+
* { // ConditionParameter
|
|
51
51
|
* ConditionKey: "STRING_VALUE",
|
|
52
52
|
* ConditionValue: "STRING_VALUE",
|
|
53
53
|
* },
|
|
@@ -32,9 +32,9 @@ export interface CreateBackupVaultCommandOutput extends CreateBackupVaultOutput,
|
|
|
32
32
|
* import { BackupClient, CreateBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
33
33
|
* // const { BackupClient, CreateBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
34
34
|
* const client = new BackupClient(config);
|
|
35
|
-
* const input = {
|
|
35
|
+
* const input = { // CreateBackupVaultInput
|
|
36
36
|
* BackupVaultName: "STRING_VALUE", // required
|
|
37
|
-
* BackupVaultTags: {
|
|
37
|
+
* BackupVaultTags: { // Tags
|
|
38
38
|
* "<keys>": "STRING_VALUE",
|
|
39
39
|
* },
|
|
40
40
|
* EncryptionKeyArn: "STRING_VALUE",
|
|
@@ -29,26 +29,26 @@ export interface CreateFrameworkCommandOutput extends CreateFrameworkOutput, __M
|
|
|
29
29
|
* import { BackupClient, CreateFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, CreateFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateFrameworkInput
|
|
33
33
|
* FrameworkName: "STRING_VALUE", // required
|
|
34
34
|
* FrameworkDescription: "STRING_VALUE",
|
|
35
|
-
* FrameworkControls: [ // required
|
|
36
|
-
* {
|
|
35
|
+
* FrameworkControls: [ // FrameworkControls // required
|
|
36
|
+
* { // FrameworkControl
|
|
37
37
|
* ControlName: "STRING_VALUE", // required
|
|
38
|
-
* ControlInputParameters: [
|
|
39
|
-
* {
|
|
38
|
+
* ControlInputParameters: [ // ControlInputParameters
|
|
39
|
+
* { // ControlInputParameter
|
|
40
40
|
* ParameterName: "STRING_VALUE",
|
|
41
41
|
* ParameterValue: "STRING_VALUE",
|
|
42
42
|
* },
|
|
43
43
|
* ],
|
|
44
|
-
* ControlScope: {
|
|
45
|
-
* ComplianceResourceIds: [
|
|
44
|
+
* ControlScope: { // ControlScope
|
|
45
|
+
* ComplianceResourceIds: [ // ComplianceResourceIdList
|
|
46
46
|
* "STRING_VALUE",
|
|
47
47
|
* ],
|
|
48
|
-
* ComplianceResourceTypes: [
|
|
48
|
+
* ComplianceResourceTypes: [ // ResourceTypeList
|
|
49
49
|
* "STRING_VALUE",
|
|
50
50
|
* ],
|
|
51
|
-
* Tags: {
|
|
51
|
+
* Tags: { // stringMap
|
|
52
52
|
* "<keys>": "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
54
|
* },
|
|
@@ -29,23 +29,23 @@ export interface CreateLegalHoldCommandOutput extends CreateLegalHoldOutput, __M
|
|
|
29
29
|
* import { BackupClient, CreateLegalHoldCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, CreateLegalHoldCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateLegalHoldInput
|
|
33
33
|
* Title: "STRING_VALUE", // required
|
|
34
34
|
* Description: "STRING_VALUE", // required
|
|
35
35
|
* IdempotencyToken: "STRING_VALUE",
|
|
36
|
-
* RecoveryPointSelection: {
|
|
37
|
-
* VaultNames: [
|
|
36
|
+
* RecoveryPointSelection: { // RecoveryPointSelection
|
|
37
|
+
* VaultNames: [ // VaultNames
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
|
-
* ResourceIdentifiers: [
|
|
40
|
+
* ResourceIdentifiers: [ // ResourceIdentifiers
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
|
-
* DateRange: {
|
|
43
|
+
* DateRange: { // DateRange
|
|
44
44
|
* FromDate: new Date("TIMESTAMP"), // required
|
|
45
45
|
* ToDate: new Date("TIMESTAMP"), // required
|
|
46
46
|
* },
|
|
47
47
|
* },
|
|
48
|
-
* Tags: {
|
|
48
|
+
* Tags: { // Tags
|
|
49
49
|
* "<keys>": "STRING_VALUE",
|
|
50
50
|
* },
|
|
51
51
|
* };
|
|
@@ -29,19 +29,19 @@ export interface CreateReportPlanCommandOutput extends CreateReportPlanOutput, _
|
|
|
29
29
|
* import { BackupClient, CreateReportPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
30
30
|
* // const { BackupClient, CreateReportPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
31
31
|
* const client = new BackupClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateReportPlanInput
|
|
33
33
|
* ReportPlanName: "STRING_VALUE", // required
|
|
34
34
|
* ReportPlanDescription: "STRING_VALUE",
|
|
35
|
-
* ReportDeliveryChannel: {
|
|
35
|
+
* ReportDeliveryChannel: { // ReportDeliveryChannel
|
|
36
36
|
* S3BucketName: "STRING_VALUE", // required
|
|
37
37
|
* S3KeyPrefix: "STRING_VALUE",
|
|
38
|
-
* Formats: [
|
|
38
|
+
* Formats: [ // FormatList
|
|
39
39
|
* "STRING_VALUE",
|
|
40
40
|
* ],
|
|
41
41
|
* },
|
|
42
|
-
* ReportSetting: {
|
|
42
|
+
* ReportSetting: { // ReportSetting
|
|
43
43
|
* ReportTemplate: "STRING_VALUE", // required
|
|
44
|
-
* FrameworkArns: [
|
|
44
|
+
* FrameworkArns: [ // stringList
|
|
45
45
|
* "STRING_VALUE",
|
|
46
46
|
* ],
|
|
47
47
|
* NumberOfFrameworks: Number("int"),
|
|
@@ -55,7 +55,7 @@ export interface CreateReportPlanCommandOutput extends CreateReportPlanOutput, _
|
|
|
55
55
|
* "STRING_VALUE",
|
|
56
56
|
* ],
|
|
57
57
|
* },
|
|
58
|
-
* ReportPlanTags: {
|
|
58
|
+
* ReportPlanTags: { // stringMap
|
|
59
59
|
* "<keys>": "STRING_VALUE",
|
|
60
60
|
* },
|
|
61
61
|
* IdempotencyToken: "STRING_VALUE",
|
|
@@ -28,7 +28,7 @@ export interface DeleteBackupPlanCommandOutput extends DeleteBackupPlanOutput, _
|
|
|
28
28
|
* import { BackupClient, DeleteBackupPlanCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
29
29
|
* // const { BackupClient, DeleteBackupPlanCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
30
30
|
* const client = new BackupClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // DeleteBackupPlanInput
|
|
32
32
|
* BackupPlanId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
34
34
|
* const command = new DeleteBackupPlanCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteBackupSelectionCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { BackupClient, DeleteBackupSelectionCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DeleteBackupSelectionCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteBackupSelectionInput
|
|
31
31
|
* BackupPlanId: "STRING_VALUE", // required
|
|
32
32
|
* SelectionId: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -26,7 +26,7 @@ export interface DeleteBackupVaultAccessPolicyCommandOutput extends __MetadataBe
|
|
|
26
26
|
* import { BackupClient, DeleteBackupVaultAccessPolicyCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteBackupVaultAccessPolicyCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteBackupVaultAccessPolicyInput
|
|
30
30
|
* BackupVaultName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteBackupVaultAccessPolicyCommand(input);
|
|
@@ -27,7 +27,7 @@ export interface DeleteBackupVaultCommandOutput extends __MetadataBearer {
|
|
|
27
27
|
* import { BackupClient, DeleteBackupVaultCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
28
28
|
* // const { BackupClient, DeleteBackupVaultCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
29
29
|
* const client = new BackupClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteBackupVaultInput
|
|
31
31
|
* BackupVaultName: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteBackupVaultCommand(input);
|
|
@@ -31,7 +31,7 @@ export interface DeleteBackupVaultLockConfigurationCommandOutput extends __Metad
|
|
|
31
31
|
* import { BackupClient, DeleteBackupVaultLockConfigurationCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
32
32
|
* // const { BackupClient, DeleteBackupVaultLockConfigurationCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
33
33
|
* const client = new BackupClient(config);
|
|
34
|
-
* const input = {
|
|
34
|
+
* const input = { // DeleteBackupVaultLockConfigurationInput
|
|
35
35
|
* BackupVaultName: "STRING_VALUE", // required
|
|
36
36
|
* };
|
|
37
37
|
* const command = new DeleteBackupVaultLockConfigurationCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteBackupVaultNotificationsCommandOutput extends __MetadataB
|
|
|
26
26
|
* import { BackupClient, DeleteBackupVaultNotificationsCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteBackupVaultNotificationsCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteBackupVaultNotificationsInput
|
|
30
30
|
* BackupVaultName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteBackupVaultNotificationsCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeleteFrameworkCommandOutput extends __MetadataBearer {
|
|
|
26
26
|
* import { BackupClient, DeleteFrameworkCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
27
27
|
* // const { BackupClient, DeleteFrameworkCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
28
28
|
* const client = new BackupClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteFrameworkInput
|
|
30
30
|
* FrameworkName: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeleteFrameworkCommand(input);
|
|
@@ -38,7 +38,7 @@ export interface DeleteRecoveryPointCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* import { BackupClient, DeleteRecoveryPointCommand } from "@aws-sdk/client-backup"; // ES Modules import
|
|
39
39
|
* // const { BackupClient, DeleteRecoveryPointCommand } = require("@aws-sdk/client-backup"); // CommonJS import
|
|
40
40
|
* const client = new BackupClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // DeleteRecoveryPointInput
|
|
42
42
|
* BackupVaultName: "STRING_VALUE", // required
|
|
43
43
|
* RecoveryPointArn: "STRING_VALUE", // required
|
|
44
44
|
* };
|