aws-sdk-backup 1.113.0 → 1.114.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ffbae65e0f230f258492141458bde31a75dd92848ba3aeaa9d27648f30681f1
4
- data.tar.gz: ddfebd093cbcdc343622f9d62225e140b7f00ac7483661a0d668be12b19b9148
3
+ metadata.gz: f9982ba50c753ec1f8b7dcff18ea98a2f336ebbeb8aac3e618ae61e7f4f0106d
4
+ data.tar.gz: 9317831cb1a68cb4829c29e84b4c090d537f65499c6239cb1839e92f697d8889
5
5
  SHA512:
6
- metadata.gz: e4d876b67c61d0f18d9d6708d332f8d0564a1aa1987f254c1b504f031d0d5de53d398bf619f0b9302750c4a151571a42a7cc74c12d57fb603bdff888b4b9cb74
7
- data.tar.gz: 882f99acc81c1e189a2376066652f43bd6f0a00a93091899a659c46c90b4117b09603bccb732fd64b2976a105a8b358c45f9fb87a05338e871a45ce347db1614
6
+ metadata.gz: 876cc64a980c5d22a0a066f8352431d145e8c21c47e9acd4ad6a74359c68725f98135d283bc9c6c0e3ef339c77f0a005caf8207b09e8be509ae32c806b1ee267
7
+ data.tar.gz: 18d13e547c48660b90ea1fb5b93c8882a8876243869dd8a17650404c611623e1b323cd0b70139dc9495f16bb7c889b9b203387f87eb63add5a7d000584ef56b2
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.114.0 (2026-05-26)
5
+ ------------------
6
+
7
+ * Feature - Launching S3 PITR malware scanning support for AWS Backup
8
+
4
9
  1.113.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.113.0
1
+ 1.114.0
@@ -2473,6 +2473,8 @@ module Aws::Backup
2473
2473
  # * {Types::DescribeScanJobOutput#backup_vault_arn #backup_vault_arn} => String
2474
2474
  # * {Types::DescribeScanJobOutput#backup_vault_name #backup_vault_name} => String
2475
2475
  # * {Types::DescribeScanJobOutput#completion_date #completion_date} => Time
2476
+ # * {Types::DescribeScanJobOutput#continuous_scan_end_time #continuous_scan_end_time} => Time
2477
+ # * {Types::DescribeScanJobOutput#continuous_scan_start_time #continuous_scan_start_time} => Time
2476
2478
  # * {Types::DescribeScanJobOutput#created_by #created_by} => Types::ScanJobCreator
2477
2479
  # * {Types::DescribeScanJobOutput#creation_date #creation_date} => Time
2478
2480
  # * {Types::DescribeScanJobOutput#iam_role_arn #iam_role_arn} => String
@@ -2502,6 +2504,8 @@ module Aws::Backup
2502
2504
  # resp.backup_vault_arn #=> String
2503
2505
  # resp.backup_vault_name #=> String
2504
2506
  # resp.completion_date #=> Time
2507
+ # resp.continuous_scan_end_time #=> Time
2508
+ # resp.continuous_scan_start_time #=> Time
2505
2509
  # resp.created_by.backup_plan_arn #=> String
2506
2510
  # resp.created_by.backup_plan_id #=> String
2507
2511
  # resp.created_by.backup_plan_version #=> String
@@ -2517,7 +2521,7 @@ module Aws::Backup
2517
2521
  # resp.scan_id #=> String
2518
2522
  # resp.scan_job_id #=> String
2519
2523
  # resp.scan_mode #=> String, one of "FULL_SCAN", "INCREMENTAL_SCAN"
2520
- # resp.scan_result.scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND"
2524
+ # resp.scan_result.scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND", "UNKNOWN"
2521
2525
  # resp.scanner_role_arn #=> String
2522
2526
  # resp.state #=> String, one of "CANCELED", "COMPLETED", "COMPLETED_WITH_ISSUES", "CREATED", "FAILED", "RUNNING"
2523
2527
  # resp.status_message #=> String
@@ -3074,6 +3078,61 @@ module Aws::Backup
3074
3078
  req.send_request(options)
3075
3079
  end
3076
3080
 
