aws-sdk-backup 1.102.0 → 1.103.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.
@@ -18,6 +18,7 @@ module Aws::Backup
18
18
  AccountId = Shapes::StringShape.new(name: 'AccountId')
19
19
  AdvancedBackupSetting = Shapes::StructureShape.new(name: 'AdvancedBackupSetting')
20
20
  AdvancedBackupSettings = Shapes::ListShape.new(name: 'AdvancedBackupSettings')
21
+ AggregatedScanResult = Shapes::StructureShape.new(name: 'AggregatedScanResult')
21
22
  AggregationPeriod = Shapes::StringShape.new(name: 'AggregationPeriod')
22
23
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
23
24
  AssociateBackupVaultMpaApprovalTeamInput = Shapes::StructureShape.new(name: 'AssociateBackupVaultMpaApprovalTeamInput')
@@ -142,6 +143,8 @@ module Aws::Backup
142
143
  DescribeReportPlanOutput = Shapes::StructureShape.new(name: 'DescribeReportPlanOutput')
143
144
  DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
144
145
  DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
146
+ DescribeScanJobInput = Shapes::StructureShape.new(name: 'DescribeScanJobInput')
147
+ DescribeScanJobOutput = Shapes::StructureShape.new(name: 'DescribeScanJobOutput')
145
148
  DisassociateBackupVaultMpaApprovalTeamInput = Shapes::StructureShape.new(name: 'DisassociateBackupVaultMpaApprovalTeamInput')
146
149
  DisassociateRecoveryPointFromParentInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointFromParentInput')
147
150
  DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
@@ -262,11 +265,17 @@ module Aws::Backup
262
265
  ListRestoreTestingSelectionsInput = Shapes::StructureShape.new(name: 'ListRestoreTestingSelectionsInput')
263
266
  ListRestoreTestingSelectionsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListRestoreTestingSelectionsInputMaxResultsInteger')
264
267
  ListRestoreTestingSelectionsOutput = Shapes::StructureShape.new(name: 'ListRestoreTestingSelectionsOutput')
268
+ ListScanJobSummariesInput = Shapes::StructureShape.new(name: 'ListScanJobSummariesInput')
269
+ ListScanJobSummariesOutput = Shapes::StructureShape.new(name: 'ListScanJobSummariesOutput')
270
+ ListScanJobsInput = Shapes::StructureShape.new(name: 'ListScanJobsInput')
271
+ ListScanJobsInputMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListScanJobsInputMaxResultsInteger')
272
+ ListScanJobsOutput = Shapes::StructureShape.new(name: 'ListScanJobsOutput')
265
273
  ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
266
274
  ListTagsOutput = Shapes::StructureShape.new(name: 'ListTagsOutput')
267
275
  ListTieringConfigurationsInput = Shapes::StructureShape.new(name: 'ListTieringConfigurationsInput')
268
276
  ListTieringConfigurationsOutput = Shapes::StructureShape.new(name: 'ListTieringConfigurationsOutput')
269
277
  Long = Shapes::IntegerShape.new(name: 'Long')
278
+ MalwareScanner = Shapes::StringShape.new(name: 'MalwareScanner')
270
279
  MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
271
280
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
272
281
  MaxScheduledRunsPreview = Shapes::IntegerShape.new(name: 'MaxScheduledRunsPreview')
@@ -345,6 +354,26 @@ module Aws::Backup
345
354
  RestoreValidationStatus = Shapes::StringShape.new(name: 'RestoreValidationStatus')
346
355
  RevokeRestoreAccessBackupVaultInput = Shapes::StructureShape.new(name: 'RevokeRestoreAccessBackupVaultInput')
347
356
  RuleExecutionType = Shapes::StringShape.new(name: 'RuleExecutionType')
