@aws-sdk/client-backup 3.933.0 → 3.935.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.
Files changed (76) hide show
  1. package/README.md +72 -0
  2. package/dist-cjs/index.js +854 -197
  3. package/dist-es/Backup.js +18 -0
  4. package/dist-es/commands/CreateTieringConfigurationCommand.js +16 -0
  5. package/dist-es/commands/DeleteTieringConfigurationCommand.js +16 -0
  6. package/dist-es/commands/DescribeScanJobCommand.js +16 -0
  7. package/dist-es/commands/GetTieringConfigurationCommand.js +16 -0
  8. package/dist-es/commands/ListScanJobSummariesCommand.js +16 -0
  9. package/dist-es/commands/ListScanJobsCommand.js +16 -0
  10. package/dist-es/commands/ListTieringConfigurationsCommand.js +16 -0
  11. package/dist-es/commands/StartScanJobCommand.js +16 -0
  12. package/dist-es/commands/UpdateTieringConfigurationCommand.js +16 -0
  13. package/dist-es/commands/index.js +9 -0
  14. package/dist-es/index.js +2 -1
  15. package/dist-es/models/enums.js +215 -0
  16. package/dist-es/models/errors.js +205 -0
  17. package/dist-es/models/models_0.js +1 -377
  18. package/dist-es/pagination/ListScanJobSummariesPaginator.js +4 -0
  19. package/dist-es/pagination/ListScanJobsPaginator.js +4 -0
  20. package/dist-es/pagination/ListTieringConfigurationsPaginator.js +4 -0
  21. package/dist-es/pagination/index.js +3 -0
  22. package/dist-es/schemas/schemas_0.js +490 -19
  23. package/dist-types/Backup.d.ts +66 -0
  24. package/dist-types/BackupClient.d.ts +11 -2
  25. package/dist-types/commands/CreateBackupPlanCommand.d.ts +15 -0
  26. package/dist-types/commands/CreateTieringConfigurationCommand.d.ts +115 -0
  27. package/dist-types/commands/DeleteTieringConfigurationCommand.d.ts +85 -0
  28. package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +10 -0
  29. package/dist-types/commands/DescribeScanJobCommand.d.ts +113 -0
  30. package/dist-types/commands/GetBackupPlanCommand.d.ts +15 -0
  31. package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +15 -0
  32. package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +15 -0
  33. package/dist-types/commands/GetTieringConfigurationCommand.d.ts +105 -0
  34. package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +7 -0
  35. package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +7 -0
  36. package/dist-types/commands/ListScanJobSummariesCommand.d.ts +102 -0
  37. package/dist-types/commands/ListScanJobsCommand.d.ts +123 -0
  38. package/dist-types/commands/ListTieringConfigurationsCommand.d.ts +91 -0
  39. package/dist-types/commands/StartScanJobCommand.d.ts +103 -0
  40. package/dist-types/commands/UpdateBackupPlanCommand.d.ts +24 -0
  41. package/dist-types/commands/UpdateTieringConfigurationCommand.d.ts +134 -0
  42. package/dist-types/commands/index.d.ts +9 -0
  43. package/dist-types/index.d.ts +3 -1
  44. package/dist-types/models/enums.d.ts +479 -0
  45. package/dist-types/models/errors.d.ts +257 -0
  46. package/dist-types/models/models_0.d.ts +1231 -723
  47. package/dist-types/pagination/ListScanJobSummariesPaginator.d.ts +7 -0
  48. package/dist-types/pagination/ListScanJobsPaginator.d.ts +7 -0
  49. package/dist-types/pagination/ListTieringConfigurationsPaginator.d.ts +7 -0
  50. package/dist-types/pagination/index.d.ts +3 -0
  51. package/dist-types/schemas/schemas_0.d.ts +48 -0
  52. package/dist-types/ts3.4/Backup.d.ts +156 -0
  53. package/dist-types/ts3.4/BackupClient.d.ts +56 -2
  54. package/dist-types/ts3.4/commands/CreateTieringConfigurationCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/DeleteTieringConfigurationCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/DescribeScanJobCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/GetTieringConfigurationCommand.d.ts +51 -0
  58. package/dist-types/ts3.4/commands/ListScanJobSummariesCommand.d.ts +51 -0
  59. package/dist-types/ts3.4/commands/ListScanJobsCommand.d.ts +47 -0
  60. package/dist-types/ts3.4/commands/ListTieringConfigurationsCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/StartScanJobCommand.d.ts +47 -0
  62. package/dist-types/ts3.4/commands/UpdateTieringConfigurationCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +9 -0
  64. package/dist-types/ts3.4/index.d.ts +3 -1
  65. package/dist-types/ts3.4/models/enums.d.ts +268 -0
  66. package/dist-types/ts3.4/models/errors.d.ts +112 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +243 -324
  68. package/dist-types/ts3.4/pagination/ListScanJobSummariesPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/ListScanJobsPaginator.d.ts +11 -0
  70. package/dist-types/ts3.4/pagination/ListTieringConfigurationsPaginator.d.ts +11 -0
  71. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  72. package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
  73. package/package.json +12 -12
  74. package/dist-es/models/index.js +0 -1
  75. package/dist-types/models/index.d.ts +0 -1
  76. package/dist-types/ts3.4/models/index.d.ts +0 -1