3081
+ # Returns the malware scan results for a specified point in time within
3082
+ # a continuous (point-in-time recovery) backup.
3083
+ #
3084
+ # @option params [required, String] :recovery_point_arn
3085
+ # An ARN that uniquely identifies the target recovery point for
3086
+ # scanning; for example,
3087
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
3088
+ #
3089
+ # @option params [required, String] :backup_vault_name
3090
+ # The name of a logical container where backups are stored. Backup
3091
+ # vaults are identified by names that are unique to the account used to
3092
+ # create them and the Amazon Web Services Region where they are created.
3093
+ #
3094
+ # @option params [required, Time,DateTime,Date,Integer,String] :scan_end_time
3095
+ # The point in time within the continuous backup to examine for malware
3096
+ # scan results.
3097
+ #
3098
+ # @option params [required, String] :malware_scanner
3099
+ # The scanning engine used for the corresponding scan job. Currently
3100
+ # only `GUARDDUTY` is supported.
3101
+ #
3102
+ # @return [Types::GetPITRMalwareScanResultsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3103
+ #
3104
+ # * {Types::GetPITRMalwareScanResultsOutput#scan_end_time #scan_end_time} => Time
3105
+ # * {Types::GetPITRMalwareScanResultsOutput#scan_result #scan_result} => Types::ScanResultInfo
3106
+ # * {Types::GetPITRMalwareScanResultsOutput#last_scan_job_time #last_scan_job_time} => Time
3107
+ # * {Types::GetPITRMalwareScanResultsOutput#scan_id #scan_id} => String
3108
+ # * {Types::GetPITRMalwareScanResultsOutput#scan_mode #scan_mode} => String
3109
+ #
3110
+ # @example Request syntax with placeholder values
3111
+ #
3112
+ # resp = client.get_pitr_malware_scan_results({
3113
+ # recovery_point_arn: "String", # required
3114
+ # backup_vault_name: "String", # required
3115
+ # scan_end_time: Time.now, # required
3116
+ # malware_scanner: "GUARDDUTY", # required, accepts GUARDDUTY
3117
+ # })
3118
+ #
3119
+ # @example Response structure
3120
+ #
3121
+ # resp.scan_end_time #=> Time
3122
+ # resp.scan_result.scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND", "UNKNOWN"
3123
+ # resp.last_scan_job_time #=> Time
3124
+ # resp.scan_id #=> String
3125
+ # resp.scan_mode #=> String, one of "FULL_SCAN", "INCREMENTAL_SCAN"
3126
+ #
3127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetPITRMalwareScanResults AWS API Documentation
3128
+ #
3129
+ # @overload get_pitr_malware_scan_results(params = {})
3130
+ # @param [Hash] params ({})
3131
+ def get_pitr_malware_scan_results(params = {}, options = {})
3132
+ req = build_request(:get_pitr_malware_scan_results, params)
3133
+ req.send_request(options)
3134
+ end
3135
+
3077
3136
  # This operation returns the metadata and details specific to the backup
3078
3137
  # index associated with the specified recovery point.
3079
3138
  #
@@ -5588,7 +5647,7 @@ module Aws::Backup
5588
5647
  # account_id: "AccountId",
5589
5648
  # resource_type: "ResourceType",
5590
5649
  # malware_scanner: "GUARDDUTY", # accepts GUARDDUTY
5591
- # scan_result_status: "NO_THREATS_FOUND", # accepts NO_THREATS_FOUND, THREATS_FOUND
5650
+ # scan_result_status: "NO_THREATS_FOUND", # accepts NO_THREATS_FOUND, THREATS_FOUND, UNKNOWN
5592
5651
  # state: "CREATED", # accepts CREATED, COMPLETED, COMPLETED_WITH_ISSUES, RUNNING, FAILED, CANCELED, AGGREGATE_ALL, ANY
5593
5652
  # aggregation_period: "ONE_DAY", # accepts ONE_DAY, SEVEN_DAYS, FOURTEEN_DAYS
5594
5653
  # max_results: 1,
@@ -5606,7 +5665,7 @@ module Aws::Backup
5606
5665
  # resp.scan_job_summaries[0].start_time #=> Time
5607
5666
  # resp.scan_job_summaries[0].end_time #=> Time
5608
5667
  # resp.scan_job_summaries[0].malware_scanner #=> String, one of "GUARDDUTY"
5609
- # resp.scan_job_summaries[0].scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND"
5668
+ # resp.scan_job_summaries[0].scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND", "UNKNOWN"
5610
5669
  # resp.aggregation_period #=> String
