aws-sdk-guardduty 1.68.0 → 1.70.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ff5bf924b3cd09c298b323fca839e37e4742e6b91ad78277b1f9fed741b81d4
4
- data.tar.gz: bdeffcea7e97f871baf2461bb95387bb351102146b3b93085f83ed865117413b
3
+ metadata.gz: 7d63f628bb16094132bb107ff56a3a7a2c24619cb7eea610d61c749d8f7c55e0
4
+ data.tar.gz: 7ebd1a8c1c6927145b59e7cae0dc5fdd03d2821fdfcc38a08b028dd268a85bd0
5
5
  SHA512:
6
- metadata.gz: 588ea396bddcb12c84c76a5d74f1245e455e0857c8fa17dffba026b8333ab6775ce12718b3496c01d58b00d8725bf0a64a539b2bb48660319b58aa99eece9714
7
- data.tar.gz: f381b33dd8c0e8564fc4cf2721dd90df57ef9c12ab25b7746612b29239a1fd6d06bbb23be5dbb235f56fc36559ae830778bd6066d40e925cfbf6703d9adb661c
6
+ metadata.gz: ee8dd41869e3348caa5285dbd1f3b4d8311fc3393f15f9ad245e27393e0c945eeb07635ab95f147d85603094ed021b9d101f5ee10344436970b0a06b5bc8c46a
7
+ data.tar.gz: 417686ac27ca5af5058afd4388c224bb0b3431119724acaa8275d2665b5abcd94c8c49d1b499a47755e8e5b74d1d12ff119a7cbaac32ecb4e456d31991e93901
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2023-05-08)
5
+ ------------------
6
+
7
+ * Feature - Add AccessDeniedException 403 Error message code to support 3 Tagging related APIs
8
+
9
+ 1.69.0 (2023-04-27)
10
+ ------------------
11
+
12
+ * Feature - Added API support to initiate on-demand malware scan on specific resources.
13
+
4
14
  1.68.0 (2023-04-20)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.68.0
1
+ 1.70.0
@@ -1342,7 +1342,7 @@ module Aws::GuardDuty
1342
1342
  # filter_criteria: {
1343
1343
  # filter_criterion: [
1344
1344
  # {
1345
- # criterion_key: "EC2_INSTANCE_ARN", # accepts EC2_INSTANCE_ARN, SCAN_ID, ACCOUNT_ID, GUARDDUTY_FINDING_ID, SCAN_START_TIME, SCAN_STATUS
1345
+ # criterion_key: "EC2_INSTANCE_ARN", # accepts EC2_INSTANCE_ARN, SCAN_ID, ACCOUNT_ID, GUARDDUTY_FINDING_ID, SCAN_START_TIME, SCAN_STATUS, SCAN_TYPE
1346
1346
  # filter_condition: {
1347
1347
  # equals_value: "NonEmptyString",
1348
1348
  # greater_than: 1,
@@ -1363,7 +1363,7 @@ module Aws::GuardDuty
1363
1363
  # resp.scans[0].detector_id #=> String
1364
1364
  # resp.scans[0].admin_detector_id #=> String
1365
1365
  # resp.scans[0].scan_id #=> String
1366
- # resp.scans[0].scan_status #=> String, one of "RUNNING", "COMPLETED", "FAILED"
1366
+ # resp.scans[0].scan_status #=> String, one of "RUNNING", "COMPLETED", "FAILED", "SKIPPED"
1367
1367
  # resp.scans[0].failure_reason #=> String
1368
1368
  # resp.scans[0].scan_start_time #=> Time
1369
1369
  # resp.scans[0].scan_end_time #=> Time
@@ -1382,6 +1382,7 @@ module Aws::GuardDuty
1382
1382
  # resp.scans[0].attached_volumes[0].encryption_type #=> String
1383
1383
  # resp.scans[0].attached_volumes[0].snapshot_arn #=> String
1384
1384
  # resp.scans[0].attached_volumes[0].kms_key_arn #=> String
1385
+ # resp.scans[0].scan_type #=> String, one of "GUARDDUTY_INITIATED", "ON_DEMAND"
1385
1386
  # resp.next_token #=> String