357
+ ScanAction = Shapes::StructureShape.new(name: 'ScanAction')
358
+ ScanActions = Shapes::ListShape.new(name: 'ScanActions')
359
+ ScanFinding = Shapes::StringShape.new(name: 'ScanFinding')
360
+ ScanFindings = Shapes::ListShape.new(name: 'ScanFindings')
361
+ ScanJob = Shapes::StructureShape.new(name: 'ScanJob')
362
+ ScanJobCreator = Shapes::StructureShape.new(name: 'ScanJobCreator')
363
+ ScanJobState = Shapes::StringShape.new(name: 'ScanJobState')
364
+ ScanJobStatus = Shapes::StringShape.new(name: 'ScanJobStatus')
365
+ ScanJobSummary = Shapes::StructureShape.new(name: 'ScanJobSummary')
366
+ ScanJobSummaryList = Shapes::ListShape.new(name: 'ScanJobSummaryList')
367
+ ScanJobs = Shapes::ListShape.new(name: 'ScanJobs')
368
+ ScanMode = Shapes::StringShape.new(name: 'ScanMode')
369
+ ScanResourceType = Shapes::StringShape.new(name: 'ScanResourceType')
370
+ ScanResult = Shapes::StructureShape.new(name: 'ScanResult')
371
+ ScanResultInfo = Shapes::StructureShape.new(name: 'ScanResultInfo')
372
+ ScanResultStatus = Shapes::StringShape.new(name: 'ScanResultStatus')
373
+ ScanResults = Shapes::ListShape.new(name: 'ScanResults')
374
+ ScanSetting = Shapes::StructureShape.new(name: 'ScanSetting')
375
+ ScanSettings = Shapes::ListShape.new(name: 'ScanSettings')
376
+ ScanState = Shapes::StringShape.new(name: 'ScanState')
348
377
  ScheduledPlanExecutionMember = Shapes::StructureShape.new(name: 'ScheduledPlanExecutionMember')
349
378
  ScheduledRunsPreview = Shapes::ListShape.new(name: 'ScheduledRunsPreview')
350
379
  SensitiveStringMap = Shapes::MapShape.new(name: 'SensitiveStringMap')
@@ -357,6 +386,8 @@ module Aws::Backup
357
386
  StartReportJobOutput = Shapes::StructureShape.new(name: 'StartReportJobOutput')
358
387
  StartRestoreJobInput = Shapes::StructureShape.new(name: 'StartRestoreJobInput')
359
388
  StartRestoreJobOutput = Shapes::StructureShape.new(name: 'StartRestoreJobOutput')
389
+ StartScanJobInput = Shapes::StructureShape.new(name: 'StartScanJobInput')
390
+ StartScanJobOutput = Shapes::StructureShape.new(name: 'StartScanJobOutput')
360
391
  StopBackupJobInput = Shapes::StructureShape.new(name: 'StopBackupJobInput')
361
392
  StorageClass = Shapes::StringShape.new(name: 'StorageClass')
362
393
  String = Shapes::StringShape.new(name: 'String')
@@ -411,6 +442,11 @@ module Aws::Backup
411
442
 
412
443
  AdvancedBackupSettings.member = Shapes::ShapeRef.new(shape: AdvancedBackupSetting)
413
444
 
