@aws-sdk/client-backup 3.934.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 (58) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/index.js +620 -214
  3. package/dist-es/Backup.js +8 -0
  4. package/dist-es/commands/DescribeScanJobCommand.js +16 -0
  5. package/dist-es/commands/ListScanJobSummariesCommand.js +16 -0
  6. package/dist-es/commands/ListScanJobsCommand.js +16 -0
  7. package/dist-es/commands/StartScanJobCommand.js +16 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/index.js +2 -1
  10. package/dist-es/models/enums.js +215 -0
  11. package/dist-es/models/errors.js +205 -0
  12. package/dist-es/models/models_0.js +1 -377
  13. package/dist-es/pagination/ListScanJobSummariesPaginator.js +4 -0
  14. package/dist-es/pagination/ListScanJobsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +312 -19
  17. package/dist-types/Backup.d.ts +30 -0
  18. package/dist-types/BackupClient.d.ts +6 -2
  19. package/dist-types/commands/CreateBackupPlanCommand.d.ts +15 -0
  20. package/dist-types/commands/DescribeRecoveryPointCommand.d.ts +10 -0
  21. package/dist-types/commands/DescribeScanJobCommand.d.ts +113 -0
  22. package/dist-types/commands/GetBackupPlanCommand.d.ts +15 -0
  23. package/dist-types/commands/GetBackupPlanFromJSONCommand.d.ts +15 -0
  24. package/dist-types/commands/GetBackupPlanFromTemplateCommand.d.ts +15 -0
  25. package/dist-types/commands/ListRecoveryPointsByBackupVaultCommand.d.ts +7 -0
  26. package/dist-types/commands/ListRecoveryPointsByResourceCommand.d.ts +7 -0
  27. package/dist-types/commands/ListScanJobSummariesCommand.d.ts +102 -0
  28. package/dist-types/commands/ListScanJobsCommand.d.ts +123 -0
  29. package/dist-types/commands/StartScanJobCommand.d.ts +103 -0
  30. package/dist-types/commands/UpdateBackupPlanCommand.d.ts +24 -0
  31. package/dist-types/commands/index.d.ts +4 -0
  32. package/dist-types/index.d.ts +3 -1
  33. package/dist-types/models/enums.d.ts +479 -0
  34. package/dist-types/models/errors.d.ts +257 -0
  35. package/dist-types/models/models_0.d.ts +844 -669
  36. package/dist-types/pagination/ListScanJobSummariesPaginator.d.ts +7 -0
  37. package/dist-types/pagination/ListScanJobsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +2 -0
  39. package/dist-types/schemas/schemas_0.d.ts +26 -0
  40. package/dist-types/ts3.4/Backup.d.ts +70 -0
  41. package/dist-types/ts3.4/BackupClient.d.ts +24 -0
  42. package/dist-types/ts3.4/commands/DescribeScanJobCommand.d.ts +50 -0
  43. package/dist-types/ts3.4/commands/ListScanJobSummariesCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/ListScanJobsCommand.d.ts +47 -0
  45. package/dist-types/ts3.4/commands/StartScanJobCommand.d.ts +47 -0
  46. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  47. package/dist-types/ts3.4/index.d.ts +3 -1
  48. package/dist-types/ts3.4/models/enums.d.ts +268 -0
  49. package/dist-types/ts3.4/models/errors.d.ts +112 -0
  50. package/dist-types/ts3.4/models/models_0.d.ts +176 -325
  51. package/dist-types/ts3.4/pagination/ListScanJobSummariesPaginator.d.ts +11 -0
  52. package/dist-types/ts3.4/pagination/ListScanJobsPaginator.d.ts +11 -0
  53. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  54. package/dist-types/ts3.4/schemas/schemas_0.d.ts +26 -0
  55. package/package.json +12 -12
  56. package/dist-es/models/index.js +0 -1
  57. package/dist-types/models/index.d.ts +0 -1
  58. 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;
@@ -705,17 +528,6 @@ export interface DeleteTieringConfigurationInput {
705
528
  TieringConfigurationName: string | undefined;
706
529
  }
707
530
  export interface DeleteTieringConfigurationOutput {}
708
- export declare class DependencyFailureException extends __BaseException {
709
- readonly name: "DependencyFailureException";
710
- readonly $fault: "server";
711
- Code?: string | undefined;
712
- Message?: string | undefined;
713
- Type?: string | undefined;
714
- Context?: string | undefined;
715
- constructor(
716
- opts: __ExceptionOptionType<DependencyFailureException, __BaseException>
717
- );
718
- }
719
531
  export interface DescribeBackupJobInput {
720
532
  BackupJobId: string | undefined;
721
533
  }
@@ -757,13 +569,6 @@ export interface DescribeBackupVaultInput {
757
569
  BackupVaultName: string | undefined;
758
570
  BackupVaultAccountId?: string | undefined;
759
571
  }