1386
1387
  #
1387
1388
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DescribeMalwareScans AWS API Documentation
@@ -2204,6 +2205,7 @@ module Aws::GuardDuty
2204
2205
  # resp.findings[0].service.ebs_volume_scan_details.scan_detections.threat_detected_by_name.threat_names[0].file_paths[0].volume_arn #=> String
2205
2206
  # resp.findings[0].service.ebs_volume_scan_details.scan_detections.threat_detected_by_name.threat_names[0].file_paths[0].hash #=> String
2206
2207
  # resp.findings[0].service.ebs_volume_scan_details.scan_detections.threat_detected_by_name.threat_names[0].file_paths[0].file_name #=> String
2208
+ # resp.findings[0].service.ebs_volume_scan_details.scan_type #=> String, one of "GUARDDUTY_INITIATED", "ON_DEMAND"
2207
2209
  # resp.findings[0].service.runtime_details.process.name #=> String
2208
2210
  # resp.findings[0].service.runtime_details.process.executable_path #=> String
2209
2211
  # resp.findings[0].service.runtime_details.process.executable_sha_256 #=> String
@@ -3533,6 +3535,40 @@ module Aws::GuardDuty
3533
3535
  req.send_request(options)
3534
3536
  end
3535
3537
 
3538
+ # Initiates the malware scan. Invoking this API will automatically
3539
+ # create the [Service-linked role ][1] in the corresponding account.
3540
+ #
3541
+ #
3542
+ #
3543
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/ug/slr-permissions-malware-protection.html
3544
+ #
3545
+ # @option params [required, String] :resource_arn
3546
+ # Amazon Resource Name (ARN) of the resource for which you invoked the
3547
+ # API.
3548
+ #
3549
+ # @return [Types::StartMalwareScanResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3550
+ #
3551
+ # * {Types::StartMalwareScanResponse#scan_id #scan_id} => String
3552
+ #
3553
+ # @example Request syntax with placeholder values
3554
+ #
3555
+ # resp = client.start_malware_scan({
3556
+ # resource_arn: "ResourceArn", # required
3557
+ # })
3558
+ #
3559
+ # @example Response structure
3560
+ #
3561
+ # resp.scan_id #=> String
3562
+ #
3563
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMalwareScan AWS API Documentation
3564
+ #
3565
+ # @overload start_malware_scan(params = {})
3566
+ # @param [Hash] params ({})
3567
+ def start_malware_scan(params = {}, options = {})
3568
+ req = build_request(:start_malware_scan, params)
3569
+ req.send_request(options)
3570
+ end
3571
+
3536
3572
  # Turns on GuardDuty monitoring of the specified member accounts. Use
3537
3573
  # this operation to restart monitoring of accounts that you stopped
3538
3574
  # monitoring with the [StopMonitoringMembers][1] operation.
@@ -4251,7 +4287,7 @@ module Aws::GuardDuty
4251
4287
  params: params,
4252
4288
  config: config)
4253
4289
  context[:gem_name] = 'aws-sdk-guardduty'
4254
- context[:gem_version] = '1.68.0'
4290
+ context[:gem_version] = '1.70.0'
4255
4291
  Seahorse::Client::Request.new(handlers, context)
4256
4292
  end
4257
4293
 
@@ -18,6 +18,7 @@ module Aws::GuardDuty
18
18
  AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
19
19
  AcceptInvitationResponse = Shapes::StructureShape.new(name: 'AcceptInvitationResponse')
20
20
  AccessControlList = Shapes::StructureShape.new(name: 'AccessControlList')
21
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
21
22
  AccessKeyDetails = Shapes::StructureShape.new(name: 'AccessKeyDetails')
22
23
  AccountDetail = Shapes::StructureShape.new(name: 'AccountDetail')
23
24
  AccountDetails = Shapes::ListShape.new(name: 'AccountDetails')
@@ -46,6 +47,7 @@ module Aws::GuardDuty
46
47
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
47
48
  CloudTrailConfigurationResult = Shapes::StructureShape.new(name: 'CloudTrailConfigurationResult')