@@ -1,89 +1,52 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { BackupServiceException as __BaseException } from "./BackupServiceException";
1
+ import {
2
+ AggregationPeriod,
3
+ BackupJobState,
4
+ BackupJobStatus,
5
+ BackupVaultEvent,
6
+ ConditionType,
7
+ CopyJobState,
8
+ CopyJobStatus,
9
+ EncryptionKeyType,
10
+ Index,
11
+ IndexStatus,
12
+ LegalHoldStatus,
13
+ LifecycleDeleteAfterEvent,
14
+ MalwareScanner,
15
+ MpaRevokeSessionStatus,
16
+ MpaSessionStatus,
17
+ RecoveryPointStatus,
18
+ RestoreDeletionStatus,
19
+ RestoreJobState,
20
+ RestoreJobStatus,
21
+ RestoreTestingRecoveryPointSelectionAlgorithm,
22
+ RestoreTestingRecoveryPointType,
23
+ RestoreValidationStatus,
24
+ RuleExecutionType,
25
+ ScanFinding,
26
+ ScanJobState,
27
+ ScanJobStatus,
28
+ ScanMode,
29
+ ScanResourceType,
30
+ ScanResultStatus,
31
+ ScanState,
32
+ StorageClass,
33
+ VaultState,
34
+ VaultType,
35
+ } from "./enums";
3
36
  export interface AdvancedBackupSetting {
4
37
  ResourceType?: string | undefined;
5
38
  BackupOptions?: Record<string, string> | undefined;
6
39
  }