445
+ AggregatedScanResult.add_member(:failed_scan, Shapes::ShapeRef.new(shape: Boolean, location_name: "FailedScan"))
446
+ AggregatedScanResult.add_member(:findings, Shapes::ShapeRef.new(shape: ScanFindings, location_name: "Findings"))
447
+ AggregatedScanResult.add_member(:last_computed, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastComputed"))
448
+ AggregatedScanResult.struct_class = Types::AggregatedScanResult
449
+
414
450
  AlreadyExistsException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
415
451
  AlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
416
452
  AlreadyExistsException.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
@@ -479,11 +515,13 @@ module Aws::Backup
479
515
  BackupPlan.add_member(:backup_plan_name, Shapes::ShapeRef.new(shape: BackupPlanName, required: true, location_name: "BackupPlanName"))
480
516
  BackupPlan.add_member(:rules, Shapes::ShapeRef.new(shape: BackupRules, required: true, location_name: "Rules"))
481
517
  BackupPlan.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
518
+ BackupPlan.add_member(:scan_settings, Shapes::ShapeRef.new(shape: ScanSettings, location_name: "ScanSettings"))
482
519
  BackupPlan.struct_class = Types::BackupPlan
483
520
 
484
521
  BackupPlanInput.add_member(:backup_plan_name, Shapes::ShapeRef.new(shape: BackupPlanName, required: true, location_name: "BackupPlanName"))
485
522
  BackupPlanInput.add_member(:rules, Shapes::ShapeRef.new(shape: BackupRulesInput, required: true, location_name: "Rules"))
486
523
  BackupPlanInput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
524
+ BackupPlanInput.add_member(:scan_settings, Shapes::ShapeRef.new(shape: ScanSettings, location_name: "ScanSettings"))
487
525
  BackupPlanInput.struct_class = Types::BackupPlanInput
488
526
 
489
527
  BackupPlanTemplatesList.member = Shapes::ShapeRef.new(shape: BackupPlanTemplatesListMember)
@@ -520,6 +558,7 @@ module Aws::Backup
520
558
  BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
521
559
  BackupRule.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
522
560
  BackupRule.add_member(:index_actions, Shapes::ShapeRef.new(shape: IndexActions, location_name: "IndexActions"))
561
+ BackupRule.add_member(:scan_actions, Shapes::ShapeRef.new(shape: ScanActions, location_name: "ScanActions"))
523
562
  BackupRule.struct_class = Types::BackupRule
524
563
 
525
564
  BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
@@ -534,6 +573,7 @@ module Aws::Backup
534
573
  BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
535
574
  BackupRuleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
536
575
  BackupRuleInput.add_member(:index_actions, Shapes::ShapeRef.new(shape: IndexActions, location_name: "IndexActions"))
576
+ BackupRuleInput.add_member(:scan_actions, Shapes::ShapeRef.new(shape: ScanActions, location_name: "ScanActions"))
537
577
  BackupRuleInput.struct_class = Types::BackupRuleInput
538
578
 
539
579
  BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
@@ -996,6 +1036,7 @@ module Aws::Backup
996
1036
  DescribeRecoveryPointOutput.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
997
1037
  DescribeRecoveryPointOutput.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
998
1038
  DescribeRecoveryPointOutput.add_member(:encryption_key_type, Shapes::ShapeRef.new(shape: EncryptionKeyType, location_name: "EncryptionKeyType"))
1039
+ DescribeRecoveryPointOutput.add_member(:scan_results, Shapes::ShapeRef.new(shape: ScanResults, location_name: "ScanResults"))
999
1040
  DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
1000
1041
 
1001
1042
  DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
@@ -1044,6 +1085,31 @@ module Aws::Backup
1044
1085
  DescribeRestoreJobOutput.add_member(:parent_job_id, Shapes::ShapeRef.new(shape: string, location_name: "ParentJobId"))
1045
1086
  DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
1046
1087
 
1088
+ DescribeScanJobInput.add_member(:scan_job_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "ScanJobId"))
1089
+ DescribeScanJobInput.struct_class = Types::DescribeScanJobInput
1090
+
1091
+ DescribeScanJobOutput.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountId"))
1092
+ DescribeScanJobOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultArn"))
1093
+ DescribeScanJobOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultName"))
1094
+ DescribeScanJobOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
1095
+ DescribeScanJobOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: ScanJobCreator, required: true, location_name: "CreatedBy"))
1096
+ DescribeScanJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationDate"))
1097
+ DescribeScanJobOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IamRoleArn"))
1098
+ DescribeScanJobOutput.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, required: true, location_name: "MalwareScanner"))
1099
+ DescribeScanJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RecoveryPointArn"))
1100
+ DescribeScanJobOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
1101
+ DescribeScanJobOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
1102
+ DescribeScanJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ScanResourceType, required: true, location_name: "ResourceType"))
1103
+ DescribeScanJobOutput.add_member(:scan_base_recovery_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "ScanBaseRecoveryPointArn"))
1104
+ DescribeScanJobOutput.add_member(:scan_id, Shapes::ShapeRef.new(shape: String, location_name: "ScanId"))
1105
+ DescribeScanJobOutput.add_member(:scan_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScanJobId"))
1106
+ DescribeScanJobOutput.add_member(:scan_mode, Shapes::ShapeRef.new(shape: ScanMode, required: true, location_name: "ScanMode"))
1107
+ DescribeScanJobOutput.add_member(:scan_result, Shapes::ShapeRef.new(shape: ScanResultInfo, location_name: "ScanResult"))
1108
+ DescribeScanJobOutput.add_member(:scanner_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScannerRoleArn"))
1109
+ DescribeScanJobOutput.add_member(:state, Shapes::ShapeRef.new(shape: ScanState, required: true, location_name: "State"))
1110
+ DescribeScanJobOutput.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
1111
+ DescribeScanJobOutput.struct_class = Types::DescribeScanJobOutput
1112
+
1047
1113
  DisassociateBackupVaultMpaApprovalTeamInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1048
1114
  DisassociateBackupVaultMpaApprovalTeamInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location_name: "RequesterComment"))