5611
5670
  # resp.next_token #=> String
5612
5671
  #
@@ -5710,7 +5769,7 @@ module Aws::Backup
5710
5769
  # by_recovery_point_arn: "String",
5711
5770
  # by_resource_arn: "String",
5712
5771
  # by_resource_type: "EBS", # accepts EBS, EC2, S3
5713
- # by_scan_result_status: "NO_THREATS_FOUND", # accepts NO_THREATS_FOUND, THREATS_FOUND
5772
+ # by_scan_result_status: "NO_THREATS_FOUND", # accepts NO_THREATS_FOUND, THREATS_FOUND, UNKNOWN
5714
5773
  # by_state: "CANCELED", # accepts CANCELED, COMPLETED, COMPLETED_WITH_ISSUES, CREATED, FAILED, RUNNING
5715
5774
  # max_results: 1,
5716
5775
  # next_token: "String",
@@ -5724,6 +5783,8 @@ module Aws::Backup
5724
5783
  # resp.scan_jobs[0].backup_vault_arn #=> String
5725
5784
  # resp.scan_jobs[0].backup_vault_name #=> String
5726
5785
  # resp.scan_jobs[0].completion_date #=> Time
5786
+ # resp.scan_jobs[0].continuous_scan_end_time #=> Time
5787
+ # resp.scan_jobs[0].continuous_scan_start_time #=> Time
5727
5788
  # resp.scan_jobs[0].created_by.backup_plan_arn #=> String
5728
5789
  # resp.scan_jobs[0].created_by.backup_plan_id #=> String
5729
5790
  # resp.scan_jobs[0].created_by.backup_plan_version #=> String
@@ -5739,7 +5800,7 @@ module Aws::Backup
5739
5800
  # resp.scan_jobs[0].scan_id #=> String
5740
5801
  # resp.scan_jobs[0].scan_job_id #=> String
5741
5802
  # resp.scan_jobs[0].scan_mode #=> String, one of "FULL_SCAN", "INCREMENTAL_SCAN"
5742
- # resp.scan_jobs[0].scan_result.scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND"
5803
+ # resp.scan_jobs[0].scan_result.scan_result_status #=> String, one of "NO_THREATS_FOUND", "THREATS_FOUND", "UNKNOWN"
5743
5804
  # resp.scan_jobs[0].scanner_role_arn #=> String
5744
5805
  # resp.scan_jobs[0].state #=> String, one of "CANCELED", "COMPLETED", "COMPLETED_WITH_ISSUES", "CREATED", "FAILED", "RUNNING"
5745
5806
  # resp.scan_jobs[0].status_message #=> String
@@ -6575,6 +6636,10 @@ module Aws::Backup
6575
6636
  #
6576
6637
  # Pattern: `^[a-zA-Z0-9\-\_]{2,50}$`
6577
6638
  #
6639
+ # @option params [Time,DateTime,Date,Integer,String] :continuous_scan_end_time
6640
+ # The point in time the scan job will scan up to for a continuous
6641
+ # backup.
6642
+ #
6578
6643
  # @option params [required, String] :iam_role_arn
6579
6644
  # Specifies the IAM role ARN used to create the target recovery point;
6580
6645
  # for example, `arn:aws:iam::123456789012:role/S3Access`.
@@ -6621,6 +6686,7 @@ module Aws::Backup
6621
6686
  #
6622
6687
  # resp = client.start_scan_job({
6623
6688
  # backup_vault_name: "String", # required
6689
+ # continuous_scan_end_time: Time.now,
6624
6690
  # iam_role_arn: "String", # required
6625
6691
  # idempotency_token: "String",
6626
6692
  # malware_scanner: "GUARDDUTY", # required, accepts GUARDDUTY
@@ -7466,7 +7532,7 @@ module Aws::Backup
7466
7532
  tracer: tracer
7467
7533
  )
7468
7534
  context[:gem_name] = 'aws-sdk-backup'
7469
- context[:gem_version] = '1.113.0'
7535
+ context[:gem_version] = '1.114.0'
7470
7536
  Seahorse::Client::Request.new(handlers, context)
7471
7537
  end
7472
7538
 
@@ -172,6 +172,8 @@ module Aws::Backup
172
172
  GetBackupVaultNotificationsOutput = Shapes::StructureShape.new(name: 'GetBackupVaultNotificationsOutput')