48
49
  Condition = Shapes::StructureShape.new(name: 'Condition')
50
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
49
51
  Container = Shapes::StructureShape.new(name: 'Container')
50
52
  Containers = Shapes::ListShape.new(name: 'Containers')
51
53
  CountByCoverageStatus = Shapes::MapShape.new(name: 'CountByCoverageStatus')
@@ -347,6 +349,7 @@ module Aws::GuardDuty
347
349
  RemoteIpDetails = Shapes::StructureShape.new(name: 'RemoteIpDetails')
348
350
  RemotePortDetails = Shapes::StructureShape.new(name: 'RemotePortDetails')
349
351
  Resource = Shapes::StructureShape.new(name: 'Resource')
352
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
350
353
  ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
351
354
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
352
355
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
@@ -371,6 +374,7 @@ module Aws::GuardDuty
371
374
  ScanStatus = Shapes::StringShape.new(name: 'ScanStatus')
372
375
  ScanThreatName = Shapes::StructureShape.new(name: 'ScanThreatName')
373
376
  ScanThreatNames = Shapes::ListShape.new(name: 'ScanThreatNames')
377
+ ScanType = Shapes::StringShape.new(name: 'ScanType')
374
378
  ScannedItemCount = Shapes::StructureShape.new(name: 'ScannedItemCount')
375
379
  Scans = Shapes::ListShape.new(name: 'Scans')
376
380
  SecurityContext = Shapes::StructureShape.new(name: 'SecurityContext')
@@ -381,6 +385,8 @@ module Aws::GuardDuty
381
385
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
382
386
  SourceIps = Shapes::ListShape.new(name: 'SourceIps')
383
387
  Sources = Shapes::ListShape.new(name: 'Sources')
388
+ StartMalwareScanRequest = Shapes::StructureShape.new(name: 'StartMalwareScanRequest')
389
+ StartMalwareScanResponse = Shapes::StructureShape.new(name: 'StartMalwareScanResponse')
384
390
  StartMonitoringMembersRequest = Shapes::StructureShape.new(name: 'StartMonitoringMembersRequest')
385
391
  StartMonitoringMembersResponse = Shapes::StructureShape.new(name: 'StartMonitoringMembersResponse')
386
392
  StopMonitoringMembersRequest = Shapes::StructureShape.new(name: 'StopMonitoringMembersRequest')
@@ -470,6 +476,10 @@ module Aws::GuardDuty
470
476
  AccessControlList.add_member(:allows_public_write_access, Shapes::ShapeRef.new(shape: Boolean, location_name: "allowsPublicWriteAccess"))
471
477
  AccessControlList.struct_class = Types::AccessControlList
472
478
 
479
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
480
+ AccessDeniedException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
481
+ AccessDeniedException.struct_class = Types::AccessDeniedException
482
+
473
483
  AccessKeyDetails.add_member(:access_key_id, Shapes::ShapeRef.new(shape: String, location_name: "accessKeyId"))
474
484
  AccessKeyDetails.add_member(:principal_id, Shapes::ShapeRef.new(shape: String, location_name: "principalId"))
475
485
  AccessKeyDetails.add_member(:user_name, Shapes::ShapeRef.new(shape: String, location_name: "userName"))
@@ -578,6 +588,10 @@ module Aws::GuardDuty
578
588
  Condition.add_member(:less_than_or_equal, Shapes::ShapeRef.new(shape: Long, location_name: "lessThanOrEqual"))
579
589
  Condition.struct_class = Types::Condition
580
590
 
591
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
592
+ ConflictException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
593
+ ConflictException.struct_class = Types::ConflictException
594
+
581
595
  Container.add_member(:container_runtime, Shapes::ShapeRef.new(shape: String, location_name: "containerRuntime"))
582
596
  Container.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
583
597
  Container.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -917,6 +931,7 @@ module Aws::GuardDuty
917
931
  EbsVolumeScanDetails.add_member(:trigger_finding_id, Shapes::ShapeRef.new(shape: String, location_name: "triggerFindingId"))