1049
1115
  DisassociateBackupVaultMpaApprovalTeamInput.struct_class = Types::DisassociateBackupVaultMpaApprovalTeamInput
@@ -1582,6 +1648,39 @@ module Aws::Backup
1582
1648
  ListRestoreTestingSelectionsOutput.add_member(:restore_testing_selections, Shapes::ShapeRef.new(shape: RestoreTestingSelections, required: true, location_name: "RestoreTestingSelections"))
1583
1649
  ListRestoreTestingSelectionsOutput.struct_class = Types::ListRestoreTestingSelectionsOutput
1584
1650
 
1651
+ ListScanJobSummariesInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "AccountId"))
1652
+ ListScanJobSummariesInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "ResourceType"))
1653
+ ListScanJobSummariesInput.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, location: "querystring", location_name: "MalwareScanner"))
1654
+ ListScanJobSummariesInput.add_member(:scan_result_status, Shapes::ShapeRef.new(shape: ScanResultStatus, location: "querystring", location_name: "ScanResultStatus"))
1655
+ ListScanJobSummariesInput.add_member(:state, Shapes::ShapeRef.new(shape: ScanJobStatus, location: "querystring", location_name: "State"))
1656
+ ListScanJobSummariesInput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: AggregationPeriod, location: "querystring", location_name: "AggregationPeriod"))
1657
+ ListScanJobSummariesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
1658
+ ListScanJobSummariesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
1659
+ ListScanJobSummariesInput.struct_class = Types::ListScanJobSummariesInput
1660
+
1661
+ ListScanJobSummariesOutput.add_member(:scan_job_summaries, Shapes::ShapeRef.new(shape: ScanJobSummaryList, location_name: "ScanJobSummaries"))
1662
+ ListScanJobSummariesOutput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: string, location_name: "AggregationPeriod"))
1663
+ ListScanJobSummariesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
1664
+ ListScanJobSummariesOutput.struct_class = Types::ListScanJobSummariesOutput
1665
+
1666
+ ListScanJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "ByAccountId"))
1667
+ ListScanJobsInput.add_member(:by_backup_vault_name, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "ByBackupVaultName"))
1668
+ ListScanJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "ByCompleteAfter"))
1669
+ ListScanJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "ByCompleteBefore"))
1670
+ ListScanJobsInput.add_member(:by_malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, location: "querystring", location_name: "ByMalwareScanner"))
1671
+ ListScanJobsInput.add_member(:by_recovery_point_arn, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "ByRecoveryPointArn"))
1672
+ ListScanJobsInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "ByResourceArn"))
1673
+ ListScanJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ScanResourceType, location: "querystring", location_name: "ByResourceType"))
1674
+ ListScanJobsInput.add_member(:by_scan_result_status, Shapes::ShapeRef.new(shape: ScanResultStatus, location: "querystring", location_name: "ByScanResultStatus"))
1675
+ ListScanJobsInput.add_member(:by_state, Shapes::ShapeRef.new(shape: ScanState, location: "querystring", location_name: "ByState"))
1676
+ ListScanJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListScanJobsInputMaxResultsInteger, location: "querystring", location_name: "MaxResults"))
1677
+ ListScanJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
1678
+ ListScanJobsInput.struct_class = Types::ListScanJobsInput
1679
+
1680
+ ListScanJobsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
1681
+ ListScanJobsOutput.add_member(:scan_jobs, Shapes::ShapeRef.new(shape: ScanJobs, required: true, location_name: "ScanJobs"))
1682
+ ListScanJobsOutput.struct_class = Types::ListScanJobsOutput
1683
+
1585
1684
  ListTagsInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
1586
1685
  ListTagsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1587
1686
  ListTagsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -1669,6 +1768,7 @@ module Aws::Backup
1669
1768
  RecoveryPointByBackupVault.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1670
1769
  RecoveryPointByBackupVault.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
1671
1770
  RecoveryPointByBackupVault.add_member(:encryption_key_type, Shapes::ShapeRef.new(shape: EncryptionKeyType, location_name: "EncryptionKeyType"))