760
- export declare const MpaSessionStatus: {
761
- readonly APPROVED: "APPROVED";
762
- readonly FAILED: "FAILED";
763
- readonly PENDING: "PENDING";
764
- };
765
- export type MpaSessionStatus =
766
- (typeof MpaSessionStatus)[keyof typeof MpaSessionStatus];
767
572
  export interface LatestMpaApprovalTeamUpdate {
768
573
  MpaSessionArn?: string | undefined;
769
574
  Status?: MpaSessionStatus | undefined;
@@ -833,30 +638,12 @@ export interface DescribeRecoveryPointInput {
833
638
  RecoveryPointArn: string | undefined;
834
639
  BackupVaultAccountId?: string | undefined;
835
640
  }
836
- export declare const IndexStatus: {
837
- readonly ACTIVE: "ACTIVE";
838
- readonly DELETING: "DELETING";
839
- readonly FAILED: "FAILED";
840
- readonly PENDING: "PENDING";
841
- };
842
- export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus];
843
- export declare const RecoveryPointStatus: {
844
- readonly AVAILABLE: "AVAILABLE";
845
- readonly COMPLETED: "COMPLETED";
846
- readonly CREATING: "CREATING";
847
- readonly DELETING: "DELETING";
848
- readonly EXPIRED: "EXPIRED";
849
- readonly PARTIAL: "PARTIAL";
850
- readonly STOPPED: "STOPPED";
851
- };
852
- export type RecoveryPointStatus =
853
- (typeof RecoveryPointStatus)[keyof typeof RecoveryPointStatus];
854
- export declare const StorageClass: {
855
- readonly COLD: "COLD";
856
- readonly DELETED: "DELETED";
857
- readonly WARM: "WARM";
858
- };
859
- 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
+ }
860
647
  export interface DescribeRecoveryPointOutput {
861
648
  RecoveryPointArn?: string | undefined;
862
649
  BackupVaultName?: string | undefined;
@@ -886,6 +673,7 @@ export interface DescribeRecoveryPointOutput {
886
673
  IndexStatus?: IndexStatus | undefined;
887
674
  IndexStatusMessage?: string | undefined;
888
675
  EncryptionKeyType?: EncryptionKeyType | undefined;
676
+ ScanResults?: ScanResult[] | undefined;
889
677
  }
890
678
  export interface DescribeRegionSettingsInput {}
891
679
  export interface DescribeRegionSettingsOutput {
@@ -935,30 +723,6 @@ export interface DescribeRestoreJobInput {
935
723
  export interface RestoreJobCreator {
936
724
  RestoreTestingPlanArn?: string | undefined;
937
725
  }
938
- export declare const RestoreDeletionStatus: {
939
- readonly DELETING: "DELETING";
940
- readonly FAILED: "FAILED";
941
- readonly SUCCESSFUL: "SUCCESSFUL";
942
- };
943
- export type RestoreDeletionStatus =
944
- (typeof RestoreDeletionStatus)[keyof typeof RestoreDeletionStatus];
945
- export declare const RestoreJobStatus: {
946
- readonly ABORTED: "ABORTED";
947
- readonly COMPLETED: "COMPLETED";
948
- readonly FAILED: "FAILED";
949
- readonly PENDING: "PENDING";
950
- readonly RUNNING: "RUNNING";
951
- };
952
- export type RestoreJobStatus =
953
- (typeof RestoreJobStatus)[keyof typeof RestoreJobStatus];
954
- export declare const RestoreValidationStatus: {
955
- readonly FAILED: "FAILED";
956
- readonly SUCCESSFUL: "SUCCESSFUL";
957
- readonly TIMED_OUT: "TIMED_OUT";
958
- readonly VALIDATING: "VALIDATING";
959
- };
960
- export type RestoreValidationStatus =
961
- (typeof RestoreValidationStatus)[keyof typeof RestoreValidationStatus];
962
726
  export interface DescribeRestoreJobOutput {
963
727
  AccountId?: string | undefined;
964
728
  RestoreJobId?: string | undefined;
@@ -984,6 +748,40 @@ export interface DescribeRestoreJobOutput {
984
748
  IsParent?: boolean | undefined;
985
749
  ParentJobId?: string | undefined;
986
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
+ }
987
785
  export interface DisassociateBackupVaultMpaApprovalTeamInput {
988
786
  BackupVaultName: string | undefined;
989
787
  RequesterComment?: string | undefined;
@@ -1007,13 +805,6 @@ export interface GetBackupPlanInput {
1007
805
  VersionId?: string | undefined;
1008
806
  MaxScheduledRunsPreview?: number | undefined;
1009
807
  }
1010
- export declare const RuleExecutionType: {
1011
- readonly CONTINUOUS: "CONTINUOUS";
1012
- readonly CONTINUOUS_AND_SNAPSHOTS: "CONTINUOUS_AND_SNAPSHOTS";
1013
- readonly SNAPSHOTS: "SNAPSHOTS";
1014
- };
1015
- export type RuleExecutionType =
1016
- (typeof RuleExecutionType)[keyof typeof RuleExecutionType];
1017
808
  export interface ScheduledPlanExecutionMember {
1018
809
  ExecutionTime?: Date | undefined;
1019
810
  RuleId?: string | undefined;
@@ -1417,6 +1208,7 @@ export interface RecoveryPointByBackupVault {
1417
1208
  IndexStatus?: IndexStatus | undefined;
1418
1209
  IndexStatusMessage?: string | undefined;
1419
1210
  EncryptionKeyType?: EncryptionKeyType | undefined;
1211
+ AggregatedScanResult?: AggregatedScanResult | undefined;
1420
1212
  }
1421
1213
  export interface ListRecoveryPointsByBackupVaultOutput {
1422
1214
  NextToken?: string | undefined;
@@ -1458,6 +1250,7 @@ export interface RecoveryPointByResource {
1458
1250
  IndexStatus?: IndexStatus | undefined;
1459
1251
  IndexStatusMessage?: string | undefined;
1460
1252
  EncryptionKeyType?: EncryptionKeyType | undefined;
1253
+ AggregatedScanResult?: AggregatedScanResult | undefined;
1461
1254
  }
1462
1255
  export interface ListRecoveryPointsByResourceOutput {
1463
1256
  NextToken?: string | undefined;
@@ -1488,12 +1281,6 @@ export interface ListRestoreAccessBackupVaultsInput {
1488
1281
  NextToken?: string | undefined;
1489
1282
  MaxResults?: number | undefined;
1490
1283
  }
1491
- export declare const MpaRevokeSessionStatus: {
1492
- readonly FAILED: "FAILED";
1493
- readonly PENDING: "PENDING";
1494
- };
1495
- export type MpaRevokeSessionStatus =
1496
- (typeof MpaRevokeSessionStatus)[keyof typeof MpaRevokeSessionStatus];
1497
1284
  export interface LatestRevokeRequest {
1498
1285
  MpaSessionArn?: string | undefined;
1499
1286
  Status?: MpaRevokeSessionStatus | undefined;
@@ -1566,18 +1353,6 @@ export interface ListRestoreJobsByProtectedResourceOutput {
1566
1353
  RestoreJobs?: RestoreJobsListMember[] | undefined;
1567
1354
  NextToken?: string | undefined;
1568
1355
  }
1569
- export declare const RestoreJobState: {
1570
- readonly ABORTED: "ABORTED";
1571
- readonly AGGREGATE_ALL: "AGGREGATE_ALL";
1572
- readonly ANY: "ANY";
1573
- readonly COMPLETED: "COMPLETED";
1574
- readonly CREATED: "CREATED";
1575
- readonly FAILED: "FAILED";
1576
- readonly PENDING: "PENDING";
1577
- readonly RUNNING: "RUNNING";
1578
- };
1579
- export type RestoreJobState =
1580
- (typeof RestoreJobState)[keyof typeof RestoreJobState];
1581
1356
  export interface ListRestoreJobSummariesInput {
1582
1357
  AccountId?: string | undefined;
1583
1358
  State?: RestoreJobState | undefined;
@@ -1635,6 +1410,72 @@ export interface ListRestoreTestingSelectionsOutput {
1635
1410
  NextToken?: string | undefined;
1636
1411
  RestoreTestingSelections: RestoreTestingSelectionForList[] | undefined;
1637
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
+ }
1638
1479
  export interface ListTagsInput {
1639
1480
  ResourceArn: string | undefined;
1640
1481
  NextToken?: string | undefined;
@@ -1684,11 +1525,6 @@ export interface RevokeRestoreAccessBackupVaultInput {
1684
1525
  RestoreAccessBackupVaultArn: string | undefined;
1685
1526
  RequesterComment?: string | undefined;
1686
1527
  }
1687
- export declare const Index: {
1688
- readonly DISABLED: "DISABLED";
1689
- readonly ENABLED: "ENABLED";
1690
- };
1691
- export type Index = (typeof Index)[keyof typeof Index];
1692
1528
  export interface StartBackupJobInput {
1693
1529
  BackupVaultName: string | undefined;
1694
1530
  LogicallyAirGappedBackupVaultArn?: string | undefined;
@@ -1739,6 +1575,20 @@ export interface StartRestoreJobInput {
1739
1575
  export interface StartRestoreJobOutput {
1740
1576
  RestoreJobId?: string | undefined;
1741
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
+ }
1742
1592
  export interface StopBackupJobInput {
1743
1593
  BackupJobId: string | undefined;
1744
1594
  }
@@ -1760,6 +1610,7 @@ export interface UpdateBackupPlanOutput {
1760
1610
  CreationDate?: Date | undefined;
1761
1611
  VersionId?: string | undefined;
1762
1612
  AdvancedBackupSettings?: AdvancedBackupSetting[] | undefined;
1613
+ ScanSettings?: ScanSetting[] | undefined;
1763
1614
  }
1764
1615
  export interface UpdateFrameworkInput {
1765
1616
  FrameworkName: string | undefined;