918
932
  EbsVolumeScanDetails.add_member(:sources, Shapes::ShapeRef.new(shape: Sources, location_name: "sources"))
919
933
  EbsVolumeScanDetails.add_member(:scan_detections, Shapes::ShapeRef.new(shape: ScanDetections, location_name: "scanDetections"))
934
+ EbsVolumeScanDetails.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "scanType"))
920
935
  EbsVolumeScanDetails.struct_class = Types::EbsVolumeScanDetails
921
936
 
922
937
  EbsVolumesResult.add_member(:status, Shapes::ShapeRef.new(shape: DataSourceStatus, location_name: "status"))
@@ -1725,6 +1740,7 @@ module Aws::GuardDuty
1725
1740
  Scan.add_member(:total_bytes, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "totalBytes"))
1726
1741
  Scan.add_member(:file_count, Shapes::ShapeRef.new(shape: PositiveLong, location_name: "fileCount"))
1727
1742
  Scan.add_member(:attached_volumes, Shapes::ShapeRef.new(shape: VolumeDetails, location_name: "attachedVolumes"))
1743
+ Scan.add_member(:scan_type, Shapes::ShapeRef.new(shape: ScanType, location_name: "scanType"))
1728
1744
  Scan.struct_class = Types::Scan
1729
1745
 
1730
1746
  ScanCondition.add_member(:map_equals, Shapes::ShapeRef.new(shape: MapEquals, required: true, location_name: "mapEquals"))
@@ -1814,6 +1830,12 @@ module Aws::GuardDuty
1814
1830
 
1815
1831
  Sources.member = Shapes::ShapeRef.new(shape: String)
1816
1832
 
1833
+ StartMalwareScanRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1834
+ StartMalwareScanRequest.struct_class = Types::StartMalwareScanRequest
1835
+
1836
+ StartMalwareScanResponse.add_member(:scan_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "scanId"))
1837
+ StartMalwareScanResponse.struct_class = Types::StartMalwareScanResponse
1838
+
1817
1839
  StartMonitoringMembersRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
1818
1840
  StartMonitoringMembersRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
1819
1841
  StartMonitoringMembersRequest.struct_class = Types::StartMonitoringMembersRequest
@@ -2650,6 +2672,7 @@ module Aws::GuardDuty
2650
2672
  o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
2651
2673
  o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
2652
2674
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2675
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2653
2676
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2654
2677
  end)
2655
2678
 
@@ -2669,6 +2692,17 @@ module Aws::GuardDuty
2669
2692
  )
2670
2693
  end)
2671
2694
 
2695
+ api.add_operation(:start_malware_scan, Seahorse::Model::Operation.new.tap do |o|
2696
+ o.name = "StartMalwareScan"
2697
+ o.http_method = "POST"
2698
+ o.http_request_uri = "/malware-scan/start"
2699
+ o.input = Shapes::ShapeRef.new(shape: StartMalwareScanRequest)
2700
+ o.output = Shapes::ShapeRef.new(shape: StartMalwareScanResponse)
2701
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2702
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2703
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2704
+ end)
2705
+
2672
2706
  api.add_operation(:start_monitoring_members, Seahorse::Model::Operation.new.tap do |o|
2673
2707
  o.name = "StartMonitoringMembers"
2674
2708
  o.http_method = "POST"
@@ -2696,6 +2730,7 @@ module Aws::GuardDuty
2696
2730
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
2697
2731
  o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
2698
2732
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2733
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2699
2734
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2700
2735
  end)
2701
2736
 
@@ -2716,6 +2751,7 @@ module Aws::GuardDuty
2716
2751
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
2717
2752
  o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
2718
2753
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2754
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2719
2755
  o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
2720
2756
  end)
2721
2757
 
@@ -753,6 +753,20 @@ module Aws::GuardDuty
753
753
  end
754
754
  end
755
755
 