1771
+ RecoveryPointByBackupVault.add_member(:aggregated_scan_result, Shapes::ShapeRef.new(shape: AggregatedScanResult, location_name: "AggregatedScanResult"))
1672
1772
  RecoveryPointByBackupVault.struct_class = Types::RecoveryPointByBackupVault
1673
1773
 
1674
1774
  RecoveryPointByBackupVaultList.member = Shapes::ShapeRef.new(shape: RecoveryPointByBackupVault)
@@ -1687,6 +1787,7 @@ module Aws::Backup
1687
1787
  RecoveryPointByResource.add_member(:index_status, Shapes::ShapeRef.new(shape: IndexStatus, location_name: "IndexStatus"))
1688
1788
  RecoveryPointByResource.add_member(:index_status_message, Shapes::ShapeRef.new(shape: string, location_name: "IndexStatusMessage"))
1689
1789
  RecoveryPointByResource.add_member(:encryption_key_type, Shapes::ShapeRef.new(shape: EncryptionKeyType, location_name: "EncryptionKeyType"))
1790
+ RecoveryPointByResource.add_member(:aggregated_scan_result, Shapes::ShapeRef.new(shape: AggregatedScanResult, location_name: "AggregatedScanResult"))
1690
1791
  RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
1691
1792
 
1692
1793
  RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
@@ -1922,6 +2023,75 @@ module Aws::Backup
1922
2023
  RevokeRestoreAccessBackupVaultInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location: "querystring", location_name: "requesterComment"))
1923
2024
  RevokeRestoreAccessBackupVaultInput.struct_class = Types::RevokeRestoreAccessBackupVaultInput
1924
2025
 