173
173
  GetLegalHoldInput = Shapes::StructureShape.new(name: 'GetLegalHoldInput')
174
174
  GetLegalHoldOutput = Shapes::StructureShape.new(name: 'GetLegalHoldOutput')
175
+ GetPITRMalwareScanResultsInput = Shapes::StructureShape.new(name: 'GetPITRMalwareScanResultsInput')
176
+ GetPITRMalwareScanResultsOutput = Shapes::StructureShape.new(name: 'GetPITRMalwareScanResultsOutput')
175
177
  GetRecoveryPointIndexDetailsInput = Shapes::StructureShape.new(name: 'GetRecoveryPointIndexDetailsInput')
176
178
  GetRecoveryPointIndexDetailsOutput = Shapes::StructureShape.new(name: 'GetRecoveryPointIndexDetailsOutput')
177
179
  GetRecoveryPointRestoreMetadataInput = Shapes::StructureShape.new(name: 'GetRecoveryPointRestoreMetadataInput')
@@ -1092,6 +1094,8 @@ module Aws::Backup
1092
1094
  DescribeScanJobOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultArn"))
1093
1095
  DescribeScanJobOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultName"))
1094
1096
  DescribeScanJobOutput.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
1097
+ DescribeScanJobOutput.add_member(:continuous_scan_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ContinuousScanEndTime"))
1098
+ DescribeScanJobOutput.add_member(:continuous_scan_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ContinuousScanStartTime"))
1095
1099
  DescribeScanJobOutput.add_member(:created_by, Shapes::ShapeRef.new(shape: ScanJobCreator, required: true, location_name: "CreatedBy"))
1096
1100
  DescribeScanJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationDate"))
1097
1101
  DescribeScanJobOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IamRoleArn"))
@@ -1219,6 +1223,19 @@ module Aws::Backup
1219
1223
  GetLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
1220
1224
  GetLegalHoldOutput.struct_class = Types::GetLegalHoldOutput
1221
1225
 
1226
+ GetPITRMalwareScanResultsInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "RecoveryPointArn"))
1227
+ GetPITRMalwareScanResultsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location: "querystring", location_name: "BackupVaultName"))
1228
+ GetPITRMalwareScanResultsInput.add_member(:scan_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location: "querystring", location_name: "ScanEndTime"))
1229
+ GetPITRMalwareScanResultsInput.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, required: true, location: "querystring", location_name: "MalwareScanner"))
1230
+ GetPITRMalwareScanResultsInput.struct_class = Types::GetPITRMalwareScanResultsInput
1231
+
1232
+ GetPITRMalwareScanResultsOutput.add_member(:scan_end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "ScanEndTime"))
1233
+ GetPITRMalwareScanResultsOutput.add_member(:scan_result, Shapes::ShapeRef.new(shape: ScanResultInfo, required: true, location_name: "ScanResult"))
1234
+ GetPITRMalwareScanResultsOutput.add_member(:last_scan_job_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastScanJobTime"))
1235
+ GetPITRMalwareScanResultsOutput.add_member(:scan_id, Shapes::ShapeRef.new(shape: String, location_name: "ScanId"))
1236
+ GetPITRMalwareScanResultsOutput.add_member(:scan_mode, Shapes::ShapeRef.new(shape: ScanMode, location_name: "ScanMode"))
1237
+ GetPITRMalwareScanResultsOutput.struct_class = Types::GetPITRMalwareScanResultsOutput
1238
+
1222
1239
  GetRecoveryPointIndexDetailsInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1223
1240
  GetRecoveryPointIndexDetailsInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
1224
1241
  GetRecoveryPointIndexDetailsInput.struct_class = Types::GetRecoveryPointIndexDetailsInput
@@ -2035,6 +2052,8 @@ module Aws::Backup
2035
2052
  ScanJob.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultArn"))
2036
2053
  ScanJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultName"))
2037
2054
  ScanJob.add_member(:completion_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CompletionDate"))
2055
+ ScanJob.add_member(:continuous_scan_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ContinuousScanEndTime"))
2056
+ ScanJob.add_member(:continuous_scan_start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ContinuousScanStartTime"))
2038
2057
  ScanJob.add_member(:created_by, Shapes::ShapeRef.new(shape: ScanJobCreator, required: true, location_name: "CreatedBy"))
2039
2058
  ScanJob.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "CreationDate"))
2040
2059
  ScanJob.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IamRoleArn"))
@@ -2159,6 +2178,7 @@ module Aws::Backup
2159
2178
  StartRestoreJobOutput.struct_class = Types::StartRestoreJobOutput
2160
2179
 
2161
2180
  StartScanJobInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "BackupVaultName"))