756
+ class StartMalwareScan
757
+ def self.build(context)
758
+ unless context.config.regional_endpoint
759
+ endpoint = context.config.endpoint.to_s
760
+ end
761
+ Aws::GuardDuty::EndpointParameters.new(
762
+ region: context.config.region,
763
+ use_dual_stack: context.config.use_dualstack_endpoint,
764
+ use_fips: context.config.use_fips_endpoint,
765
+ endpoint: endpoint,
766
+ )
767
+ end
768
+ end
769
+
756
770
  class StartMonitoringMembers
757
771
  def self.build(context)
758
772
  unless context.config.regional_endpoint
@@ -27,7 +27,9 @@ module Aws::GuardDuty
27
27
  # See {Seahorse::Client::RequestContext} for more information.
28
28
  #
29
29
  # ## Error Classes
30
+ # * {AccessDeniedException}
30
31
  # * {BadRequestException}
32
+ # * {ConflictException}
31
33
  # * {InternalServerErrorException}
32
34
  #
33
35
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -36,6 +38,26 @@ module Aws::GuardDuty
36
38
 
37
39
  extend Aws::Errors::DynamicErrors
38
40
 
41
+ class AccessDeniedException < ServiceError
42
+
43
+ # @param [Seahorse::Client::RequestContext] context
44
+ # @param [String] message
45
+ # @param [Aws::GuardDuty::Types::AccessDeniedException] data
46
+ def initialize(context, message, data = Aws::EmptyStructure.new)
47
+ super(context, message, data)
48
+ end
49
+
50
+ # @return [String]
51
+ def message
52
+ @message || @data[:message]
53
+ end
54
+
55
+ # @return [String]
56
+ def type
57
+ @data[:type]
58
+ end
59
+ end
60
+
39
61
  class BadRequestException < ServiceError
40
62
 
41
63
  # @param [Seahorse::Client::RequestContext] context
@@ -56,6 +78,26 @@ module Aws::GuardDuty
56
78
  end
57
79
  end
58
80
 
81
+ class ConflictException < ServiceError
82
+
83
+ # @param [Seahorse::Client::RequestContext] context
84
+ # @param [String] message
85
+ # @param [Aws::GuardDuty::Types::ConflictException] data
86
+ def initialize(context, message, data = Aws::EmptyStructure.new)
87
+ super(context, message, data)
88
+ end
89
+
90
+ # @return [String]
91
+ def message
92
+ @message || @data[:message]
93
+ end
94
+
95
+ # @return [String]
96
+ def type
97
+ @data[:type]
98
+ end
99
+ end
100
+
59
101
  class InternalServerErrorException < ServiceError
60
102
 
61
103
  # @param [Seahorse::Client::RequestContext] context
@@ -162,6 +162,8 @@ module Aws::GuardDuty
162
162
  Aws::GuardDuty::Endpoints::ListTagsForResource.build(context)
163
163
  when :list_threat_intel_sets
164
164
  Aws::GuardDuty::Endpoints::ListThreatIntelSets.build(context)
165
+ when :start_malware_scan
166
+ Aws::GuardDuty::Endpoints::StartMalwareScan.build(context)
165
167
  when :start_monitoring_members
166
168
  Aws::GuardDuty::Endpoints::StartMonitoringMembers.build(context)
167
169
  when :stop_monitoring_members
@@ -88,6 +88,25 @@ module Aws::GuardDuty
88
88
  include Aws::Structure
89
89
  end
90
90
 
91
+ # An access denied exception object.
92
+ #
93
+ # @!attribute [rw] message
94
+ # The error message.
95
+ # @return [String]
96
+ #
97
+ # @!attribute [rw] type
98
+ # The error type.
99
+ # @return [String]
100
+ #
101
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccessDeniedException AWS API Documentation
102
+ #
103
+ class AccessDeniedException < Struct.new(
104
+ :message,
105
+ :type)
106
+ SENSITIVE = []
107
+ include Aws::Structure
108
+ end
109
+
91
110
  # Contains information about the access keys.
92
111
  #
93
112
  # @!attribute [rw] access_key_id
@@ -591,6 +610,25 @@ module Aws::GuardDuty
591
610
  include Aws::Structure
592
611
  end
593
612
 