2026
+ ScanAction.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, location_name: "MalwareScanner"))
2027
+ ScanAction.add_member(:scan_mode, Shapes::ShapeRef.new(shape: ScanMode, location_name: "ScanMode"))
2028
+ ScanAction.struct_class = Types::ScanAction
2029
+
2030
+ ScanActions.member = Shapes::ShapeRef.new(shape: ScanAction)
2031
+
2032
+ ScanFindings.member = Shapes::ShapeRef.new(shape: ScanFinding)
2033
+
2034
+ ScanJob.add_member(:account_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "AccountId"))
2035
+ ScanJob.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultArn"))
2036
+ ScanJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultName"))
2037
+ ScanJob.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
2038
+ ScanJob.add_member(:created_by, Shapes::ShapeRef.new(shape: ScanJobCreator, required: true, location_name: "CreatedBy"))
2039
+ ScanJob.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationDate"))
2040
+ ScanJob.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IamRoleArn"))
2041
+ ScanJob.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, required: true, location_name: "MalwareScanner"))
2042
+ ScanJob.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RecoveryPointArn"))
2043
+ ScanJob.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceArn"))
2044
+ ScanJob.add_member(:resource_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceName"))
2045
+ ScanJob.add_member(:resource_type, Shapes::ShapeRef.new(shape: ScanResourceType, required: true, location_name: "ResourceType"))
2046
+ ScanJob.add_member(:scan_base_recovery_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "ScanBaseRecoveryPointArn"))
2047
+ ScanJob.add_member(:scan_id, Shapes::ShapeRef.new(shape: String, location_name: "ScanId"))
2048
+ ScanJob.add_member(:scan_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScanJobId"))
2049
+ ScanJob.add_member(:scan_mode, Shapes::ShapeRef.new(shape: ScanMode, required: true, location_name: "ScanMode"))
2050
+ ScanJob.add_member(:scan_result, Shapes::ShapeRef.new(shape: ScanResultInfo, location_name: "ScanResult"))
2051
+ ScanJob.add_member(:scanner_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScannerRoleArn"))
2052
+ ScanJob.add_member(:state, Shapes::ShapeRef.new(shape: ScanState, location_name: "State"))
2053
+ ScanJob.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
2054
+ ScanJob.struct_class = Types::ScanJob
2055
+
2056
+ ScanJobCreator.add_member(:backup_plan_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupPlanArn"))
2057
+ ScanJobCreator.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupPlanId"))
2058
+ ScanJobCreator.add_member(:backup_plan_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupPlanVersion"))
2059
+ ScanJobCreator.add_member(:backup_rule_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupRuleId"))
2060
+ ScanJobCreator.struct_class = Types::ScanJobCreator
2061
+
2062
+ ScanJobSummary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
2063
+ ScanJobSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
2064
+ ScanJobSummary.add_member(:state, Shapes::ShapeRef.new(shape: ScanJobStatus, location_name: "State"))
2065
+ ScanJobSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
2066
+ ScanJobSummary.add_member(:count, Shapes::ShapeRef.new(shape: integer, location_name: "Count"))
2067
+ ScanJobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartTime"))
2068
+ ScanJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "EndTime"))
2069
+ ScanJobSummary.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, location_name: "MalwareScanner"))
2070
+ ScanJobSummary.add_member(:scan_result_status, Shapes::ShapeRef.new(shape: ScanResultStatus, location_name: "ScanResultStatus"))
2071
+ ScanJobSummary.struct_class = Types::ScanJobSummary
2072
+
2073
+ ScanJobSummaryList.member = Shapes::ShapeRef.new(shape: ScanJobSummary)
2074
+
2075
+ ScanJobs.member = Shapes::ShapeRef.new(shape: ScanJob)
2076
+
2077
+ ScanResult.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, location_name: "MalwareScanner"))
2078
+ ScanResult.add_member(:scan_job_state, Shapes::ShapeRef.new(shape: ScanJobState, location_name: "ScanJobState"))
2079
+ ScanResult.add_member(:last_scan_timestamp, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastScanTimestamp"))
2080
+ ScanResult.add_member(:findings, Shapes::ShapeRef.new(shape: ScanFindings, location_name: "Findings"))
2081
+ ScanResult.struct_class = Types::ScanResult
2082
+
2083
+ ScanResultInfo.add_member(:scan_result_status, Shapes::ShapeRef.new(shape: ScanResultStatus, required: true, location_name: "ScanResultStatus"))
2084
+ ScanResultInfo.struct_class = Types::ScanResultInfo
2085
+
2086
+ ScanResults.member = Shapes::ShapeRef.new(shape: ScanResult)
2087
+
2088
+ ScanSetting.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, location_name: "MalwareScanner"))
2089
+ ScanSetting.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
2090
+ ScanSetting.add_member(:scanner_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "ScannerRoleArn"))
2091
+ ScanSetting.struct_class = Types::ScanSetting
2092
+
2093
+ ScanSettings.member = Shapes::ShapeRef.new(shape: ScanSetting)
2094
+
1925
2095
  ScheduledPlanExecutionMember.add_member(:execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExecutionTime"))
1926
2096
  ScheduledPlanExecutionMember.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
1927
2097
  ScheduledPlanExecutionMember.add_member(:rule_execution_type, Shapes::ShapeRef.new(shape: RuleExecutionType, location_name: "RuleExecutionType"))
@@ -1988,6 +2158,20 @@ module Aws::Backup
1988
2158
  StartRestoreJobOutput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, location_name: "RestoreJobId"))
1989
2159
  StartRestoreJobOutput.struct_class = Types::StartRestoreJobOutput
1990
2160
 
2161
+ StartScanJobInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultName"))
2162
+ StartScanJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IamRoleArn"))
2163
+ StartScanJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "IdempotencyToken"))
2164
+ StartScanJobInput.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, required: true, location_name: "MalwareScanner"))
2165
+ StartScanJobInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RecoveryPointArn"))
2166
+ StartScanJobInput.add_member(:scan_base_recovery_point_arn, Shapes::ShapeRef.new(shape: String, location_name: "ScanBaseRecoveryPointArn"))
2167
+ StartScanJobInput.add_member(:scan_mode, Shapes::ShapeRef.new(shape: ScanMode, required: true, location_name: "ScanMode"))
2168
+ StartScanJobInput.add_member(:scanner_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScannerRoleArn"))
2169
+ StartScanJobInput.struct_class = Types::StartScanJobInput
2170
+
2171
+ StartScanJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationDate"))
2172
+ StartScanJobOutput.add_member(:scan_job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ScanJobId"))
2173
+ StartScanJobOutput.struct_class = Types::StartScanJobOutput
2174
+
1991
2175
  StopBackupJobInput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupJobId"))
1992
2176
  StopBackupJobInput.struct_class = Types::StopBackupJobInput
1993
2177
 
@@ -2040,6 +2224,7 @@ module Aws::Backup
2040
2224
  UpdateBackupPlanOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
2041
2225
  UpdateBackupPlanOutput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location_name: "VersionId"))