2181
+ StartScanJobInput.add_member(:continuous_scan_end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "ContinuousScanEndTime"))
2162
2182
  StartScanJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "IamRoleArn"))
2163
2183
  StartScanJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: String, location_name: "IdempotencyToken"))
2164
2184
  StartScanJobInput.add_member(:malware_scanner, Shapes::ShapeRef.new(shape: MalwareScanner, required: true, location_name: "MalwareScanner"))
@@ -2936,6 +2956,18 @@ module Aws::Backup
2936
2956
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2937
2957
  end)
2938
2958
 
2959
+ api.add_operation(:get_pitr_malware_scan_results, Seahorse::Model::Operation.new.tap do |o|
2960
+ o.name = "GetPITRMalwareScanResults"
2961
+ o.http_method = "GET"
2962
+ o.http_request_uri = "/scan/pitr-malware-scan-results"
2963
+ o.input = Shapes::ShapeRef.new(shape: GetPITRMalwareScanResultsInput)
2964
+ o.output = Shapes::ShapeRef.new(shape: GetPITRMalwareScanResultsOutput)
2965
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2966
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
2967
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2968
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2969
+ end)
2970
+
2939
2971
  api.add_operation(:get_recovery_point_index_details, Seahorse::Model::Operation.new.tap do |o|
2940
2972
  o.name = "GetRecoveryPointIndexDetails"
2941
2973
  o.http_method = "GET"
@@ -4152,6 +4152,16 @@ module Aws::Backup
4152
4152
  # 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
4153
4153
  # @return [Time]
4154
4154
  #
4155
+ # @!attribute [rw] continuous_scan_end_time
4156
+ # The point in time the scan job scanned up to for a continuous
4157
+ # backup.
4158
+ # @return [Time]
4159
+ #
4160
+ # @!attribute [rw] continuous_scan_start_time
4161
+ # The point in time the scan job started scan from for a continuous
4162
+ # backup.
4163
+ # @return [Time]
4164
+ #
4155
4165
  # @!attribute [rw] created_by
4156
4166
  # Contains identifying information about the creation of a scan job,
4157
4167
  # including the backup plan and rule that initiated the scan.
@@ -4241,6 +4251,8 @@ module Aws::Backup
4241
4251
  :backup_vault_arn,
4242
4252
  :backup_vault_name,
4243
4253
  :completion_date,
4254
+ :continuous_scan_end_time,
4255
+ :continuous_scan_start_time,
4244
4256
  :created_by,
4245
4257
  :creation_date,
4246
4258
  :iam_role_arn,
@@ -4804,6 +4816,76 @@ module Aws::Backup
4804
4816
  include Aws::Structure
4805
4817
  end
4806
4818
 
4819
+ # @!attribute [rw] recovery_point_arn
4820
+ # An ARN that uniquely identifies the target recovery point for
4821
+ # scanning; for example,
4822
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
4823
+ # @return [String]
4824
+ #
4825
+ # @!attribute [rw] backup_vault_name
4826
+ # The name of a logical container where backups are stored. Backup
4827
+ # vaults are identified by names that are unique to the account used
4828
+ # to create them and the Amazon Web Services Region where they are
4829
+ # created.
4830
+ # @return [String]
4831
+ #
4832
+ # @!attribute [rw] scan_end_time
4833
+ # The point in time within the continuous backup to examine for
4834
+ # malware scan results.
4835
+ # @return [Time]
4836
+ #
4837
+ # @!attribute [rw] malware_scanner
4838
+ # The scanning engine used for the corresponding scan job. Currently
4839
+ # only `GUARDDUTY` is supported.
4840
+ # @return [String]
4841
+ #
4842
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetPITRMalwareScanResultsInput AWS API Documentation
4843
+ #
4844
+ class GetPITRMalwareScanResultsInput < Struct.new(
4845
+ :recovery_point_arn,
4846
+ :backup_vault_name,
4847
+ :scan_end_time,
4848
+ :malware_scanner)
4849
+ SENSITIVE = []
4850
+ include Aws::Structure
4851
+ end
4852
+
4853
+ # @!attribute [rw] scan_end_time
4854
+ # The point in time that was queried. This echoes back the time
4855
+ # specified in the request.
4856
+ # @return [Time]
4857
+ #
4858
+ # @!attribute [rw] scan_result
4859
+ # Contains the `ScanResultStatus` for the scan and returns
4860
+ # `THREATS_FOUND`, `NO_THREATS_FOUND`, or `UNKNOWN`.
4861
+ # @return [Types::ScanResultInfo]
4862
+ #
4863
+ # @!attribute [rw] last_scan_job_time
4864
+ # The completion time of the most recent scan job that covered the
4865
+ # specified point in time.
4866
+ # @return [Time]
4867
+ #
4868
+ # @!attribute [rw] scan_id
4869
+ # The scan ID generated by Amazon GuardDuty for the corresponding Scan
4870
+ # Job ID request from Backup.
4871
+ # @return [String]
4872
+ #
4873
+ # @!attribute [rw] scan_mode
4874
+ # Specifies the scan type used for the scan job.
4875
+ # @return [String]
4876
+ #
4877
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetPITRMalwareScanResultsOutput AWS API Documentation
4878
+ #
4879
+ class GetPITRMalwareScanResultsOutput < Struct.new(
4880
+ :scan_end_time,
4881
+ :scan_result,
4882
+ :last_scan_job_time,
4883
+ :scan_id,
4884
+ :scan_mode)
4885
+ SENSITIVE = []
4886
+ include Aws::Structure
4887
+ end
4888
+
4807
4889
  # @!attribute [rw] backup_vault_name
4808
4890
  # The name of a logical container where backups are stored. Backup
4809
4891
  # vaults are identified by names that are unique to the account used
@@ -9773,6 +9855,16 @@ module Aws::Backup
9773
9855
  # represents Friday, January 26, 2018 12:11:30.087 AM.
9774
9856
  # @return [Time]
9775
9857
  #
9858
+ # @!attribute [rw] continuous_scan_end_time
9859
+ # The point in time the scan job scanned up to for a continuous
9860
+ # backup.
9861
+ # @return [Time]
9862
+ #
9863
+ # @!attribute [rw] continuous_scan_start_time
9864
+ # The point in time the scan job started scan from for a continuous
9865
+ # backup.
9866
+ # @return [Time]
9867
+ #
9776
9868
  # @!attribute [rw] created_by
9777
9869
  # Contains identifying information about the creation of a scan job.
9778
9870
  # @return [Types::ScanJobCreator]
@@ -9870,6 +9962,8 @@ module Aws::Backup
9870
9962
  :backup_vault_arn,
9871
9963
  :backup_vault_name,
9872
9964
  :completion_date,
9965
+ :continuous_scan_end_time,
9966
+ :continuous_scan_start_time,
9873
9967
  :created_by,
9874
9968
  :creation_date,
9875
9969
  :iam_role_arn,
@@ -10032,7 +10126,7 @@ module Aws::Backup
10032
10126
  # @!attribute [rw] scan_result_status
10033
10127
  # The status of the scan results.
10034
10128
  #
10035
- # Valid values: `THREATS_FOUND` \| `NO_THREATS_FOUND`.
10129
+ # Valid values: `THREATS_FOUND` \| `NO_THREATS_FOUND` \| `UNKNOWN`.
10036
10130
  # @return [String]
10037
10131
  #
10038
10132
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ScanResultInfo AWS API Documentation
@@ -10598,6 +10692,11 @@ module Aws::Backup
10598
10692
  # Pattern: `^[a-zA-Z0-9\-\_]{2,50}$`
10599
10693
  # @return [String]
10600
10694
  #
10695
+ # @!attribute [rw] continuous_scan_end_time
10696
+ # The point in time the scan job will scan up to for a continuous
10697
+ # backup.
10698
+ # @return [Time]
10699
+ #
10601
10700
  # @!attribute [rw] iam_role_arn
10602
10701
  # Specifies the IAM role ARN used to create the target recovery point;
10603
10702
  # for example, `arn:aws:iam::123456789012:role/S3Access`.
@@ -10646,6 +10745,7 @@ module Aws::Backup
10646
10745
  #
10647
10746
  class StartScanJobInput < Struct.new(
10648
10747
  :backup_vault_name,
10748
+ :continuous_scan_end_time,
10649
10749
  :iam_role_arn,
10650
10750
  :idempotency_token,
10651
10751
  :malware_scanner,
@@ -54,7 +54,7 @@ module Aws::Backup
54
54
  autoload :EndpointProvider, 'aws-sdk-backup/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-backup/endpoints'
56
56
 
57
- GEM_VERSION = '1.113.0'
57
+ GEM_VERSION = '1.114.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -669,6 +669,8 @@ module Aws
669
669
  def backup_vault_arn: () -> ::String
670
670
  def backup_vault_name: () -> ::String
671
671
  def completion_date: () -> ::Time
672
+ def continuous_scan_end_time: () -> ::Time
673
+ def continuous_scan_start_time: () -> ::Time
672
674
  def created_by: () -> Types::ScanJobCreator
673
675
  def creation_date: () -> ::Time
674
676
  def iam_role_arn: () -> ::String
@@ -823,6 +825,23 @@ module Aws
823
825
  ) -> _GetLegalHoldResponseSuccess
824
826
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLegalHoldResponseSuccess
825
827
 
828
+ interface _GetPITRMalwareScanResultsResponseSuccess
829
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPITRMalwareScanResultsOutput]
830
+ def scan_end_time: () -> ::Time
831
+ def scan_result: () -> Types::ScanResultInfo
832
+ def last_scan_job_time: () -> ::Time
833
+ def scan_id: () -> ::String
834
+ def scan_mode: () -> ("FULL_SCAN" | "INCREMENTAL_SCAN")
835
+ end
836
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#get_pitr_malware_scan_results-instance_method
837
+ def get_pitr_malware_scan_results: (
838
+ recovery_point_arn: ::String,
839
+ backup_vault_name: ::String,
840
+ scan_end_time: ::Time,
841
+ malware_scanner: ("GUARDDUTY")
842
+ ) -> _GetPITRMalwareScanResultsResponseSuccess
843
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPITRMalwareScanResultsResponseSuccess
844
+
826
845
  interface _GetRecoveryPointIndexDetailsResponseSuccess
