lib/aws-sdk-guardduty/client.rb in aws-sdk-guardduty-1.59.0 vs lib/aws-sdk-guardduty/client.rb in aws-sdk-guardduty-1.60.0
- old
+ new
@@ -475,10 +475,11 @@
# The tags to be added to a new detector resource.
#
# @return [Types::CreateDetectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateDetectorResponse#detector_id #detector_id} => String
+ # * {Types::CreateDetectorResponse#unprocessed_data_sources #unprocessed_data_sources} => Types::UnprocessedDataSourcesResult
#
# @example Request syntax with placeholder values
#
# resp = client.create_detector({
# enable: false, # required
@@ -505,10 +506,13 @@
# })
#
# @example Response structure
#
# resp.detector_id #=> String
+ # resp.unprocessed_data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
+ # resp.unprocessed_data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
+ # resp.unprocessed_data_sources.malware_protection.service_role #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/CreateDetector AWS API Documentation
#
# @overload create_detector(params = {})
# @param [Hash] params ({})
@@ -1225,11 +1229,13 @@
def delete_threat_intel_set(params = {}, options = {})
req = build_request(:delete_threat_intel_set, params)
req.send_request(options)
end
- # Returns a list of malware scans.
+ # Returns a list of malware scans. Each member account can view the
+ # malware scans for their own accounts. An administrator can view the
+ # malware scans for all the member accounts.
#
# @option params [required, String] :detector_id
# The unique ID of the detector that the request is associated with.
#
# @option params [String] :next_token
@@ -1465,12 +1471,12 @@
def disassociate_from_master_account(params = {}, options = {})
req = build_request(:disassociate_from_master_account, params)
req.send_request(options)
end
- # Disassociates GuardDuty member accounts (to the current GuardDuty
- # administrator account) specified by the account IDs.
+ # Disassociates GuardDuty member accounts (to the current administrator
+ # account) specified by the account IDs.
#
# @option params [required, String] :detector_id
# The unique ID of the detector of the GuardDuty account whose members
# you want to disassociate from the administrator account.
#
@@ -1592,10 +1598,11 @@
# resp.data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
+ # resp.data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
# resp.data_sources.malware_protection.service_role #=> String
# resp.tags #=> Hash
# resp.tags["TagKey"] #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetDetector AWS API Documentation
@@ -2199,10 +2206,11 @@
# resp.member_data_source_configurations[0].data_sources.dns_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.member_data_source_configurations[0].data_sources.flow_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.member_data_source_configurations[0].data_sources.s3_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.member_data_source_configurations[0].data_sources.kubernetes.audit_logs.status #=> String, one of "ENABLED", "DISABLED"
# resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.status #=> String, one of "ENABLED", "DISABLED"
+ # resp.member_data_source_configurations[0].data_sources.malware_protection.scan_ec2_instance_with_findings.ebs_volumes.reason #=> String
# resp.member_data_source_configurations[0].data_sources.malware_protection.service_role #=> String
# resp.unprocessed_accounts #=> Array
# resp.unprocessed_accounts[0].account_id #=> String
# resp.unprocessed_accounts[0].result #=> String
#
@@ -2872,12 +2880,18 @@
# data.
#
# @option params [String] :only_associated
# Specifies whether to only return associated members or to return all
# members (including members who haven't been invited yet or have been
- # disassociated).
+ # disassociated). Member accounts must have been previously associated
+ # with the GuardDuty administrator account using [ `Create Members`
+ # ][1].
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_CreateMembers.html
+ #
# @return [Types::ListMembersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ListMembersResponse#members #members} => Array<Types::Member>
# * {Types::ListMembersResponse#next_token #next_token} => String
#
@@ -3446,11 +3460,11 @@
# @option params [Types::ScanResourceCriteria] :scan_resource_criteria
# Represents the criteria to be used in the filter for selecting
# resources to scan.
#
# @option params [String] :ebs_snapshot_preservation
- # An enum value representing possible snapshot preservations.
+ # An enum value representing possible snapshot preservation settings.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
#
@@ -3678,10 +3692,10 @@
operation: config.api.operation(operation_name),
client: self,
params: params,
config: config)
context[:gem_name] = 'aws-sdk-guardduty'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
# @api private
# @deprecated