2042
2226
  UpdateBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
2227
+ UpdateBackupPlanOutput.add_member(:scan_settings, Shapes::ShapeRef.new(shape: ScanSettings, location_name: "ScanSettings"))
2043
2228
  UpdateBackupPlanOutput.struct_class = Types::UpdateBackupPlanOutput
2044
2229
 
2045
2230
  UpdateFrameworkInput.add_member(:framework_name, Shapes::ShapeRef.new(shape: FrameworkName, required: true, location: "uri", location_name: "frameworkName"))
@@ -2602,6 +2787,18 @@ module Aws::Backup
2602
2787
  o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
2603
2788
  end)
2604
2789
 
2790
+ api.add_operation(:describe_scan_job, Seahorse::Model::Operation.new.tap do |o|
2791
+ o.name = "DescribeScanJob"
2792
+ o.http_method = "GET"
2793
+ o.http_request_uri = "/scan/jobs/{ScanJobId}"
2794
+ o.input = Shapes::ShapeRef.new(shape: DescribeScanJobInput)
2795
+ o.output = Shapes::ShapeRef.new(shape: DescribeScanJobOutput)
2796
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2797
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
2798
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2799
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2800
+ end)
2801
+
2605
2802
  api.add_operation(:disassociate_backup_vault_mpa_approval_team, Seahorse::Model::Operation.new.tap do |o|
2606
2803
  o.name = "DisassociateBackupVaultMpaApprovalTeam"
2607
2804
  o.http_method = "POST"
@@ -3253,6 +3450,38 @@ module Aws::Backup
3253
3450
  )
3254
3451
  end)
3255
3452
 
3453
+ api.add_operation(:list_scan_job_summaries, Seahorse::Model::Operation.new.tap do |o|
3454
+ o.name = "ListScanJobSummaries"
3455
+ o.http_method = "GET"
3456
+ o.http_request_uri = "/audit/scan-job-summaries"
3457
+ o.input = Shapes::ShapeRef.new(shape: ListScanJobSummariesInput)
3458
+ o.output = Shapes::ShapeRef.new(shape: ListScanJobSummariesOutput)
3459
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3460
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3461
+ o[:pager] = Aws::Pager.new(
3462
+ limit_key: "max_results",
3463
+ tokens: {
3464
+ "next_token" => "next_token"
3465
+ }
3466
+ )
3467
+ end)
3468
+
3469
+ api.add_operation(:list_scan_jobs, Seahorse::Model::Operation.new.tap do |o|
3470
+ o.name = "ListScanJobs"
3471
+ o.http_method = "GET"
3472
+ o.http_request_uri = "/scan/jobs"
3473
+ o.input = Shapes::ShapeRef.new(shape: ListScanJobsInput)
3474
+ o.output = Shapes::ShapeRef.new(shape: ListScanJobsOutput)
3475
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3476
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3477
+ o[:pager] = Aws::Pager.new(
3478
+ limit_key: "max_results",
3479
+ tokens: {
3480
+ "next_token" => "next_token"
3481
+ }
3482
+ )
3483
+ end)
3484
+
3256
3485
  api.add_operation(:list_tags, Seahorse::Model::Operation.new.tap do |o|
3257
3486
  o.name = "ListTags"
3258
3487
  o.http_method = "GET"
@@ -3403,6 +3632,20 @@ module Aws::Backup
3403
3632
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3404
3633
  end)
3405
3634
 
3635
+ api.add_operation(:start_scan_job, Seahorse::Model::Operation.new.tap do |o|
3636
+ o.name = "StartScanJob"
3637
+ o.http_method = "PUT"
3638
+ o.http_request_uri = "/scan/job"
3639
+ o.input = Shapes::ShapeRef.new(shape: StartScanJobInput)
3640
+ o.output = Shapes::ShapeRef.new(shape: StartScanJobOutput)
3641
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
3642
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
3643
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
3644
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
3645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3646
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
3647
+ end)
3648
+
3406
3649
  api.add_operation(:stop_backup_job, Seahorse::Model::Operation.new.tap do |o|
3407
3650
  o.name = "StopBackupJob"
3408
3651
  o.http_method = "POST"