827
846
  include ::Seahorse::Client::_ResponseSuccess[Types::GetRecoveryPointIndexDetailsOutput]
828
847
  def recovery_point_arn: () -> ::String
@@ -1312,7 +1331,7 @@ module Aws
1312
1331
  ?account_id: ::String,
1313
1332
  ?resource_type: ::String,
1314
1333
  ?malware_scanner: ("GUARDDUTY"),
1315
- ?scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND"),
1334
+ ?scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND" | "UNKNOWN"),
1316
1335
  ?state: ("CREATED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "RUNNING" | "FAILED" | "CANCELED" | "AGGREGATE_ALL" | "ANY"),
1317
1336
  ?aggregation_period: ("ONE_DAY" | "SEVEN_DAYS" | "FOURTEEN_DAYS"),
1318
1337
  ?max_results: ::Integer,
@@ -1335,7 +1354,7 @@ module Aws
1335
1354
  ?by_recovery_point_arn: ::String,
1336
1355
  ?by_resource_arn: ::String,
1337
1356
  ?by_resource_type: ("EBS" | "EC2" | "S3"),
1338
- ?by_scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND"),
1357
+ ?by_scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND" | "UNKNOWN"),
1339
1358
  ?by_state: ("CANCELED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "CREATED" | "FAILED" | "RUNNING"),
1340
1359
  ?max_results: ::Integer,
1341
1360
  ?next_token: ::String
@@ -1491,6 +1510,7 @@ module Aws
1491
1510
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#start_scan_job-instance_method
1492
1511
  def start_scan_job: (
1493
1512
  backup_vault_name: ::String,
1513
+ ?continuous_scan_end_time: ::Time,
1494
1514
  iam_role_arn: ::String,
1495
1515
  ?idempotency_token: ::String,
1496
1516
  malware_scanner: ("GUARDDUTY"),
data/sig/types.rbs CHANGED
@@ -794,6 +794,8 @@ module Aws::Backup
794
794
  attr_accessor backup_vault_arn: ::String
795
795
  attr_accessor backup_vault_name: ::String
796
796
  attr_accessor completion_date: ::Time
797
+ attr_accessor continuous_scan_end_time: ::Time
798
+ attr_accessor continuous_scan_start_time: ::Time
797
799
  attr_accessor created_by: Types::ScanJobCreator
798
800
  attr_accessor creation_date: ::Time
799
801
  attr_accessor iam_role_arn: ::String
@@ -958,6 +960,23 @@ module Aws::Backup
958
960
  SENSITIVE: []
959
961
  end
960
962
 
963
+ class GetPITRMalwareScanResultsInput
964
+ attr_accessor recovery_point_arn: ::String
965
+ attr_accessor backup_vault_name: ::String
966
+ attr_accessor scan_end_time: ::Time
967
+ attr_accessor malware_scanner: ("GUARDDUTY")
968
+ SENSITIVE: []
969
+ end
970
+
971
+ class GetPITRMalwareScanResultsOutput
972
+ attr_accessor scan_end_time: ::Time
973
+ attr_accessor scan_result: Types::ScanResultInfo
974
+ attr_accessor last_scan_job_time: ::Time
975
+ attr_accessor scan_id: ::String
976
+ attr_accessor scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")
977
+ SENSITIVE: []
978
+ end
979
+
961
980
  class GetRecoveryPointIndexDetailsInput
962
981
  attr_accessor backup_vault_name: ::String
963
982
  attr_accessor recovery_point_arn: ::String
@@ -1530,7 +1549,7 @@ module Aws::Backup
1530
1549
  attr_accessor account_id: ::String
1531
1550
  attr_accessor resource_type: ::String
1532
1551
  attr_accessor malware_scanner: ("GUARDDUTY")
1533
- attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND")
1552
+ attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND" | "UNKNOWN")
1534
1553
  attr_accessor state: ("CREATED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "RUNNING" | "FAILED" | "CANCELED" | "AGGREGATE_ALL" | "ANY")
1535
1554
  attr_accessor aggregation_period: ("ONE_DAY" | "SEVEN_DAYS" | "FOURTEEN_DAYS")
1536
1555
  attr_accessor max_results: ::Integer
@@ -1554,7 +1573,7 @@ module Aws::Backup
1554
1573
  attr_accessor by_recovery_point_arn: ::String
1555
1574
  attr_accessor by_resource_arn: ::String
1556
1575
  attr_accessor by_resource_type: ("EBS" | "EC2" | "S3")
1557
- attr_accessor by_scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND")
1576
+ attr_accessor by_scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND" | "UNKNOWN")
1558
1577
  attr_accessor by_state: ("CANCELED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "CREATED" | "FAILED" | "RUNNING")
1559
1578
  attr_accessor max_results: ::Integer
1560
1579
  attr_accessor next_token: ::String
@@ -1951,6 +1970,8 @@ module Aws::Backup
1951
1970
  attr_accessor backup_vault_arn: ::String
1952
1971
  attr_accessor backup_vault_name: ::String
1953
1972
  attr_accessor completion_date: ::Time
1973
+ attr_accessor continuous_scan_end_time: ::Time
1974
+ attr_accessor continuous_scan_start_time: ::Time
1954
1975
  attr_accessor created_by: Types::ScanJobCreator
1955
1976
  attr_accessor creation_date: ::Time
1956
1977
  attr_accessor iam_role_arn: ::String
@@ -1987,7 +2008,7 @@ module Aws::Backup
1987
2008
  attr_accessor start_time: ::Time
1988
2009
  attr_accessor end_time: ::Time
1989
2010
  attr_accessor malware_scanner: ("GUARDDUTY")
1990
- attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND")
2011
+ attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND" | "UNKNOWN")
1991
2012
  SENSITIVE: []
1992
2013
  end
1993
2014
 
@@ -2000,7 +2021,7 @@ module Aws::Backup
2000
2021
  end
2001
2022
 
2002
2023
  class ScanResultInfo
2003
- attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND")
2024
+ attr_accessor scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND" | "UNKNOWN")
2004
2025
  SENSITIVE: []
2005
2026
  end
2006
2027
 
@@ -2094,6 +2115,7 @@ module Aws::Backup
2094
2115
 
2095
2116
  class StartScanJobInput
2096
2117
  attr_accessor backup_vault_name: ::String
2118
+ attr_accessor continuous_scan_end_time: ::Time
2097
2119
  attr_accessor iam_role_arn: ::String
2098
2120
  attr_accessor idempotency_token: ::String
2099
2121
  attr_accessor malware_scanner: ("GUARDDUTY")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.113.0
4
+ version: 1.114.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services