7
- export declare const AggregationPeriod: {
8
- readonly FOURTEEN_DAYS: "FOURTEEN_DAYS";
9
- readonly ONE_DAY: "ONE_DAY";
10
- readonly SEVEN_DAYS: "SEVEN_DAYS";
11
- };
12
- export type AggregationPeriod =
13
- (typeof AggregationPeriod)[keyof typeof AggregationPeriod];
14
- export declare class AlreadyExistsException extends __BaseException {
15
- readonly name: "AlreadyExistsException";
16
- readonly $fault: "client";
17
- Code?: string | undefined;
18
- Message?: string | undefined;
19
- CreatorRequestId?: string | undefined;
20
- Arn?: string | undefined;
21
- Type?: string | undefined;
22
- Context?: string | undefined;
23
- constructor(
24
- opts: __ExceptionOptionType<AlreadyExistsException, __BaseException>
25
- );
40
+ export interface AggregatedScanResult {
41
+ FailedScan?: boolean | undefined;
42
+ Findings?: ScanFinding[] | undefined;
43
+ LastComputed?: Date | undefined;
26
44
  }
27
45
  export interface AssociateBackupVaultMpaApprovalTeamInput {
28
46
  BackupVaultName: string | undefined;
29
47
  MpaApprovalTeamArn: string | undefined;
30
48
  RequesterComment?: string | undefined;
31
49
  }
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
- }
87
50
  export interface RecoveryPointCreator {
88
51
  BackupPlanId?: string | undefined;
89
52
  BackupPlanArn?: string | undefined;
@@ -94,30 +57,12 @@ export interface RecoveryPointCreator {
94
57
  BackupRuleCron?: string | undefined;
95
58
  BackupRuleTimezone?: string | undefined;
96
59
  }
97
- export declare const LifecycleDeleteAfterEvent: {
98
- readonly DELETE_AFTER_COPY: "DELETE_AFTER_COPY";
99
- };
100
- export type LifecycleDeleteAfterEvent =
101
- (typeof LifecycleDeleteAfterEvent)[keyof typeof LifecycleDeleteAfterEvent];
102
60
  export interface Lifecycle {
103
61
  MoveToColdStorageAfterDays?: number | undefined;
104
62
  DeleteAfterDays?: number | undefined;
105
63
  OptInToArchiveForSupportedResources?: boolean | undefined;
106
64
  DeleteAfterEvent?: LifecycleDeleteAfterEvent | undefined;
107
65
  }
108
- export declare const BackupJobState: {
109
- readonly ABORTED: "ABORTED";
110
- readonly ABORTING: "ABORTING";
111
- readonly COMPLETED: "COMPLETED";
112
- readonly CREATED: "CREATED";
113
- readonly EXPIRED: "EXPIRED";
114
- readonly FAILED: "FAILED";
115
- readonly PARTIAL: "PARTIAL";
116
- readonly PENDING: "PENDING";
117
- readonly RUNNING: "RUNNING";
118
- };
119
- export type BackupJobState =
120
- (typeof BackupJobState)[keyof typeof BackupJobState];
121
66
  export interface BackupJob {
122
67
  AccountId?: string | undefined;
123
68
  BackupJobId?: string | undefined;
@@ -150,21 +95,6 @@ export interface BackupJob {
150
95
  InitiationDate?: Date | undefined;
151
96
  MessageCategory?: string | undefined;
152
97
  }
153
- export declare const BackupJobStatus: {
154
- readonly ABORTED: "ABORTED";
155
- readonly ABORTING: "ABORTING";
156
- readonly AGGREGATE_ALL: "AGGREGATE_ALL";
157
- readonly ANY: "ANY";
158
- readonly COMPLETED: "COMPLETED";
159
- readonly CREATED: "CREATED";
160
- readonly EXPIRED: "EXPIRED";
161
- readonly FAILED: "FAILED";
162
- readonly PARTIAL: "PARTIAL";
163
- readonly PENDING: "PENDING";
164
- readonly RUNNING: "RUNNING";
165
- };
166
- export type BackupJobStatus =
167
- (typeof BackupJobStatus)[keyof typeof BackupJobStatus];
168
98
  export interface BackupJobSummary {
169
99
  Region?: string | undefined;
170
100
  AccountId?: string | undefined;
@@ -182,6 +112,10 @@ export interface CopyAction {
182
112
  export interface IndexAction {
183
113
  ResourceTypes?: string[] | undefined;
184
114
  }
115
+ export interface ScanAction {
116
+ MalwareScanner?: MalwareScanner | undefined;
117
+ ScanMode?: ScanMode | undefined;
118
+ }
185
119
  export interface BackupRule {
186
120
  RuleName: string | undefined;
187
121
  TargetBackupVaultName: string | undefined;
@@ -196,11 +130,18 @@ export interface BackupRule {
196
130
  EnableContinuousBackup?: boolean | undefined;
197
131
  ScheduleExpressionTimezone?: string | undefined;
198
132
  IndexActions?: IndexAction[] | undefined;
133
+ ScanActions?: ScanAction[] | undefined;
134
+ }
135
+ export interface ScanSetting {
136
+ MalwareScanner?: MalwareScanner | undefined;
137
+ ResourceTypes?: string[] | undefined;
138
+ ScannerRoleArn?: string | undefined;
199
139
  }
200
140
  export interface BackupPlan {
201
141
  BackupPlanName: string | undefined;
202
142
  Rules: BackupRule[] | undefined;
203
143
  AdvancedBackupSettings?: AdvancedBackupSetting[] | undefined;
144
+ ScanSettings?: ScanSetting[] | undefined;
204
145
  }
205
146
  export interface BackupRuleInput {
206
147
  RuleName: string | undefined;
@@ -215,11 +156,13 @@ export interface BackupRuleInput {
215
156
  EnableContinuousBackup?: boolean | undefined;
216
157
  ScheduleExpressionTimezone?: string | undefined;
217
158
  IndexActions?: IndexAction[] | undefined;
159
+ ScanActions?: ScanAction[] | undefined;
218
160
  }
219
161
  export interface BackupPlanInput {
220
162
  BackupPlanName: string | undefined;
221
163
  Rules: BackupRuleInput[] | undefined;
222
164
  AdvancedBackupSettings?: AdvancedBackupSetting[] | undefined;
165
+ ScanSettings?: ScanSetting[] | undefined;
223
166
  }
224
167
  export interface BackupPlansListMember {
225
168
  BackupPlanArn?: string | undefined;
@@ -246,10 +189,6 @@ export interface Conditions {
246
189
  StringLike?: ConditionParameter[] | undefined;
247
190
  StringNotLike?: ConditionParameter[] | undefined;
248
191
  }
249
- export declare const ConditionType: {
250
- readonly STRINGEQUALS: "STRINGEQUALS";
251
- };
252
- export type ConditionType = (typeof ConditionType)[keyof typeof ConditionType];
253
192
  export interface Condition {
254
193
  ConditionType: ConditionType | undefined;
255
194
  ConditionKey: string | undefined;
@@ -271,49 +210,6 @@ export interface BackupSelectionsListMember {
271
210
  CreatorRequestId?: string | undefined;
272
211
  IamRoleArn?: string | undefined;
273
212
  }
274
- export declare const BackupVaultEvent: {
275
- readonly BACKUP_JOB_COMPLETED: "BACKUP_JOB_COMPLETED";
276
- readonly BACKUP_JOB_EXPIRED: "BACKUP_JOB_EXPIRED";
277
- readonly BACKUP_JOB_FAILED: "BACKUP_JOB_FAILED";
278
- readonly BACKUP_JOB_STARTED: "BACKUP_JOB_STARTED";
279
- readonly BACKUP_JOB_SUCCESSFUL: "BACKUP_JOB_SUCCESSFUL";
280
- readonly BACKUP_PLAN_CREATED: "BACKUP_PLAN_CREATED";
281
- readonly BACKUP_PLAN_MODIFIED: "BACKUP_PLAN_MODIFIED";
282
- readonly CONTINUOUS_BACKUP_INTERRUPTED: "CONTINUOUS_BACKUP_INTERRUPTED";
283
- readonly COPY_JOB_FAILED: "COPY_JOB_FAILED";
284
- readonly COPY_JOB_STARTED: "COPY_JOB_STARTED";
285
- readonly COPY_JOB_SUCCESSFUL: "COPY_JOB_SUCCESSFUL";
286
- readonly RECOVERY_POINT_INDEXING_FAILED: "RECOVERY_POINT_INDEXING_FAILED";
287
- readonly RECOVERY_POINT_INDEX_COMPLETED: "RECOVERY_POINT_INDEX_COMPLETED";
288
- readonly RECOVERY_POINT_INDEX_DELETED: "RECOVERY_POINT_INDEX_DELETED";
289
- readonly RECOVERY_POINT_MODIFIED: "RECOVERY_POINT_MODIFIED";
290
- readonly RESTORE_JOB_COMPLETED: "RESTORE_JOB_COMPLETED";
291
- readonly RESTORE_JOB_FAILED: "RESTORE_JOB_FAILED";
292
- readonly RESTORE_JOB_STARTED: "RESTORE_JOB_STARTED";
293
- readonly RESTORE_JOB_SUCCESSFUL: "RESTORE_JOB_SUCCESSFUL";
294
- readonly S3_BACKUP_OBJECT_FAILED: "S3_BACKUP_OBJECT_FAILED";
295
- readonly S3_RESTORE_OBJECT_FAILED: "S3_RESTORE_OBJECT_FAILED";
296
- };
297
- export type BackupVaultEvent =
298
- (typeof BackupVaultEvent)[keyof typeof BackupVaultEvent];
299
- export declare const EncryptionKeyType: {
300
- readonly AWS_OWNED_KMS_KEY: "AWS_OWNED_KMS_KEY";
301
- readonly CUSTOMER_MANAGED_KMS_KEY: "CUSTOMER_MANAGED_KMS_KEY";
302
- };
303
- export type EncryptionKeyType =
304
- (typeof EncryptionKeyType)[keyof typeof EncryptionKeyType];
305
- export declare const VaultState: {
306
- readonly AVAILABLE: "AVAILABLE";
307
- readonly CREATING: "CREATING";
308
- readonly FAILED: "FAILED";
309
- };
310
- export type VaultState = (typeof VaultState)[keyof typeof VaultState];
311
- export declare const VaultType: {
312
- readonly BACKUP_VAULT: "BACKUP_VAULT";
313
- readonly LOGICALLY_AIR_GAPPED_BACKUP_VAULT: "LOGICALLY_AIR_GAPPED_BACKUP_VAULT";
314
- readonly RESTORE_ACCESS_BACKUP_VAULT: "RESTORE_ACCESS_BACKUP_VAULT";
315
- };
316
- export type VaultType = (typeof VaultType)[keyof typeof VaultType];
317
213
  export interface BackupVaultListMember {
318
214
  BackupVaultName?: string | undefined;
319
215
  BackupVaultArn?: string | undefined;
@@ -339,26 +235,6 @@ export interface CancelLegalHoldInput {
339
235
  RetainRecordInDays?: number | undefined;
340
236
  }
341
237
  export interface CancelLegalHoldOutput {}
342
- export declare class InvalidResourceStateException extends __BaseException {
343
- readonly name: "InvalidResourceStateException";
344
- readonly $fault: "client";
345
- Code?: string | undefined;
346
- Message?: string | undefined;
347
- Type?: string | undefined;
348
- Context?: string | undefined;
349
- constructor(
350
- opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
351
- );
352
- }
353
- export declare class ConflictException extends __BaseException {
354
- readonly name: "ConflictException";
355
- readonly $fault: "client";
356
- Code?: string | undefined;
357
- Message?: string | undefined;
358
- Type?: string | undefined;
359
- Context?: string | undefined;
360
- constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
361
- }
362
238
  export interface ControlInputParameter {
363
239
  ParameterName?: string | undefined;
364
240
  ParameterValue?: string | undefined;
@@ -368,14 +244,6 @@ export interface ControlScope {
368
244
  ComplianceResourceTypes?: string[] | undefined;
369
245
  Tags?: Record<string, string> | undefined;
370
246
  }
371
- export declare const CopyJobState: {
372
- readonly COMPLETED: "COMPLETED";
373
- readonly CREATED: "CREATED";
374
- readonly FAILED: "FAILED";
375
- readonly PARTIAL: "PARTIAL";
376
- readonly RUNNING: "RUNNING";
377
- };
378
- export type CopyJobState = (typeof CopyJobState)[keyof typeof CopyJobState];
379
247
  export interface CopyJob {
380
248
  AccountId?: string | undefined;
381
249
  CopyJobId?: string | undefined;
@@ -405,20 +273,6 @@ export interface CopyJob {
405
273
  ResourceName?: string | undefined;
406
274
  MessageCategory?: string | undefined;
407
275
  }
408
- export declare const CopyJobStatus: {
409
- readonly ABORTED: "ABORTED";
410
- readonly ABORTING: "ABORTING";
411
- readonly AGGREGATE_ALL: "AGGREGATE_ALL";
412
- readonly ANY: "ANY";
413
- readonly COMPLETED: "COMPLETED";
414
- readonly COMPLETING: "COMPLETING";
415
- readonly CREATED: "CREATED";
416
- readonly FAILED: "FAILED";
417
- readonly FAILING: "FAILING";
418
- readonly PARTIAL: "PARTIAL";
419
- readonly RUNNING: "RUNNING";
420
- };
421
- export type CopyJobStatus = (typeof CopyJobStatus)[keyof typeof CopyJobStatus];
422
276
  export interface CopyJobSummary {
423
277
  Region?: string | undefined;
424
278
  AccountId?: string | undefined;
@@ -441,17 +295,6 @@ export interface CreateBackupPlanOutput {
441
295
  VersionId?: string | undefined;
442
296
  AdvancedBackupSettings?: AdvancedBackupSetting[] | undefined;
443
297
  }
444
- export declare class LimitExceededException extends __BaseException {
445
- readonly name: "LimitExceededException";
446
- readonly $fault: "client";
447
- Code?: string | undefined;
448
- Message?: string | undefined;
449
- Type?: string | undefined;
450
- Context?: string | undefined;
451
- constructor(
452
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
453
- );
454
- }
455
298
  export interface CreateBackupSelectionInput {
456
299
  BackupPlanId: string | undefined;
457
300
  BackupSelection: BackupSelection | undefined;
@@ -505,14 +348,6 @@ export interface CreateLegalHoldInput {
505
348
  RecoveryPointSelection?: RecoveryPointSelection | undefined;
506
349
  Tags?: Record<string, string> | undefined;
507
350
  }
508
- export declare const LegalHoldStatus: {
509
- readonly ACTIVE: "ACTIVE";
510
- readonly CANCELED: "CANCELED";
511
- readonly CANCELING: "CANCELING";
512
- readonly CREATING: "CREATING";
513
- };
514
- export type LegalHoldStatus =
515
- (typeof LegalHoldStatus)[keyof typeof LegalHoldStatus];
516
351
  export interface CreateLegalHoldOutput {
517
352
  Title?: string | undefined;
518
353
  Status?: LegalHoldStatus | undefined;
@@ -575,18 +410,6 @@ export interface CreateRestoreAccessBackupVaultOutput {
575
410
  RestoreAccessBackupVaultName?: string | undefined;
576
411
  CreationDate?: Date | undefined;
577
412
  }
578
- export declare const RestoreTestingRecoveryPointSelectionAlgorithm: {
579
- readonly LATEST_WITHIN_WINDOW: "LATEST_WITHIN_WINDOW";
580
- readonly RANDOM_WITHIN_WINDOW: "RANDOM_WITHIN_WINDOW";
581
- };
582
- export type RestoreTestingRecoveryPointSelectionAlgorithm =
583
- (typeof RestoreTestingRecoveryPointSelectionAlgorithm)[keyof typeof RestoreTestingRecoveryPointSelectionAlgorithm];
584
- export declare const RestoreTestingRecoveryPointType: {
585
- readonly CONTINUOUS: "CONTINUOUS";
586
- readonly SNAPSHOT: "SNAPSHOT";
587
- };
588
- export type RestoreTestingRecoveryPointType =
589
- (typeof RestoreTestingRecoveryPointType)[keyof typeof RestoreTestingRecoveryPointType];
590
413
  export interface RestoreTestingRecoveryPointSelection {
591
414
  Algorithm?: RestoreTestingRecoveryPointSelectionAlgorithm | undefined;
592
415
  ExcludeVaults?: string[] | undefined;
@@ -639,6 +462,26 @@ export interface CreateRestoreTestingSelectionOutput {
639
462
  RestoreTestingPlanName: string | undefined;
640
463
  RestoreTestingSelectionName: string | undefined;
641
464
  }
465
+ export interface ResourceSelection {
466
+ Resources: string[] | undefined;
467
+ TieringDownSettingsInDays: number | undefined;
468
+ ResourceType: string | undefined;
469
+ }
470
+ export interface TieringConfigurationInputForCreate {
471
+ TieringConfigurationName: string | undefined;
472
+ BackupVaultName: string | undefined;
473
+ ResourceSelection: ResourceSelection[] | undefined;
474
+ }
475
+ export interface CreateTieringConfigurationInput {
476
+ TieringConfiguration: TieringConfigurationInputForCreate | undefined;
477
+ TieringConfigurationTags?: Record<string, string> | undefined;
478
+ CreatorRequestId?: string | undefined;
479
+ }
480
+ export interface CreateTieringConfigurationOutput {
481
+ TieringConfigurationArn?: string | undefined;
482
+ TieringConfigurationName?: string | undefined;
483
+ CreationTime?: Date | undefined;
484
+ }
642
485
  export interface DeleteBackupPlanInput {
643
486
  BackupPlanId: string | undefined;
644
487
  }
@@ -681,17 +524,10 @@ export interface DeleteRestoreTestingSelectionInput {
681
524
  RestoreTestingPlanName: string | undefined;
682
525
  RestoreTestingSelectionName: string | undefined;
683
526
  }
684
- export declare class DependencyFailureException extends __BaseException {
685
- readonly name: "DependencyFailureException";
686
- readonly $fault: "server";
687
- Code?: string | undefined;
688
- Message?: string | undefined;
689
- Type?: string | undefined;
690
- Context?: string | undefined;
691
- constructor(
692
- opts: __ExceptionOptionType<DependencyFailureException, __BaseException>
693
- );
527
+ export interface DeleteTieringConfigurationInput {
528
+ TieringConfigurationName: string | undefined;
694
529
  }
530
+ export interface DeleteTieringConfigurationOutput {}
695
531
  export interface DescribeBackupJobInput {
696
532
  BackupJobId: string | undefined;
697
533
  }
@@ -733,13 +569,6 @@ export interface DescribeBackupVaultInput {
733
569
  BackupVaultName: string | undefined;
734
570
  BackupVaultAccountId?: string | undefined;
735
571
  }
736
- export declare const MpaSessionStatus: {
737
- readonly APPROVED: "APPROVED";
738
- readonly FAILED: "FAILED";
739
- readonly PENDING: "PENDING";
740
- };
741
- export type MpaSessionStatus =
742
- (typeof MpaSessionStatus)[keyof typeof MpaSessionStatus];
743
572
  export interface LatestMpaApprovalTeamUpdate {
744
573
  MpaSessionArn?: string | undefined;
745
574
  Status?: MpaSessionStatus | undefined;
@@ -809,30 +638,12 @@ export interface DescribeRecoveryPointInput {
809
638
  RecoveryPointArn: string | undefined;
810
639
  BackupVaultAccountId?: string | undefined;
811
640
  }
812
- export declare const IndexStatus: {
813
- readonly ACTIVE: "ACTIVE";
814
- readonly DELETING: "DELETING";
815
- readonly FAILED: "FAILED";
816
- readonly PENDING: "PENDING";
817
- };
818
- export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
819
- export declare const RecoveryPointStatus: {
820
- readonly AVAILABLE: "AVAILABLE";
821
- readonly COMPLETED: "COMPLETED";
822
- readonly CREATING: "CREATING";
823
- readonly DELETING: "DELETING";
824
- readonly EXPIRED: "EXPIRED";
825
- readonly PARTIAL: "PARTIAL";
826
- readonly STOPPED: "STOPPED";
827
- };
828
- export type RecoveryPointStatus =
829
- (typeof RecoveryPointStatus)[keyof typeof RecoveryPointStatus];
830
- export declare const StorageClass: {
831
- readonly COLD: "COLD";
832
- readonly DELETED: "DELETED";
833
- readonly WARM: "WARM";
834
- };
835
- export type StorageClass = (typeof StorageClass)[keyof typeof StorageClass];
641
+ export interface ScanResult {
642
+ MalwareScanner?: MalwareScanner | undefined;
643
+ ScanJobState?: ScanJobState | undefined;
644
+ LastScanTimestamp?: Date | undefined;
645
+ Findings?: ScanFinding[] | undefined;
646
+ }
836
647
  export interface DescribeRecoveryPointOutput {
837
648
  RecoveryPointArn?: string | undefined;
838
649
  BackupVaultName?: string | undefined;
@@ -862,6 +673,7 @@ export interface DescribeRecoveryPointOutput {
862
673
  IndexStatus?: IndexStatus | undefined;
863
674
  IndexStatusMessage?: string | undefined;
864
675
  EncryptionKeyType?: EncryptionKeyType | undefined;
676
+ ScanResults?: ScanResult[] | undefined;
865
677
  }
866
678
  export interface DescribeRegionSettingsInput {}
867
679
  export interface DescribeRegionSettingsOutput {
@@ -911,30 +723,6 @@ export interface DescribeRestoreJobInput {
911
723
  export interface RestoreJobCreator {
912
724
  RestoreTestingPlanArn?: string | undefined;
913
725
  }
914
- export declare const RestoreDeletionStatus: {
915
- readonly DELETING: "DELETING";
916
- readonly FAILED: "FAILED";
917
- readonly SUCCESSFUL: "SUCCESSFUL";
918
- };
919
- export type RestoreDeletionStatus =
920
- (typeof RestoreDeletionStatus)[keyof typeof RestoreDeletionStatus];
921
- export declare const RestoreJobStatus: {
922
- readonly ABORTED: "ABORTED";
923
- readonly COMPLETED: "COMPLETED";
924
- readonly FAILED: "FAILED";
925
- readonly PENDING: "PENDING";
926
- readonly RUNNING: "RUNNING";
927
- };
928
- export type RestoreJobStatus =
929
- (typeof RestoreJobStatus)[keyof typeof RestoreJobStatus];
930
- export declare const RestoreValidationStatus: {
931
- readonly FAILED: "FAILED";
932
- readonly SUCCESSFUL: "SUCCESSFUL";
933
- readonly TIMED_OUT: "TIMED_OUT";
934
- readonly VALIDATING: "VALIDATING";
935
- };
936
- export type RestoreValidationStatus =
937
- (typeof RestoreValidationStatus)[keyof typeof RestoreValidationStatus];
938
726
  export interface DescribeRestoreJobOutput {
939
727
  AccountId?: string | undefined;
940
728
  RestoreJobId?: string | undefined;
@@ -960,6 +748,40 @@ export interface DescribeRestoreJobOutput {
960
748
  IsParent?: boolean | undefined;
961
749
  ParentJobId?: string | undefined;
962
750
  }
751
+ export interface DescribeScanJobInput {
752
+ ScanJobId: string | undefined;
753
+ }
754
+ export interface ScanJobCreator {
755
+ BackupPlanArn: string | undefined;
756
+ BackupPlanId: string | undefined;
757
+ BackupPlanVersion: string | undefined;
758
+ BackupRuleId: string | undefined;
759
+ }
760
+ export interface ScanResultInfo {
761
+ ScanResultStatus: ScanResultStatus | undefined;
762
+ }
763
+ export interface DescribeScanJobOutput {
764
+ AccountId: string | undefined;
765
+ BackupVaultArn: string | undefined;
766
+ BackupVaultName: string | undefined;
767
+ CompletionDate?: Date | undefined;
768
+ CreatedBy: ScanJobCreator | undefined;
769
+ CreationDate: Date | undefined;
770
+ IamRoleArn: string | undefined;
771
+ MalwareScanner: MalwareScanner | undefined;
772
+ RecoveryPointArn: string | undefined;
773
+ ResourceArn: string | undefined;
774
+ ResourceName: string | undefined;
775
+ ResourceType: ScanResourceType | undefined;
776
+ ScanBaseRecoveryPointArn?: string | undefined;
777
+ ScanId?: string | undefined;
778
+ ScanJobId: string | undefined;
779
+ ScanMode: ScanMode | undefined;
780
+ ScanResult?: ScanResultInfo | undefined;
781
+ ScannerRoleArn: string | undefined;
782
+ State: ScanState | undefined;
783
+ StatusMessage?: string | undefined;
784
+ }
963
785
  export interface DisassociateBackupVaultMpaApprovalTeamInput {
964
786
  BackupVaultName: string | undefined;
965
787
  RequesterComment?: string | undefined;
@@ -983,13 +805,6 @@ export interface GetBackupPlanInput {
983
805
  VersionId?: string | undefined;
984
806
  MaxScheduledRunsPreview?: number | undefined;
985
807
  }
986
- export declare const RuleExecutionType: {
987
- readonly CONTINUOUS: "CONTINUOUS";
988
- readonly CONTINUOUS_AND_SNAPSHOTS: "CONTINUOUS_AND_SNAPSHOTS";
989
- readonly SNAPSHOTS: "SNAPSHOTS";
990
- };
991
- export type RuleExecutionType =
992
- (typeof RuleExecutionType)[keyof typeof RuleExecutionType];
993
808
  export interface ScheduledPlanExecutionMember {
994
809
  ExecutionTime?: Date | undefined;
995
810
  RuleId?: string | undefined;
@@ -1143,6 +958,21 @@ export interface GetRestoreTestingSelectionOutput {
1143
958
  export interface GetSupportedResourceTypesOutput {
1144
959
  ResourceTypes?: string[] | undefined;
1145
960
  }
961
+ export interface GetTieringConfigurationInput {
962
+ TieringConfigurationName: string | undefined;
963
+ }
964
+ export interface TieringConfiguration {
965
+ TieringConfigurationName: string | undefined;
966
+ TieringConfigurationArn?: string | undefined;
967
+ BackupVaultName: string | undefined;
968
+ ResourceSelection: ResourceSelection[] | undefined;
969
+ CreatorRequestId?: string | undefined;
970
+ CreationTime?: Date | undefined;
971
+ LastUpdatedTime?: Date | undefined;
972
+ }
973
+ export interface GetTieringConfigurationOutput {
974
+ TieringConfiguration?: TieringConfiguration | undefined;
975
+ }
1146
976
  export interface ListBackupJobsInput {
1147
977
  NextToken?: string | undefined;
1148
978
  MaxResults?: number | undefined;
@@ -1378,6 +1208,7 @@ export interface RecoveryPointByBackupVault {
1378
1208
  IndexStatus?: IndexStatus | undefined;
1379
1209
  IndexStatusMessage?: string | undefined;
1380
1210
  EncryptionKeyType?: EncryptionKeyType | undefined;
1211
+ AggregatedScanResult?: AggregatedScanResult | undefined;
1381
1212
  }
1382
1213
  export interface ListRecoveryPointsByBackupVaultOutput {
1383
1214
  NextToken?: string | undefined;
@@ -1419,6 +1250,7 @@ export interface RecoveryPointByResource {
1419
1250
  IndexStatus?: IndexStatus | undefined;
1420
1251
  IndexStatusMessage?: string | undefined;
1421
1252
  EncryptionKeyType?: EncryptionKeyType | undefined;
1253
+ AggregatedScanResult?: AggregatedScanResult | undefined;
1422
1254
  }
1423
1255
  export interface ListRecoveryPointsByResourceOutput {
1424
1256
  NextToken?: string | undefined;
@@ -1449,12 +1281,6 @@ export interface ListRestoreAccessBackupVaultsInput {
1449
1281
  NextToken?: string | undefined;
1450
1282
  MaxResults?: number | undefined;
1451
1283
  }
1452
- export declare const MpaRevokeSessionStatus: {
1453
- readonly FAILED: "FAILED";
1454
- readonly PENDING: "PENDING";
1455
- };
1456
- export type MpaRevokeSessionStatus =
1457
- (typeof MpaRevokeSessionStatus)[keyof typeof MpaRevokeSessionStatus];
1458
1284
  export interface LatestRevokeRequest {
1459
1285
  MpaSessionArn?: string | undefined;
1460
1286
  Status?: MpaRevokeSessionStatus | undefined;
@@ -1527,18 +1353,6 @@ export interface ListRestoreJobsByProtectedResourceOutput {
1527
1353
  RestoreJobs?: RestoreJobsListMember[] | undefined;
1528
1354
  NextToken?: string | undefined;
1529
1355
  }
1530
- export declare const RestoreJobState: {
1531
- readonly ABORTED: "ABORTED";
1532
- readonly AGGREGATE_ALL: "AGGREGATE_ALL";
1533
- readonly ANY: "ANY";
1534
- readonly COMPLETED: "COMPLETED";
1535
- readonly CREATED: "CREATED";
1536
- readonly FAILED: "FAILED";
1537
- readonly PENDING: "PENDING";
1538
- readonly RUNNING: "RUNNING";
1539
- };
1540
- export type RestoreJobState =
1541
- (typeof RestoreJobState)[keyof typeof RestoreJobState];
1542
1356
  export interface ListRestoreJobSummariesInput {
1543
1357
  AccountId?: string | undefined;
1544
1358
  State?: RestoreJobState | undefined;
@@ -1596,6 +1410,72 @@ export interface ListRestoreTestingSelectionsOutput {
1596
1410
  NextToken?: string | undefined;
1597
1411
  RestoreTestingSelections: RestoreTestingSelectionForList[] | undefined;
1598
1412
  }
1413
+ export interface ListScanJobsInput {
1414
+ ByAccountId?: string | undefined;
1415
+ ByBackupVaultName?: string | undefined;
1416
+ ByCompleteAfter?: Date | undefined;
1417
+ ByCompleteBefore?: Date | undefined;
1418
+ ByMalwareScanner?: MalwareScanner | undefined;
1419
+ ByRecoveryPointArn?: string | undefined;
1420
+ ByResourceArn?: string | undefined;
1421
+ ByResourceType?: ScanResourceType | undefined;
1422
+ ByScanResultStatus?: ScanResultStatus | undefined;
1423
+ ByState?: ScanState | undefined;
1424
+ MaxResults?: number | undefined;
1425
+ NextToken?: string | undefined;
1426
+ }
1427
+ export interface ScanJob {
1428
+ AccountId: string | undefined;
1429
+ BackupVaultArn: string | undefined;
1430
+ BackupVaultName: string | undefined;
1431
+ CompletionDate?: Date | undefined;
1432
+ CreatedBy: ScanJobCreator | undefined;
1433
+ CreationDate: Date | undefined;
1434
+ IamRoleArn: string | undefined;
1435
+ MalwareScanner: MalwareScanner | undefined;
1436
+ RecoveryPointArn: string | undefined;
1437
+ ResourceArn: string | undefined;
1438
+ ResourceName: string | undefined;
1439
+ ResourceType: ScanResourceType | undefined;
1440
+ ScanBaseRecoveryPointArn?: string | undefined;
1441
+ ScanId?: string | undefined;
1442
+ ScanJobId: string | undefined;
1443
+ ScanMode: ScanMode | undefined;
1444
+ ScanResult?: ScanResultInfo | undefined;
1445
+ ScannerRoleArn: string | undefined;
1446
+ State?: ScanState | undefined;
1447
+ StatusMessage?: string | undefined;
1448
+ }
1449
+ export interface ListScanJobsOutput {
1450
+ NextToken?: string | undefined;
1451
+ ScanJobs: ScanJob[] | undefined;
1452
+ }
1453
+ export interface ListScanJobSummariesInput {
1454
+ AccountId?: string | undefined;
1455
+ ResourceType?: string | undefined;
1456
+ MalwareScanner?: MalwareScanner | undefined;
1457
+ ScanResultStatus?: ScanResultStatus | undefined;
1458
+ State?: ScanJobStatus | undefined;
1459
+ AggregationPeriod?: AggregationPeriod | undefined;
1460
+ MaxResults?: number | undefined;
1461
+ NextToken?: string | undefined;
1462
+ }
1463
+ export interface ScanJobSummary {
1464
+ Region?: string | undefined;
1465
+ AccountId?: string | undefined;
1466
+ State?: ScanJobStatus | undefined;
1467
+ ResourceType?: string | undefined;
1468
+ Count?: number | undefined;
1469
+ StartTime?: Date | undefined;
1470
+ EndTime?: Date | undefined;
1471
+ MalwareScanner?: MalwareScanner | undefined;
1472
+ ScanResultStatus?: ScanResultStatus | undefined;
1473
+ }
1474
+ export interface ListScanJobSummariesOutput {
1475
+ ScanJobSummaries?: ScanJobSummary[] | undefined;
1476
+ AggregationPeriod?: string | undefined;
1477
+ NextToken?: string | undefined;
1478
+ }
1599
1479
  export interface ListTagsInput {
1600
1480
  ResourceArn: string | undefined;
1601
1481
  NextToken?: string | undefined;
@@ -1605,6 +1485,21 @@ export interface ListTagsOutput {
1605
1485
  NextToken?: string | undefined;
1606
1486
  Tags?: Record<string, string> | undefined;
1607
1487
  }
1488
+ export interface ListTieringConfigurationsInput {
1489
+ MaxResults?: number | undefined;
1490
+ NextToken?: string | undefined;
1491
+ }
1492
+ export interface TieringConfigurationsListMember {
1493
+ TieringConfigurationArn?: string | undefined;
1494
+ TieringConfigurationName?: string | undefined;
1495
+ BackupVaultName?: string | undefined;
1496
+ CreationTime?: Date | undefined;
1497
+ LastUpdatedTime?: Date | undefined;
1498
+ }
1499
+ export interface ListTieringConfigurationsOutput {
1500
+ TieringConfigurations?: TieringConfigurationsListMember[] | undefined;
1501
+ NextToken?: string | undefined;
1502
+ }
1608
1503
  export interface PutBackupVaultAccessPolicyInput {
1609
1504
  BackupVaultName: string | undefined;
1610
1505
  Policy?: string | undefined;
@@ -1630,11 +1525,6 @@ export interface RevokeRestoreAccessBackupVaultInput {
1630
1525
  RestoreAccessBackupVaultArn: string | undefined;
1631
1526
  RequesterComment?: string | undefined;
1632
1527
  }
1633
- export declare const Index: {
1634
- readonly DISABLED: "DISABLED";
1635
- readonly ENABLED: "ENABLED";
1636
- };
1637
- export type Index = (typeof Index)[keyof typeof Index];
1638
1528
  export interface StartBackupJobInput {
1639
1529
  BackupVaultName: string | undefined;
1640
1530
  LogicallyAirGappedBackupVaultArn?: string | undefined;
@@ -1685,6 +1575,20 @@ export interface StartRestoreJobInput {
1685
1575
  export interface StartRestoreJobOutput {
1686
1576
  RestoreJobId?: string | undefined;
1687
1577
  }
1578
+ export interface StartScanJobInput {
1579
+ BackupVaultName: string | undefined;
1580
+ IamRoleArn: string | undefined;
1581
+ IdempotencyToken?: string | undefined;
1582
+ MalwareScanner: MalwareScanner | undefined;
1583
+ RecoveryPointArn: string | undefined;
1584
+ ScanBaseRecoveryPointArn?: string | undefined;
1585
+ ScanMode: ScanMode | undefined;
1586
+ ScannerRoleArn: string | undefined;
1587
+ }
1588
+ export interface StartScanJobOutput {
1589
+ CreationDate: Date | undefined;
1590
+ ScanJobId: string | undefined;
1591
+ }
1688
1592
  export interface StopBackupJobInput {
1689
1593
  BackupJobId: string | undefined;
1690
1594
  }
@@ -1706,6 +1610,7 @@ export interface UpdateBackupPlanOutput {
1706
1610
  CreationDate?: Date | undefined;
1707
1611
  VersionId?: string | undefined;
1708
1612
  AdvancedBackupSettings?: AdvancedBackupSetting[] | undefined;
1613
+ ScanSettings?: ScanSetting[] | undefined;
1709
1614
  }
1710
1615
  export interface UpdateFrameworkInput {
1711
1616
  FrameworkName: string | undefined;
@@ -1795,3 +1700,17 @@ export interface UpdateRestoreTestingSelectionOutput {
1795
1700
  RestoreTestingSelectionName: string | undefined;
1796
1701
  UpdateTime: Date | undefined;
1797
1702
  }
1703
+ export interface TieringConfigurationInputForUpdate {
1704
+ ResourceSelection: ResourceSelection[] | undefined;
1705
+ BackupVaultName: string | undefined;
1706
+ }
1707
+ export interface UpdateTieringConfigurationInput {
1708
+ TieringConfigurationName: string | undefined;
1709
+ TieringConfiguration: TieringConfigurationInputForUpdate | undefined;
1710
+ }
1711
+ export interface UpdateTieringConfigurationOutput {
1712
+ TieringConfigurationArn?: string | undefined;
1713
+ TieringConfigurationName?: string | undefined;
1714
+ CreationTime?: Date | undefined;
1715
+ LastUpdatedTime?: Date | undefined;
1716
+ }