613
+ # A request conflict exception object.
614
+ #
615
+ # @!attribute [rw] message
616
+ # The error message.
617
+ # @return [String]
618
+ #
619
+ # @!attribute [rw] type
620
+ # The error type.
621
+ # @return [String]
622
+ #
623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ConflictException AWS API Documentation
624
+ #
625
+ class ConflictException < Struct.new(
626
+ :message,
627
+ :type)
628
+ SENSITIVE = []
629
+ include Aws::Structure
630
+ end
631
+
594
632
  # Details of a container.
595
633
  #
596
634
  # @!attribute [rw] container_runtime
@@ -2201,6 +2239,10 @@ module Aws::GuardDuty
2201
2239
  # Contains a complete view providing malware scan result details.
2202
2240
  # @return [Types::ScanDetections]
2203
2241
  #
2242
+ # @!attribute [rw] scan_type
2243
+ # Specifies the scan type that invoked the malware scan.
2244
+ # @return [String]
2245
+ #
2204
2246
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EbsVolumeScanDetails AWS API Documentation
2205
2247
  #
2206
2248
  class EbsVolumeScanDetails < Struct.new(
@@ -2209,7 +2251,8 @@ module Aws::GuardDuty
2209
2251
  :scan_completed_at,
2210
2252
  :trigger_finding_id,
2211
2253
  :sources,
2212
- :scan_detections)
2254
+ :scan_detections,
2255
+ :scan_type)
2213
2256
  SENSITIVE = []
2214
2257
  include Aws::Structure
2215
2258
  end
@@ -5984,6 +6027,10 @@ module Aws::GuardDuty
5984
6027
  # scanned.
5985
6028
  # @return [Array<Types::VolumeDetail>]
5986
6029
  #
6030
+ # @!attribute [rw] scan_type
6031
+ # Specifies the scan type that invoked the malware scan.
6032
+ # @return [String]
6033
+ #
5987
6034
  # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/Scan AWS API Documentation
5988
6035
  #
5989
6036
  class Scan < Struct.new(
@@ -6000,7 +6047,8 @@ module Aws::GuardDuty
6000
6047
  :account_id,
6001
6048
  :total_bytes,
6002
6049
  :file_count,
6003
- :attached_volumes)
6050
+ :attached_volumes,
6051
+ :scan_type)
6004
6052
  SENSITIVE = []
6005
6053
  include Aws::Structure
6006
6054
  end
@@ -6378,6 +6426,33 @@ module Aws::GuardDuty
6378
6426
  include Aws::Structure
6379
6427
  end
6380
6428
 
6429
+ # @!attribute [rw] resource_arn
6430
+ # Amazon Resource Name (ARN) of the resource for which you invoked the
6431
+ # API.
6432
+ # @return [String]
6433
+ #
6434
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMalwareScanRequest AWS API Documentation
6435
+ #
6436
+ class StartMalwareScanRequest < Struct.new(
6437
+ :resource_arn)
6438
+ SENSITIVE = []
6439
+ include Aws::Structure
6440
+ end
6441
+
6442
+ # @!attribute [rw] scan_id
6443
+ # A unique identifier that gets generated when you invoke the API
6444
+ # without any error. Each malware scan has a corresponding scan ID.
6445
+ # Using this scan ID, you can monitor the status of your malware scan.
6446
+ # @return [String]
6447
+ #
6448
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/StartMalwareScanResponse AWS API Documentation
6449
+ #
6450
+ class StartMalwareScanResponse < Struct.new(
6451
+ :scan_id)
6452
+ SENSITIVE = []
6453
+ include Aws::Structure
6454
+ end
6455
+
6381
6456
  # @!attribute [rw] detector_id
6382
6457
  # The unique ID of the detector of the GuardDuty administrator account
6383
6458
  # associated with the member accounts to monitor.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-guardduty/customizations'
52
52
  # @!group service
53
53
  module Aws::GuardDuty
54
54
 
55
- GEM_VERSION = '1.68.0'
55
+ GEM_VERSION = '1.70.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-guardduty
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.68.0
4
+ version: 1.70.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-20 00:00:00.000000000 Z
11
+ date: 2023-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core