Interface GuardDutyClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following foundational data sources - VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event logs, EKS audit logs, DNS logs, Amazon EBS volume data, runtime activity belonging to container workloads, such as Amazon EKS, Amazon ECS (including Amazon Web Services Fargate), and Amazon EC2 instances. It uses threat intelligence feeds, such as lists of malicious IPs and domains, and machine learning to identify unexpected, potentially unauthorized, and malicious activity within your Amazon Web Services environment. This can include issues like escalations of privileges, uses of exposed credentials, or communication with malicious IPs, domains, or presence of malware on your Amazon EC2 instances and container workloads. For example, GuardDuty can detect compromised EC2 instances and container workloads serving malware, or mining bitcoin.
GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise, such as unauthorized infrastructure deployments like EC2 instances deployed in a Region that has never been used, or unusual API calls like a password policy change to reduce password strength.
GuardDuty informs you about the status of your Amazon Web Services environment by producing security findings that you can view in the GuardDuty console or through Amazon EventBridge. For more information, see the Amazon GuardDuty User Guide .
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionacceptAdministratorInvitation
(Consumer<AcceptAdministratorInvitationRequest.Builder> acceptAdministratorInvitationRequest) Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.acceptAdministratorInvitation
(AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest) Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.default AcceptInvitationResponse
acceptInvitation
(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Deprecated.This operation is deprecated, use AcceptAdministratorInvitation insteaddefault AcceptInvitationResponse
acceptInvitation
(AcceptInvitationRequest acceptInvitationRequest) Deprecated.This operation is deprecated, use AcceptAdministratorInvitation insteaddefault ArchiveFindingsResponse
archiveFindings
(Consumer<ArchiveFindingsRequest.Builder> archiveFindingsRequest) Archives GuardDuty findings that are specified by the list of finding IDs.default ArchiveFindingsResponse
archiveFindings
(ArchiveFindingsRequest archiveFindingsRequest) Archives GuardDuty findings that are specified by the list of finding IDs.static GuardDutyClientBuilder
builder()
Create a builder that can be used to configure and create aGuardDutyClient
.static GuardDutyClient
create()
Create aGuardDutyClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateDetectorResponse
createDetector
(Consumer<CreateDetectorRequest.Builder> createDetectorRequest) Creates a single GuardDuty detector.default CreateDetectorResponse
createDetector
(CreateDetectorRequest createDetectorRequest) Creates a single GuardDuty detector.default CreateFilterResponse
createFilter
(Consumer<CreateFilterRequest.Builder> createFilterRequest) Creates a filter using the specified finding criteria.default CreateFilterResponse
createFilter
(CreateFilterRequest createFilterRequest) Creates a filter using the specified finding criteria.default CreateIpSetResponse
createIPSet
(Consumer<CreateIpSetRequest.Builder> createIpSetRequest) Creates a new IPSet, which is called a trusted IP list in the console user interface.default CreateIpSetResponse
createIPSet
(CreateIpSetRequest createIpSetRequest) Creates a new IPSet, which is called a trusted IP list in the console user interface.default CreateMembersResponse
createMembers
(Consumer<CreateMembersRequest.Builder> createMembersRequest) Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs.default CreateMembersResponse
createMembers
(CreateMembersRequest createMembersRequest) Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs.createPublishingDestination
(Consumer<CreatePublishingDestinationRequest.Builder> createPublishingDestinationRequest) Creates a publishing destination to export findings to.createPublishingDestination
(CreatePublishingDestinationRequest createPublishingDestinationRequest) Creates a publishing destination to export findings to.default CreateSampleFindingsResponse
createSampleFindings
(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) Generates sample findings of types specified by the list of finding types.default CreateSampleFindingsResponse
createSampleFindings
(CreateSampleFindingsRequest createSampleFindingsRequest) Generates sample findings of types specified by the list of finding types.default CreateThreatIntelSetResponse
createThreatIntelSet
(Consumer<CreateThreatIntelSetRequest.Builder> createThreatIntelSetRequest) Creates a new ThreatIntelSet.default CreateThreatIntelSetResponse
createThreatIntelSet
(CreateThreatIntelSetRequest createThreatIntelSetRequest) Creates a new ThreatIntelSet.default DeclineInvitationsResponse
declineInvitations
(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.default DeclineInvitationsResponse
declineInvitations
(DeclineInvitationsRequest declineInvitationsRequest) Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.default DeleteDetectorResponse
deleteDetector
(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest) Deletes an Amazon GuardDuty detector that is specified by the detector ID.default DeleteDetectorResponse
deleteDetector
(DeleteDetectorRequest deleteDetectorRequest) Deletes an Amazon GuardDuty detector that is specified by the detector ID.default DeleteFilterResponse
deleteFilter
(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest) Deletes the filter specified by the filter name.default DeleteFilterResponse
deleteFilter
(DeleteFilterRequest deleteFilterRequest) Deletes the filter specified by the filter name.default DeleteInvitationsResponse
deleteInvitations
(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.default DeleteInvitationsResponse
deleteInvitations
(DeleteInvitationsRequest deleteInvitationsRequest) Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.default DeleteIpSetResponse
deleteIPSet
(Consumer<DeleteIpSetRequest.Builder> deleteIpSetRequest) Deletes the IPSet specified by theipSetId
.default DeleteIpSetResponse
deleteIPSet
(DeleteIpSetRequest deleteIpSetRequest) Deletes the IPSet specified by theipSetId
.default DeleteMembersResponse
deleteMembers
(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest) Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.default DeleteMembersResponse
deleteMembers
(DeleteMembersRequest deleteMembersRequest) Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.deletePublishingDestination
(Consumer<DeletePublishingDestinationRequest.Builder> deletePublishingDestinationRequest) Deletes the publishing definition with the specifieddestinationId
.deletePublishingDestination
(DeletePublishingDestinationRequest deletePublishingDestinationRequest) Deletes the publishing definition with the specifieddestinationId
.default DeleteThreatIntelSetResponse
deleteThreatIntelSet
(Consumer<DeleteThreatIntelSetRequest.Builder> deleteThreatIntelSetRequest) Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.default DeleteThreatIntelSetResponse
deleteThreatIntelSet
(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest) Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.default DescribeMalwareScansResponse
describeMalwareScans
(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest) Returns a list of malware scans.default DescribeMalwareScansResponse
describeMalwareScans
(DescribeMalwareScansRequest describeMalwareScansRequest) Returns a list of malware scans.default DescribeMalwareScansIterable
describeMalwareScansPaginator
(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest) This is a variant ofdescribeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation.default DescribeMalwareScansIterable
describeMalwareScansPaginator
(DescribeMalwareScansRequest describeMalwareScansRequest) This is a variant ofdescribeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation.describeOrganizationConfiguration
(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) Returns information about the account selected as the delegated administrator for GuardDuty.describeOrganizationConfiguration
(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) Returns information about the account selected as the delegated administrator for GuardDuty.describeOrganizationConfigurationPaginator
(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) This is a variant ofdescribeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)
operation.describeOrganizationConfigurationPaginator
(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) This is a variant ofdescribeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)
operation.describePublishingDestination
(Consumer<DescribePublishingDestinationRequest.Builder> describePublishingDestinationRequest) Returns information about the publishing destination specified by the provideddestinationId
.describePublishingDestination
(DescribePublishingDestinationRequest describePublishingDestinationRequest) Returns information about the publishing destination specified by the provideddestinationId
.disableOrganizationAdminAccount
(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) Removes the existing GuardDuty delegated administrator of the organization.disableOrganizationAdminAccount
(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) Removes the existing GuardDuty delegated administrator of the organization.disassociateFromAdministratorAccount
(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) Disassociates the current GuardDuty member account from its administrator account.disassociateFromAdministratorAccount
(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) Disassociates the current GuardDuty member account from its administrator account.disassociateFromMasterAccount
(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) Deprecated.This operation is deprecated, use DisassociateFromAdministratorAccount insteaddisassociateFromMasterAccount
(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) Deprecated.This operation is deprecated, use DisassociateFromAdministratorAccount insteaddefault DisassociateMembersResponse
disassociateMembers
(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest) Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs.default DisassociateMembersResponse
disassociateMembers
(DisassociateMembersRequest disassociateMembersRequest) Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs.enableOrganizationAdminAccount
(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator.enableOrganizationAdminAccount
(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator.default GetAdministratorAccountResponse
getAdministratorAccount
(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.default GetAdministratorAccountResponse
getAdministratorAccount
(GetAdministratorAccountRequest getAdministratorAccountRequest) Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.default GetCoverageStatisticsResponse
getCoverageStatistics
(Consumer<GetCoverageStatisticsRequest.Builder> getCoverageStatisticsRequest) Retrieves aggregated statistics for your account.default GetCoverageStatisticsResponse
getCoverageStatistics
(GetCoverageStatisticsRequest getCoverageStatisticsRequest) Retrieves aggregated statistics for your account.default GetDetectorResponse
getDetector
(Consumer<GetDetectorRequest.Builder> getDetectorRequest) Retrieves an Amazon GuardDuty detector specified by the detectorId.default GetDetectorResponse
getDetector
(GetDetectorRequest getDetectorRequest) Retrieves an Amazon GuardDuty detector specified by the detectorId.default GetFilterResponse
getFilter
(Consumer<GetFilterRequest.Builder> getFilterRequest) Returns the details of the filter specified by the filter name.default GetFilterResponse
getFilter
(GetFilterRequest getFilterRequest) Returns the details of the filter specified by the filter name.default GetFindingsResponse
getFindings
(Consumer<GetFindingsRequest.Builder> getFindingsRequest) Describes Amazon GuardDuty findings specified by finding IDs.default GetFindingsResponse
getFindings
(GetFindingsRequest getFindingsRequest) Describes Amazon GuardDuty findings specified by finding IDs.default GetFindingsStatisticsResponse
getFindingsStatistics
(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest) Lists Amazon GuardDuty findings statistics for the specified detector ID.default GetFindingsStatisticsResponse
getFindingsStatistics
(GetFindingsStatisticsRequest getFindingsStatisticsRequest) Lists Amazon GuardDuty findings statistics for the specified detector ID.default GetInvitationsCountResponse
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.default GetInvitationsCountResponse
getInvitationsCount
(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.default GetInvitationsCountResponse
getInvitationsCount
(GetInvitationsCountRequest getInvitationsCountRequest) Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.default GetIpSetResponse
getIPSet
(Consumer<GetIpSetRequest.Builder> getIpSetRequest) Retrieves the IPSet specified by theipSetId
.default GetIpSetResponse
getIPSet
(GetIpSetRequest getIpSetRequest) Retrieves the IPSet specified by theipSetId
.default GetMalwareScanSettingsResponse
getMalwareScanSettings
(Consumer<GetMalwareScanSettingsRequest.Builder> getMalwareScanSettingsRequest) Returns the details of the malware scan settings.default GetMalwareScanSettingsResponse
getMalwareScanSettings
(GetMalwareScanSettingsRequest getMalwareScanSettingsRequest) Returns the details of the malware scan settings.default GetMasterAccountResponse
getMasterAccount
(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) Deprecated.This operation is deprecated, use GetAdministratorAccount insteaddefault GetMasterAccountResponse
getMasterAccount
(GetMasterAccountRequest getMasterAccountRequest) Deprecated.This operation is deprecated, use GetAdministratorAccount insteaddefault GetMemberDetectorsResponse
getMemberDetectors
(Consumer<GetMemberDetectorsRequest.Builder> getMemberDetectorsRequest) Describes which data sources are enabled for the member account's detector.default GetMemberDetectorsResponse
getMemberDetectors
(GetMemberDetectorsRequest getMemberDetectorsRequest) Describes which data sources are enabled for the member account's detector.default GetMembersResponse
getMembers
(Consumer<GetMembersRequest.Builder> getMembersRequest) Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.default GetMembersResponse
getMembers
(GetMembersRequest getMembersRequest) Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.getOrganizationStatistics
(Consumer<GetOrganizationStatisticsRequest.Builder> getOrganizationStatisticsRequest) Retrieves how many active member accounts have each feature enabled within GuardDuty.getOrganizationStatistics
(GetOrganizationStatisticsRequest getOrganizationStatisticsRequest) Retrieves how many active member accounts have each feature enabled within GuardDuty.getRemainingFreeTrialDays
(Consumer<GetRemainingFreeTrialDaysRequest.Builder> getRemainingFreeTrialDaysRequest) Provides the number of days left for each data source used in the free trial period.getRemainingFreeTrialDays
(GetRemainingFreeTrialDaysRequest getRemainingFreeTrialDaysRequest) Provides the number of days left for each data source used in the free trial period.default GetThreatIntelSetResponse
getThreatIntelSet
(Consumer<GetThreatIntelSetRequest.Builder> getThreatIntelSetRequest) Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.default GetThreatIntelSetResponse
getThreatIntelSet
(GetThreatIntelSetRequest getThreatIntelSetRequest) Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.default GetUsageStatisticsResponse
getUsageStatistics
(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.default GetUsageStatisticsResponse
getUsageStatistics
(GetUsageStatisticsRequest getUsageStatisticsRequest) Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.default GetUsageStatisticsIterable
getUsageStatisticsPaginator
(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)
operation.default GetUsageStatisticsIterable
getUsageStatisticsPaginator
(GetUsageStatisticsRequest getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)
operation.default InviteMembersResponse
inviteMembers
(Consumer<InviteMembersRequest.Builder> inviteMembersRequest) Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API.default InviteMembersResponse
inviteMembers
(InviteMembersRequest inviteMembersRequest) Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API.default ListCoverageResponse
listCoverage
(Consumer<ListCoverageRequest.Builder> listCoverageRequest) Lists coverage details for your GuardDuty account.default ListCoverageResponse
listCoverage
(ListCoverageRequest listCoverageRequest) Lists coverage details for your GuardDuty account.default ListCoverageIterable
listCoveragePaginator
(Consumer<ListCoverageRequest.Builder> listCoverageRequest) This is a variant oflistCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)
operation.default ListCoverageIterable
listCoveragePaginator
(ListCoverageRequest listCoverageRequest) This is a variant oflistCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)
operation.default ListDetectorsResponse
Lists detectorIds of all the existing Amazon GuardDuty detector resources.default ListDetectorsResponse
listDetectors
(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest) Lists detectorIds of all the existing Amazon GuardDuty detector resources.default ListDetectorsResponse
listDetectors
(ListDetectorsRequest listDetectorsRequest) Lists detectorIds of all the existing Amazon GuardDuty detector resources.default ListDetectorsIterable
This is a variant oflistDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation.default ListDetectorsIterable
listDetectorsPaginator
(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest) This is a variant oflistDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation.default ListDetectorsIterable
listDetectorsPaginator
(ListDetectorsRequest listDetectorsRequest) This is a variant oflistDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation.default ListFiltersResponse
listFilters
(Consumer<ListFiltersRequest.Builder> listFiltersRequest) Returns a paginated list of the current filters.default ListFiltersResponse
listFilters
(ListFiltersRequest listFiltersRequest) Returns a paginated list of the current filters.default ListFiltersIterable
listFiltersPaginator
(Consumer<ListFiltersRequest.Builder> listFiltersRequest) This is a variant oflistFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)
operation.default ListFiltersIterable
listFiltersPaginator
(ListFiltersRequest listFiltersRequest) This is a variant oflistFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)
operation.default ListFindingsResponse
listFindings
(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Lists GuardDuty findings for the specified detector ID.default ListFindingsResponse
listFindings
(ListFindingsRequest listFindingsRequest) Lists GuardDuty findings for the specified detector ID.default ListFindingsIterable
listFindingsPaginator
(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
operation.default ListFindingsIterable
listFindingsPaginator
(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
operation.default ListInvitationsResponse
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.default ListInvitationsResponse
listInvitations
(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.default ListInvitationsResponse
listInvitations
(ListInvitationsRequest listInvitationsRequest) Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.default ListInvitationsIterable
This is a variant oflistInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation.default ListInvitationsIterable
listInvitationsPaginator
(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation.default ListInvitationsIterable
listInvitationsPaginator
(ListInvitationsRequest listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation.default ListIpSetsResponse
listIPSets
(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest) Lists the IPSets of the GuardDuty service specified by the detector ID.default ListIpSetsResponse
listIPSets
(ListIpSetsRequest listIpSetsRequest) Lists the IPSets of the GuardDuty service specified by the detector ID.default ListIPSetsIterable
listIPSetsPaginator
(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest) This is a variant oflistIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)
operation.default ListIPSetsIterable
listIPSetsPaginator
(ListIpSetsRequest listIpSetsRequest) This is a variant oflistIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)
operation.default ListMembersResponse
listMembers
(Consumer<ListMembersRequest.Builder> listMembersRequest) Lists details about all member accounts for the current GuardDuty administrator account.default ListMembersResponse
listMembers
(ListMembersRequest listMembersRequest) Lists details about all member accounts for the current GuardDuty administrator account.default ListMembersIterable
listMembersPaginator
(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
operation.default ListMembersIterable
listMembersPaginator
(ListMembersRequest listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
operation.listOrganizationAdminAccounts
(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) Lists the accounts designated as GuardDuty delegated administrators.listOrganizationAdminAccounts
(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) Lists the accounts designated as GuardDuty delegated administrators.listOrganizationAdminAccountsPaginator
(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) This is a variant oflistOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)
operation.listOrganizationAdminAccountsPaginator
(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) This is a variant oflistOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)
operation.listPublishingDestinations
(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest) Returns a list of publishing destinations associated with the specifieddetectorId
.listPublishingDestinations
(ListPublishingDestinationsRequest listPublishingDestinationsRequest) Returns a list of publishing destinations associated with the specifieddetectorId
.listPublishingDestinationsPaginator
(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest) This is a variant oflistPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)
operation.listPublishingDestinationsPaginator
(ListPublishingDestinationsRequest listPublishingDestinationsRequest) This is a variant oflistPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists tags for a resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists tags for a resource.default ListThreatIntelSetsResponse
listThreatIntelSets
(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest) Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.default ListThreatIntelSetsResponse
listThreatIntelSets
(ListThreatIntelSetsRequest listThreatIntelSetsRequest) Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.default ListThreatIntelSetsIterable
listThreatIntelSetsPaginator
(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest) This is a variant oflistThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation.default ListThreatIntelSetsIterable
listThreatIntelSetsPaginator
(ListThreatIntelSetsRequest listThreatIntelSetsRequest) This is a variant oflistThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StartMalwareScanResponse
startMalwareScan
(Consumer<StartMalwareScanRequest.Builder> startMalwareScanRequest) Initiates the malware scan.default StartMalwareScanResponse
startMalwareScan
(StartMalwareScanRequest startMalwareScanRequest) Initiates the malware scan.default StartMonitoringMembersResponse
startMonitoringMembers
(Consumer<StartMonitoringMembersRequest.Builder> startMonitoringMembersRequest) Turns on GuardDuty monitoring of the specified member accounts.default StartMonitoringMembersResponse
startMonitoringMembers
(StartMonitoringMembersRequest startMonitoringMembersRequest) Turns on GuardDuty monitoring of the specified member accounts.default StopMonitoringMembersResponse
stopMonitoringMembers
(Consumer<StopMonitoringMembersRequest.Builder> stopMonitoringMembersRequest) Stops GuardDuty monitoring for the specified member accounts.default StopMonitoringMembersResponse
stopMonitoringMembers
(StopMonitoringMembersRequest stopMonitoringMembersRequest) Stops GuardDuty monitoring for the specified member accounts.default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds tags to a resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds tags to a resource.default UnarchiveFindingsResponse
unarchiveFindings
(Consumer<UnarchiveFindingsRequest.Builder> unarchiveFindingsRequest) Unarchives GuardDuty findings specified by thefindingIds
.default UnarchiveFindingsResponse
unarchiveFindings
(UnarchiveFindingsRequest unarchiveFindingsRequest) Unarchives GuardDuty findings specified by thefindingIds
.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes tags from a resource.default UpdateDetectorResponse
updateDetector
(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest) Updates the GuardDuty detector specified by the detector ID.default UpdateDetectorResponse
updateDetector
(UpdateDetectorRequest updateDetectorRequest) Updates the GuardDuty detector specified by the detector ID.default UpdateFilterResponse
updateFilter
(Consumer<UpdateFilterRequest.Builder> updateFilterRequest) Updates the filter specified by the filter name.default UpdateFilterResponse
updateFilter
(UpdateFilterRequest updateFilterRequest) Updates the filter specified by the filter name.default UpdateFindingsFeedbackResponse
updateFindingsFeedback
(Consumer<UpdateFindingsFeedbackRequest.Builder> updateFindingsFeedbackRequest) Marks the specified GuardDuty findings as useful or not useful.default UpdateFindingsFeedbackResponse
updateFindingsFeedback
(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest) Marks the specified GuardDuty findings as useful or not useful.default UpdateIpSetResponse
updateIPSet
(Consumer<UpdateIpSetRequest.Builder> updateIpSetRequest) Updates the IPSet specified by the IPSet ID.default UpdateIpSetResponse
updateIPSet
(UpdateIpSetRequest updateIpSetRequest) Updates the IPSet specified by the IPSet ID.updateMalwareScanSettings
(Consumer<UpdateMalwareScanSettingsRequest.Builder> updateMalwareScanSettingsRequest) Updates the malware scan settings.updateMalwareScanSettings
(UpdateMalwareScanSettingsRequest updateMalwareScanSettingsRequest) Updates the malware scan settings.default UpdateMemberDetectorsResponse
updateMemberDetectors
(Consumer<UpdateMemberDetectorsRequest.Builder> updateMemberDetectorsRequest) Contains information on member accounts to be updated.default UpdateMemberDetectorsResponse
updateMemberDetectors
(UpdateMemberDetectorsRequest updateMemberDetectorsRequest) Contains information on member accounts to be updated.updateOrganizationConfiguration
(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) Configures the delegated administrator account with the provided values.updateOrganizationConfiguration
(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) Configures the delegated administrator account with the provided values.updatePublishingDestination
(Consumer<UpdatePublishingDestinationRequest.Builder> updatePublishingDestinationRequest) Updates information about the publishing destination specified by thedestinationId
.updatePublishingDestination
(UpdatePublishingDestinationRequest updatePublishingDestinationRequest) Updates information about the publishing destination specified by thedestinationId
.default UpdateThreatIntelSetResponse
updateThreatIntelSet
(Consumer<UpdateThreatIntelSetRequest.Builder> updateThreatIntelSetRequest) Updates the ThreatIntelSet specified by the ThreatIntelSet ID.default UpdateThreatIntelSetResponse
updateThreatIntelSet
(UpdateThreatIntelSetRequest updateThreatIntelSetRequest) Updates the ThreatIntelSet specified by the ThreatIntelSet ID.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptAdministratorInvitation
default AcceptAdministratorInvitationResponse acceptAdministratorInvitation(AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
- Parameters:
acceptAdministratorInvitationRequest
-- Returns:
- Result of the AcceptAdministratorInvitation operation returned by the service.
- See Also:
-
acceptAdministratorInvitation
default AcceptAdministratorInvitationResponse acceptAdministratorInvitation(Consumer<AcceptAdministratorInvitationRequest.Builder> acceptAdministratorInvitationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
This is a convenience which creates an instance of the
AcceptAdministratorInvitationRequest.Builder
avoiding the need to create one manually viaAcceptAdministratorInvitationRequest.builder()
- Parameters:
acceptAdministratorInvitationRequest
- AConsumer
that will call methods onAcceptAdministratorInvitationRequest.Builder
to create a request.- Returns:
- Result of the AcceptAdministratorInvitation operation returned by the service.
- See Also:
-
acceptInvitation
@Deprecated default AcceptInvitationResponse acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deprecated.This operation is deprecated, use AcceptAdministratorInvitation insteadAccepts the invitation to be monitored by a GuardDuty administrator account.
- Parameters:
acceptInvitationRequest
-- Returns:
- Result of the AcceptInvitation operation returned by the service.
- See Also:
-
acceptInvitation
@Deprecated default AcceptInvitationResponse acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deprecated.This operation is deprecated, use AcceptAdministratorInvitation insteadAccepts the invitation to be monitored by a GuardDuty administrator account.
This is a convenience which creates an instance of the
AcceptInvitationRequest.Builder
avoiding the need to create one manually viaAcceptInvitationRequest.builder()
- Parameters:
acceptInvitationRequest
- AConsumer
that will call methods onAcceptInvitationRequest.Builder
to create a request.- Returns:
- Result of the AcceptInvitation operation returned by the service.
- See Also:
-
archiveFindings
default ArchiveFindingsResponse archiveFindings(ArchiveFindingsRequest archiveFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Archives GuardDuty findings that are specified by the list of finding IDs.
Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.
- Parameters:
archiveFindingsRequest
-- Returns:
- Result of the ArchiveFindings operation returned by the service.
- See Also:
-
archiveFindings
default ArchiveFindingsResponse archiveFindings(Consumer<ArchiveFindingsRequest.Builder> archiveFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Archives GuardDuty findings that are specified by the list of finding IDs.
Only the administrator account can archive findings. Member accounts don't have permission to archive findings from their accounts.
This is a convenience which creates an instance of the
ArchiveFindingsRequest.Builder
avoiding the need to create one manually viaArchiveFindingsRequest.builder()
- Parameters:
archiveFindingsRequest
- AConsumer
that will call methods onArchiveFindingsRequest.Builder
to create a request.- Returns:
- Result of the ArchiveFindings operation returned by the service.
- See Also:
-
createDetector
default CreateDetectorResponse createDetector(CreateDetectorRequest createDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a single GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.
-
When you don't specify any
features
, with an exception toRUNTIME_MONITORING
, all the optional features are enabled by default. -
When you specify some of the
features
, any feature that is not specified in the API call gets enabled by default, with an exception toRUNTIME_MONITORING
.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
createDetectorRequest
-- Returns:
- Result of the CreateDetector operation returned by the service.
- See Also:
-
-
createDetector
default CreateDetectorResponse createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a single GuardDuty detector. A detector is a resource that represents the GuardDuty service. To start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only one detector per account per Region. All data sources are enabled in a new detector by default.
-
When you don't specify any
features
, with an exception toRUNTIME_MONITORING
, all the optional features are enabled by default. -
When you specify some of the
features
, any feature that is not specified in the API call gets enabled by default, with an exception toRUNTIME_MONITORING
.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
CreateDetectorRequest.Builder
avoiding the need to create one manually viaCreateDetectorRequest.builder()
- Parameters:
createDetectorRequest
- AConsumer
that will call methods onCreateDetectorRequest.Builder
to create a request.- Returns:
- Result of the CreateDetector operation returned by the service.
- See Also:
-
-
createFilter
default CreateFilterResponse createFilter(CreateFilterRequest createFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web Services account per Region is 100. For more information, see Quotas for GuardDuty.
- Parameters:
createFilterRequest
-- Returns:
- Result of the CreateFilter operation returned by the service.
- See Also:
-
createFilter
default CreateFilterResponse createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web Services account per Region is 100. For more information, see Quotas for GuardDuty.
This is a convenience which creates an instance of the
CreateFilterRequest.Builder
avoiding the need to create one manually viaCreateFilterRequest.builder()
- Parameters:
createFilterRequest
- AConsumer
that will call methods onCreateFilterRequest.Builder
to create a request.- Returns:
- Result of the CreateFilter operation returned by the service.
- See Also:
-
createIPSet
default CreateIpSetResponse createIPSet(CreateIpSetRequest createIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.
- Parameters:
createIpSetRequest
-- Returns:
- Result of the CreateIPSet operation returned by the service.
- See Also:
-
createIPSet
default CreateIpSetResponse createIPSet(Consumer<CreateIpSetRequest.Builder> createIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.
This is a convenience which creates an instance of the
CreateIpSetRequest.Builder
avoiding the need to create one manually viaCreateIpSetRequest.builder()
- Parameters:
createIpSetRequest
- AConsumer
that will call methods onCreateIpSetRequest.Builder
to create a request.- Returns:
- Result of the CreateIPSet operation returned by the service.
- See Also:
-
createMembers
default CreateMembersResponse createMembers(CreateMembersRequest createMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.
As a delegated administrator, using
CreateMembers
will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member.When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration.
If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
- Parameters:
createMembersRequest
-- Returns:
- Result of the CreateMembers operation returned by the service.
- See Also:
-
createMembers
default CreateMembersResponse createMembers(Consumer<CreateMembersRequest.Builder> createMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.
As a delegated administrator, using
CreateMembers
will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member.When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration.
If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
This is a convenience which creates an instance of the
CreateMembersRequest.Builder
avoiding the need to create one manually viaCreateMembersRequest.builder()
- Parameters:
createMembersRequest
- AConsumer
that will call methods onCreateMembersRequest.Builder
to create a request.- Returns:
- Result of the CreateMembers operation returned by the service.
- See Also:
-
createPublishingDestination
default CreatePublishingDestinationResponse createPublishingDestination(CreatePublishingDestinationRequest createPublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.
- Parameters:
createPublishingDestinationRequest
-- Returns:
- Result of the CreatePublishingDestination operation returned by the service.
- See Also:
-
createPublishingDestination
default CreatePublishingDestinationResponse createPublishingDestination(Consumer<CreatePublishingDestinationRequest.Builder> createPublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.
This is a convenience which creates an instance of the
CreatePublishingDestinationRequest.Builder
avoiding the need to create one manually viaCreatePublishingDestinationRequest.builder()
- Parameters:
createPublishingDestinationRequest
- AConsumer
that will call methods onCreatePublishingDestinationRequest.Builder
to create a request.- Returns:
- Result of the CreatePublishingDestination operation returned by the service.
- See Also:
-
createSampleFindings
default CreateSampleFindingsResponse createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for
findingTypes
, the API generates sample findings of all supported finding types.- Parameters:
createSampleFindingsRequest
-- Returns:
- Result of the CreateSampleFindings operation returned by the service.
- See Also:
-
createSampleFindings
default CreateSampleFindingsResponse createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for
findingTypes
, the API generates sample findings of all supported finding types.
This is a convenience which creates an instance of the
CreateSampleFindingsRequest.Builder
avoiding the need to create one manually viaCreateSampleFindingsRequest.builder()
- Parameters:
createSampleFindingsRequest
- AConsumer
that will call methods onCreateSampleFindingsRequest.Builder
to create a request.- Returns:
- Result of the CreateSampleFindings operation returned by the service.
- See Also:
-
createThreatIntelSet
default CreateThreatIntelSetResponse createThreatIntelSet(CreateThreatIntelSetRequest createThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.
- Parameters:
createThreatIntelSetRequest
-- Returns:
- Result of the CreateThreatIntelSet operation returned by the service.
- See Also:
-
createThreatIntelSet
default CreateThreatIntelSetResponse createThreatIntelSet(Consumer<CreateThreatIntelSetRequest.Builder> createThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.
This is a convenience which creates an instance of the
CreateThreatIntelSetRequest.Builder
avoiding the need to create one manually viaCreateThreatIntelSetRequest.builder()
- Parameters:
createThreatIntelSetRequest
- AConsumer
that will call methods onCreateThreatIntelSetRequest.Builder
to create a request.- Returns:
- Result of the CreateThreatIntelSet operation returned by the service.
- See Also:
-
declineInvitations
default DeclineInvitationsResponse declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
- Parameters:
declineInvitationsRequest
-- Returns:
- Result of the DeclineInvitations operation returned by the service.
- See Also:
-
declineInvitations
default DeclineInvitationsResponse declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
This is a convenience which creates an instance of the
DeclineInvitationsRequest.Builder
avoiding the need to create one manually viaDeclineInvitationsRequest.builder()
- Parameters:
declineInvitationsRequest
- AConsumer
that will call methods onDeclineInvitationsRequest.Builder
to create a request.- Returns:
- Result of the DeclineInvitations operation returned by the service.
- See Also:
-
deleteDetector
default DeleteDetectorResponse deleteDetector(DeleteDetectorRequest deleteDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes an Amazon GuardDuty detector that is specified by the detector ID.
- Parameters:
deleteDetectorRequest
-- Returns:
- Result of the DeleteDetector operation returned by the service.
- See Also:
-
deleteDetector
default DeleteDetectorResponse deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes an Amazon GuardDuty detector that is specified by the detector ID.
This is a convenience which creates an instance of the
DeleteDetectorRequest.Builder
avoiding the need to create one manually viaDeleteDetectorRequest.builder()
- Parameters:
deleteDetectorRequest
- AConsumer
that will call methods onDeleteDetectorRequest.Builder
to create a request.- Returns:
- Result of the DeleteDetector operation returned by the service.
- See Also:
-
deleteFilter
default DeleteFilterResponse deleteFilter(DeleteFilterRequest deleteFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the filter specified by the filter name.
- Parameters:
deleteFilterRequest
-- Returns:
- Result of the DeleteFilter operation returned by the service.
- See Also:
-
deleteFilter
default DeleteFilterResponse deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the filter specified by the filter name.
This is a convenience which creates an instance of the
DeleteFilterRequest.Builder
avoiding the need to create one manually viaDeleteFilterRequest.builder()
- Parameters:
deleteFilterRequest
- AConsumer
that will call methods onDeleteFilterRequest.Builder
to create a request.- Returns:
- Result of the DeleteFilter operation returned by the service.
- See Also:
-
deleteIPSet
default DeleteIpSetResponse deleteIPSet(DeleteIpSetRequest deleteIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the IPSet specified by the
ipSetId
. IPSets are called trusted IP lists in the console user interface.- Parameters:
deleteIpSetRequest
-- Returns:
- Result of the DeleteIPSet operation returned by the service.
- See Also:
-
deleteIPSet
default DeleteIpSetResponse deleteIPSet(Consumer<DeleteIpSetRequest.Builder> deleteIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the IPSet specified by the
ipSetId
. IPSets are called trusted IP lists in the console user interface.
This is a convenience which creates an instance of the
DeleteIpSetRequest.Builder
avoiding the need to create one manually viaDeleteIpSetRequest.builder()
- Parameters:
deleteIpSetRequest
- AConsumer
that will call methods onDeleteIpSetRequest.Builder
to create a request.- Returns:
- Result of the DeleteIPSet operation returned by the service.
- See Also:
-
deleteInvitations
default DeleteInvitationsResponse deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
- Parameters:
deleteInvitationsRequest
-- Returns:
- Result of the DeleteInvitations operation returned by the service.
- See Also:
-
deleteInvitations
default DeleteInvitationsResponse deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
This is a convenience which creates an instance of the
DeleteInvitationsRequest.Builder
avoiding the need to create one manually viaDeleteInvitationsRequest.builder()
- Parameters:
deleteInvitationsRequest
- AConsumer
that will call methods onDeleteInvitationsRequest.Builder
to create a request.- Returns:
- Result of the DeleteInvitations operation returned by the service.
- See Also:
-
deleteMembers
default DeleteMembersResponse deleteMembers(DeleteMembersRequest deleteMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.- Parameters:
deleteMembersRequest
-- Returns:
- Result of the DeleteMembers operation returned by the service.
- See Also:
-
deleteMembers
default DeleteMembersResponse deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to disable GuardDuty for a member account in your organization.
This is a convenience which creates an instance of the
DeleteMembersRequest.Builder
avoiding the need to create one manually viaDeleteMembersRequest.builder()
- Parameters:
deleteMembersRequest
- AConsumer
that will call methods onDeleteMembersRequest.Builder
to create a request.- Returns:
- Result of the DeleteMembers operation returned by the service.
- See Also:
-
deletePublishingDestination
default DeletePublishingDestinationResponse deletePublishingDestination(DeletePublishingDestinationRequest deletePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the publishing definition with the specified
destinationId
.- Parameters:
deletePublishingDestinationRequest
-- Returns:
- Result of the DeletePublishingDestination operation returned by the service.
- See Also:
-
deletePublishingDestination
default DeletePublishingDestinationResponse deletePublishingDestination(Consumer<DeletePublishingDestinationRequest.Builder> deletePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the publishing definition with the specified
destinationId
.
This is a convenience which creates an instance of the
DeletePublishingDestinationRequest.Builder
avoiding the need to create one manually viaDeletePublishingDestinationRequest.builder()
- Parameters:
deletePublishingDestinationRequest
- AConsumer
that will call methods onDeletePublishingDestinationRequest.Builder
to create a request.- Returns:
- Result of the DeletePublishingDestination operation returned by the service.
- See Also:
-
deleteThreatIntelSet
default DeleteThreatIntelSetResponse deleteThreatIntelSet(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
- Parameters:
deleteThreatIntelSetRequest
-- Returns:
- Result of the DeleteThreatIntelSet operation returned by the service.
- See Also:
-
deleteThreatIntelSet
default DeleteThreatIntelSetResponse deleteThreatIntelSet(Consumer<DeleteThreatIntelSetRequest.Builder> deleteThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
This is a convenience which creates an instance of the
DeleteThreatIntelSetRequest.Builder
avoiding the need to create one manually viaDeleteThreatIntelSetRequest.builder()
- Parameters:
deleteThreatIntelSetRequest
- AConsumer
that will call methods onDeleteThreatIntelSetRequest.Builder
to create a request.- Returns:
- Result of the DeleteThreatIntelSet operation returned by the service.
- See Also:
-
describeMalwareScans
default DescribeMalwareScansResponse describeMalwareScans(DescribeMalwareScansRequest describeMalwareScansRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException 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.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
describeMalwareScansRequest
-- Returns:
- Result of the DescribeMalwareScans operation returned by the service.
- See Also:
-
describeMalwareScans
default DescribeMalwareScansResponse describeMalwareScans(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException 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.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
DescribeMalwareScansRequest.Builder
avoiding the need to create one manually viaDescribeMalwareScansRequest.builder()
- Parameters:
describeMalwareScansRequest
- AConsumer
that will call methods onDescribeMalwareScansRequest.Builder
to create a request.- Returns:
- Result of the DescribeMalwareScans operation returned by the service.
- See Also:
-
describeMalwareScansPaginator
default DescribeMalwareScansIterable describeMalwareScansPaginator(DescribeMalwareScansRequest describeMalwareScansRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client.describeMalwareScansPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client .describeMalwareScansPaginator(request); for (software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client.describeMalwareScansPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation.- Parameters:
describeMalwareScansRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeMalwareScansPaginator
default DescribeMalwareScansIterable describeMalwareScansPaginator(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client.describeMalwareScansPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client .describeMalwareScansPaginator(request); for (software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client.describeMalwareScansPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation.
This is a convenience which creates an instance of the
DescribeMalwareScansRequest.Builder
avoiding the need to create one manually viaDescribeMalwareScansRequest.builder()
- Parameters:
describeMalwareScansRequest
- AConsumer
that will call methods onDescribeMalwareScansRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeOrganizationConfiguration
default DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns information about the account selected as the delegated administrator for GuardDuty.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
describeOrganizationConfigurationRequest
-- Returns:
- Result of the DescribeOrganizationConfiguration operation returned by the service.
- See Also:
-
describeOrganizationConfiguration
default DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns information about the account selected as the delegated administrator for GuardDuty.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
DescribeOrganizationConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeOrganizationConfigurationRequest.builder()
- Parameters:
describeOrganizationConfigurationRequest
- AConsumer
that will call methods onDescribeOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DescribeOrganizationConfiguration operation returned by the service.
- See Also:
-
describeOrganizationConfigurationPaginator
default DescribeOrganizationConfigurationIterable describeOrganizationConfigurationPaginator(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationIterable responses = client.describeOrganizationConfigurationPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationIterable responses = client .describeOrganizationConfigurationPaginator(request); for (software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationIterable responses = client.describeOrganizationConfigurationPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)
operation.- Parameters:
describeOrganizationConfigurationRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeOrganizationConfigurationPaginator
default DescribeOrganizationConfigurationIterable describeOrganizationConfigurationPaginator(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationIterable responses = client.describeOrganizationConfigurationPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationIterable responses = client .describeOrganizationConfigurationPaginator(request); for (software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationIterable responses = client.describeOrganizationConfigurationPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)
operation.
This is a convenience which creates an instance of the
DescribeOrganizationConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeOrganizationConfigurationRequest.builder()
- Parameters:
describeOrganizationConfigurationRequest
- AConsumer
that will call methods onDescribeOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describePublishingDestination
default DescribePublishingDestinationResponse describePublishingDestination(DescribePublishingDestinationRequest describePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns information about the publishing destination specified by the provided
destinationId
.- Parameters:
describePublishingDestinationRequest
-- Returns:
- Result of the DescribePublishingDestination operation returned by the service.
- See Also:
-
describePublishingDestination
default DescribePublishingDestinationResponse describePublishingDestination(Consumer<DescribePublishingDestinationRequest.Builder> describePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns information about the publishing destination specified by the provided
destinationId
.
This is a convenience which creates an instance of the
DescribePublishingDestinationRequest.Builder
avoiding the need to create one manually viaDescribePublishingDestinationRequest.builder()
- Parameters:
describePublishingDestinationRequest
- AConsumer
that will call methods onDescribePublishingDestinationRequest.Builder
to create a request.- Returns:
- Result of the DescribePublishingDestination operation returned by the service.
- See Also:
-
disableOrganizationAdminAccount
default DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management account can run this API operation.
- Parameters:
disableOrganizationAdminAccountRequest
-- Returns:
- Result of the DisableOrganizationAdminAccount operation returned by the service.
- See Also:
-
disableOrganizationAdminAccount
default DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management account can run this API operation.
This is a convenience which creates an instance of the
DisableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaDisableOrganizationAdminAccountRequest.builder()
- Parameters:
disableOrganizationAdminAccountRequest
- AConsumer
that will call methods onDisableOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the DisableOrganizationAdminAccount operation returned by the service.
- See Also:
-
disassociateFromAdministratorAccount
default DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Disassociates the current GuardDuty member account from its administrator account.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to disable GuardDuty in a member account.- Parameters:
disassociateFromAdministratorAccountRequest
-- Returns:
- Result of the DisassociateFromAdministratorAccount operation returned by the service.
- See Also:
-
disassociateFromAdministratorAccount
default DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Disassociates the current GuardDuty member account from its administrator account.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to disable GuardDuty in a member account.
This is a convenience which creates an instance of the
DisassociateFromAdministratorAccountRequest.Builder
avoiding the need to create one manually viaDisassociateFromAdministratorAccountRequest.builder()
- Parameters:
disassociateFromAdministratorAccountRequest
- AConsumer
that will call methods onDisassociateFromAdministratorAccountRequest.Builder
to create a request.- Returns:
- Result of the DisassociateFromAdministratorAccount operation returned by the service.
- See Also:
-
disassociateFromMasterAccount
@Deprecated default DisassociateFromMasterAccountResponse disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deprecated.This operation is deprecated, use DisassociateFromAdministratorAccount insteadDisassociates the current GuardDuty member account from its administrator account.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
- Parameters:
disassociateFromMasterAccountRequest
-- Returns:
- Result of the DisassociateFromMasterAccount operation returned by the service.
- See Also:
-
disassociateFromMasterAccount
@Deprecated default DisassociateFromMasterAccountResponse disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deprecated.This operation is deprecated, use DisassociateFromAdministratorAccount insteadDisassociates the current GuardDuty member account from its administrator account.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
This is a convenience which creates an instance of the
DisassociateFromMasterAccountRequest.Builder
avoiding the need to create one manually viaDisassociateFromMasterAccountRequest.builder()
- Parameters:
disassociateFromMasterAccountRequest
- AConsumer
that will call methods onDisassociateFromMasterAccountRequest.Builder
to create a request.- Returns:
- Result of the DisassociateFromMasterAccount operation returned by the service.
- See Also:
-
disassociateMembers
default DisassociateMembersResponse disassociateMembers(DisassociateMembersRequest disassociateMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to disassociate a member account before removing them from your organization.If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
- Parameters:
disassociateMembersRequest
-- Returns:
- Result of the DisassociateMembers operation returned by the service.
- See Also:
-
disassociateMembers
default DisassociateMembersResponse disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs.
When you disassociate an invited member from a GuardDuty delegated administrator, the member account details obtained from the CreateMembers API, including the associated email addresses, are retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to disassociate a member account before removing them from your organization.If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
This is a convenience which creates an instance of the
DisassociateMembersRequest.Builder
avoiding the need to create one manually viaDisassociateMembersRequest.builder()
- Parameters:
disassociateMembersRequest
- AConsumer
that will call methods onDisassociateMembersRequest.Builder
to create a request.- Returns:
- Result of the DisassociateMembers operation returned by the service.
- See Also:
-
enableOrganizationAdminAccount
default EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.
- Parameters:
enableOrganizationAdminAccountRequest
-- Returns:
- Result of the EnableOrganizationAdminAccount operation returned by the service.
- See Also:
-
enableOrganizationAdminAccount
default EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.
This is a convenience which creates an instance of the
EnableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaEnableOrganizationAdminAccountRequest.builder()
- Parameters:
enableOrganizationAdminAccountRequest
- AConsumer
that will call methods onEnableOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the EnableOrganizationAdminAccount operation returned by the service.
- See Also:
-
getAdministratorAccount
default GetAdministratorAccountResponse getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.
If the organization's management account or a delegated administrator runs this API, it will return success (
HTTP 200
) but no content.- Parameters:
getAdministratorAccountRequest
-- Returns:
- Result of the GetAdministratorAccount operation returned by the service.
- See Also:
-
getAdministratorAccount
default GetAdministratorAccountResponse getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.
If the organization's management account or a delegated administrator runs this API, it will return success (
HTTP 200
) but no content.
This is a convenience which creates an instance of the
GetAdministratorAccountRequest.Builder
avoiding the need to create one manually viaGetAdministratorAccountRequest.builder()
- Parameters:
getAdministratorAccountRequest
- AConsumer
that will call methods onGetAdministratorAccountRequest.Builder
to create a request.- Returns:
- Result of the GetAdministratorAccount operation returned by the service.
- See Also:
-
getCoverageStatistics
default GetCoverageStatisticsResponse getCoverageStatistics(GetCoverageStatisticsRequest getCoverageStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled Runtime Monitoring and have the GuardDuty security agent running on their resources.
- Parameters:
getCoverageStatisticsRequest
-- Returns:
- Result of the GetCoverageStatistics operation returned by the service.
- See Also:
-
getCoverageStatistics
default GetCoverageStatisticsResponse getCoverageStatistics(Consumer<GetCoverageStatisticsRequest.Builder> getCoverageStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled Runtime Monitoring and have the GuardDuty security agent running on their resources.
This is a convenience which creates an instance of the
GetCoverageStatisticsRequest.Builder
avoiding the need to create one manually viaGetCoverageStatisticsRequest.builder()
- Parameters:
getCoverageStatisticsRequest
- AConsumer
that will call methods onGetCoverageStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetCoverageStatistics operation returned by the service.
- See Also:
-
getDetector
default GetDetectorResponse getDetector(GetDetectorRequest getDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves an Amazon GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
getDetectorRequest
-- Returns:
- Result of the GetDetector operation returned by the service.
- See Also:
-
getDetector
default GetDetectorResponse getDetector(Consumer<GetDetectorRequest.Builder> getDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves an Amazon GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
GetDetectorRequest.Builder
avoiding the need to create one manually viaGetDetectorRequest.builder()
- Parameters:
getDetectorRequest
- AConsumer
that will call methods onGetDetectorRequest.Builder
to create a request.- Returns:
- Result of the GetDetector operation returned by the service.
- See Also:
-
getFilter
default GetFilterResponse getFilter(GetFilterRequest getFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns the details of the filter specified by the filter name.
- Parameters:
getFilterRequest
-- Returns:
- Result of the GetFilter operation returned by the service.
- See Also:
-
getFilter
default GetFilterResponse getFilter(Consumer<GetFilterRequest.Builder> getFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns the details of the filter specified by the filter name.
This is a convenience which creates an instance of the
GetFilterRequest.Builder
avoiding the need to create one manually viaGetFilterRequest.builder()
- Parameters:
getFilterRequest
- AConsumer
that will call methods onGetFilterRequest.Builder
to create a request.- Returns:
- Result of the GetFilter operation returned by the service.
- See Also:
-
getFindings
default GetFindingsResponse getFindings(GetFindingsRequest getFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Describes Amazon GuardDuty findings specified by finding IDs.
- Parameters:
getFindingsRequest
-- Returns:
- Result of the GetFindings operation returned by the service.
- See Also:
-
getFindings
default GetFindingsResponse getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Describes Amazon GuardDuty findings specified by finding IDs.
This is a convenience which creates an instance of the
GetFindingsRequest.Builder
avoiding the need to create one manually viaGetFindingsRequest.builder()
- Parameters:
getFindingsRequest
- AConsumer
that will call methods onGetFindingsRequest.Builder
to create a request.- Returns:
- Result of the GetFindings operation returned by the service.
- See Also:
-
getFindingsStatistics
default GetFindingsStatisticsResponse getFindingsStatistics(GetFindingsStatisticsRequest getFindingsStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists Amazon GuardDuty findings statistics for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
- Parameters:
getFindingsStatisticsRequest
-- Returns:
- Result of the GetFindingsStatistics operation returned by the service.
- See Also:
-
getFindingsStatistics
default GetFindingsStatisticsResponse getFindingsStatistics(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists Amazon GuardDuty findings statistics for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
GetFindingsStatisticsRequest.Builder
avoiding the need to create one manually viaGetFindingsStatisticsRequest.builder()
- Parameters:
getFindingsStatisticsRequest
- AConsumer
that will call methods onGetFindingsStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetFindingsStatistics operation returned by the service.
- See Also:
-
getIPSet
default GetIpSetResponse getIPSet(GetIpSetRequest getIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves the IPSet specified by the
ipSetId
.- Parameters:
getIpSetRequest
-- Returns:
- Result of the GetIPSet operation returned by the service.
- See Also:
-
getIPSet
default GetIpSetResponse getIPSet(Consumer<GetIpSetRequest.Builder> getIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves the IPSet specified by the
ipSetId
.
This is a convenience which creates an instance of the
GetIpSetRequest.Builder
avoiding the need to create one manually viaGetIpSetRequest.builder()
- Parameters:
getIpSetRequest
- AConsumer
that will call methods onGetIpSetRequest.Builder
to create a request.- Returns:
- Result of the GetIPSet operation returned by the service.
- See Also:
-
getInvitationsCount
default GetInvitationsCountResponse getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
- Parameters:
getInvitationsCountRequest
-- Returns:
- Result of the GetInvitationsCount operation returned by the service.
- See Also:
-
getInvitationsCount
default GetInvitationsCountResponse getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
This is a convenience which creates an instance of the
GetInvitationsCountRequest.Builder
avoiding the need to create one manually viaGetInvitationsCountRequest.builder()
- Parameters:
getInvitationsCountRequest
- AConsumer
that will call methods onGetInvitationsCountRequest.Builder
to create a request.- Returns:
- Result of the GetInvitationsCount operation returned by the service.
- See Also:
-
getInvitationsCount
default GetInvitationsCountResponse getInvitationsCount() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyExceptionReturns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
- Returns:
- Result of the GetInvitationsCount operation returned by the service.
- See Also:
-
getMalwareScanSettings
default GetMalwareScanSettingsResponse getMalwareScanSettings(GetMalwareScanSettingsRequest getMalwareScanSettingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns the details of the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
getMalwareScanSettingsRequest
-- Returns:
- Result of the GetMalwareScanSettings operation returned by the service.
- See Also:
-
getMalwareScanSettings
default GetMalwareScanSettingsResponse getMalwareScanSettings(Consumer<GetMalwareScanSettingsRequest.Builder> getMalwareScanSettingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns the details of the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
GetMalwareScanSettingsRequest.Builder
avoiding the need to create one manually viaGetMalwareScanSettingsRequest.builder()
- Parameters:
getMalwareScanSettingsRequest
- AConsumer
that will call methods onGetMalwareScanSettingsRequest.Builder
to create a request.- Returns:
- Result of the GetMalwareScanSettings operation returned by the service.
- See Also:
-
getMasterAccount
@Deprecated default GetMasterAccountResponse getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deprecated.This operation is deprecated, use GetAdministratorAccount insteadProvides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
- Parameters:
getMasterAccountRequest
-- Returns:
- Result of the GetMasterAccount operation returned by the service.
- See Also:
-
getMasterAccount
@Deprecated default GetMasterAccountResponse getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Deprecated.This operation is deprecated, use GetAdministratorAccount insteadProvides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
This is a convenience which creates an instance of the
GetMasterAccountRequest.Builder
avoiding the need to create one manually viaGetMasterAccountRequest.builder()
- Parameters:
getMasterAccountRequest
- AConsumer
that will call methods onGetMasterAccountRequest.Builder
to create a request.- Returns:
- Result of the GetMasterAccount operation returned by the service.
- See Also:
-
getMemberDetectors
default GetMemberDetectorsResponse getMemberDetectors(GetMemberDetectorsRequest getMemberDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Describes which data sources are enabled for the member account's detector.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
getMemberDetectorsRequest
-- Returns:
- Result of the GetMemberDetectors operation returned by the service.
- See Also:
-
getMemberDetectors
default GetMemberDetectorsResponse getMemberDetectors(Consumer<GetMemberDetectorsRequest.Builder> getMemberDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Describes which data sources are enabled for the member account's detector.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
GetMemberDetectorsRequest.Builder
avoiding the need to create one manually viaGetMemberDetectorsRequest.builder()
- Parameters:
getMemberDetectorsRequest
- AConsumer
that will call methods onGetMemberDetectorsRequest.Builder
to create a request.- Returns:
- Result of the GetMemberDetectors operation returned by the service.
- See Also:
-
getMembers
default GetMembersResponse getMembers(GetMembersRequest getMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
- Parameters:
getMembersRequest
-- Returns:
- Result of the GetMembers operation returned by the service.
- See Also:
-
getMembers
default GetMembersResponse getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
This is a convenience which creates an instance of the
GetMembersRequest.Builder
avoiding the need to create one manually viaGetMembersRequest.builder()
- Parameters:
getMembersRequest
- AConsumer
that will call methods onGetMembersRequest.Builder
to create a request.- Returns:
- Result of the GetMembers operation returned by the service.
- See Also:
-
getOrganizationStatistics
default GetOrganizationStatisticsResponse getOrganizationStatistics(GetOrganizationStatisticsRequest getOrganizationStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves how many active member accounts have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API.
When you create a new organization, it might take up to 24 hours to generate the statistics for the entire organization.
- Parameters:
getOrganizationStatisticsRequest
-- Returns:
- Result of the GetOrganizationStatistics operation returned by the service.
- See Also:
-
getOrganizationStatistics
default GetOrganizationStatisticsResponse getOrganizationStatistics(Consumer<GetOrganizationStatisticsRequest.Builder> getOrganizationStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves how many active member accounts have each feature enabled within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API.
When you create a new organization, it might take up to 24 hours to generate the statistics for the entire organization.
This is a convenience which creates an instance of the
GetOrganizationStatisticsRequest.Builder
avoiding the need to create one manually viaGetOrganizationStatisticsRequest.builder()
- Parameters:
getOrganizationStatisticsRequest
- AConsumer
that will call methods onGetOrganizationStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetOrganizationStatistics operation returned by the service.
- See Also:
-
getRemainingFreeTrialDays
default GetRemainingFreeTrialDaysResponse getRemainingFreeTrialDays(GetRemainingFreeTrialDaysRequest getRemainingFreeTrialDaysRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Provides the number of days left for each data source used in the free trial period.
- Parameters:
getRemainingFreeTrialDaysRequest
-- Returns:
- Result of the GetRemainingFreeTrialDays operation returned by the service.
- See Also:
-
getRemainingFreeTrialDays
default GetRemainingFreeTrialDaysResponse getRemainingFreeTrialDays(Consumer<GetRemainingFreeTrialDaysRequest.Builder> getRemainingFreeTrialDaysRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Provides the number of days left for each data source used in the free trial period.
This is a convenience which creates an instance of the
GetRemainingFreeTrialDaysRequest.Builder
avoiding the need to create one manually viaGetRemainingFreeTrialDaysRequest.builder()
- Parameters:
getRemainingFreeTrialDaysRequest
- AConsumer
that will call methods onGetRemainingFreeTrialDaysRequest.Builder
to create a request.- Returns:
- Result of the GetRemainingFreeTrialDays operation returned by the service.
- See Also:
-
getThreatIntelSet
default GetThreatIntelSetResponse getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
- Parameters:
getThreatIntelSetRequest
-- Returns:
- Result of the GetThreatIntelSet operation returned by the service.
- See Also:
-
getThreatIntelSet
default GetThreatIntelSetResponse getThreatIntelSet(Consumer<GetThreatIntelSetRequest.Builder> getThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
This is a convenience which creates an instance of the
GetThreatIntelSetRequest.Builder
avoiding the need to create one manually viaGetThreatIntelSetRequest.builder()
- Parameters:
getThreatIntelSetRequest
- AConsumer
that will call methods onGetThreatIntelSetRequest.Builder
to create a request.- Returns:
- Result of the GetThreatIntelSet operation returned by the service.
- See Also:
-
getUsageStatistics
default GetUsageStatisticsResponse getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.
- Parameters:
getUsageStatisticsRequest
-- Returns:
- Result of the GetUsageStatistics operation returned by the service.
- See Also:
-
getUsageStatistics
default GetUsageStatisticsResponse getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID. For newly enabled detectors or data sources, the cost returned will include only the usage so far under 30 days. This may differ from the cost metrics in the console, which project usage over 30 days to provide a monthly cost estimate. For more information, see Understanding How Usage Costs are Calculated.
This is a convenience which creates an instance of the
GetUsageStatisticsRequest.Builder
avoiding the need to create one manually viaGetUsageStatisticsRequest.builder()
- Parameters:
getUsageStatisticsRequest
- AConsumer
that will call methods onGetUsageStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetUsageStatistics operation returned by the service.
- See Also:
-
getUsageStatisticsPaginator
default GetUsageStatisticsIterable getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
getUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client .getUsageStatisticsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)
operation.- Parameters:
getUsageStatisticsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getUsageStatisticsPaginator
default GetUsageStatisticsIterable getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
getUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client .getUsageStatisticsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)
operation.
This is a convenience which creates an instance of the
GetUsageStatisticsRequest.Builder
avoiding the need to create one manually viaGetUsageStatisticsRequest.builder()
- Parameters:
getUsageStatisticsRequest
- AConsumer
that will call methods onGetUsageStatisticsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
inviteMembers
default InviteMembersResponse inviteMembers(InviteMembersRequest inviteMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty environment, this step is not needed. For more information, see Managing accounts with organizations.
To invite Amazon Web Services accounts, the first step is to ensure that GuardDuty has been enabled in the potential member accounts. You can now invoke this API to add accounts by invitation. The invited accounts can either accept or decline the invitation from their GuardDuty accounts. Each invited Amazon Web Services account can choose to accept the invitation from only one Amazon Web Services account. For more information, see Managing GuardDuty accounts by invitation.
After the invite has been accepted and you choose to disassociate a member account (by using DisassociateMembers) from your account, the details of the member account obtained by invoking CreateMembers, including the associated email addresses, will be retained. This is done so that you can invoke InviteMembers without the need to invoke CreateMembers again. To remove the details associated with a member account, you must also invoke DeleteMembers.
If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
- Parameters:
inviteMembersRequest
-- Returns:
- Result of the InviteMembers operation returned by the service.
- See Also:
-
inviteMembers
default InviteMembersResponse inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services account that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty environment, this step is not needed. For more information, see Managing accounts with organizations.
To invite Amazon Web Services accounts, the first step is to ensure that GuardDuty has been enabled in the potential member accounts. You can now invoke this API to add accounts by invitation. The invited accounts can either accept or decline the invitation from their GuardDuty accounts. Each invited Amazon Web Services account can choose to accept the invitation from only one Amazon Web Services account. For more information, see Managing GuardDuty accounts by invitation.
After the invite has been accepted and you choose to disassociate a member account (by using DisassociateMembers) from your account, the details of the member account obtained by invoking CreateMembers, including the associated email addresses, will be retained. This is done so that you can invoke InviteMembers without the need to invoke CreateMembers again. To remove the details associated with a member account, you must also invoke DeleteMembers.
If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
This is a convenience which creates an instance of the
InviteMembersRequest.Builder
avoiding the need to create one manually viaInviteMembersRequest.builder()
- Parameters:
inviteMembersRequest
- AConsumer
that will call methods onInviteMembersRequest.Builder
to create a request.- Returns:
- Result of the InviteMembers operation returned by the service.
- See Also:
-
listCoverage
default ListCoverageResponse listCoverage(ListCoverageRequest listCoverageRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.
Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources.
- Parameters:
listCoverageRequest
-- Returns:
- Result of the ListCoverage operation returned by the service.
- See Also:
-
listCoverage
default ListCoverageResponse listCoverage(Consumer<ListCoverageRequest.Builder> listCoverageRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all resources associated with the active member accounts in your organization.
Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources.
This is a convenience which creates an instance of the
ListCoverageRequest.Builder
avoiding the need to create one manually viaListCoverageRequest.builder()
- Parameters:
listCoverageRequest
- AConsumer
that will call methods onListCoverageRequest.Builder
to create a request.- Returns:
- Result of the ListCoverage operation returned by the service.
- See Also:
-
listCoveragePaginator
default ListCoverageIterable listCoveragePaginator(ListCoverageRequest listCoverageRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListCoverageResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)
operation.- Parameters:
listCoverageRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCoveragePaginator
default ListCoverageIterable listCoveragePaginator(Consumer<ListCoverageRequest.Builder> listCoverageRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListCoverageResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListCoverageIterable responses = client.listCoveragePaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)
operation.
This is a convenience which creates an instance of the
ListCoverageRequest.Builder
avoiding the need to create one manually viaListCoverageRequest.builder()
- Parameters:
listCoverageRequest
- AConsumer
that will call methods onListCoverageRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDetectors
default ListDetectorsResponse listDetectors(ListDetectorsRequest listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists detectorIds of all the existing Amazon GuardDuty detector resources.
- Parameters:
listDetectorsRequest
-- Returns:
- Result of the ListDetectors operation returned by the service.
- See Also:
-
listDetectors
default ListDetectorsResponse listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists detectorIds of all the existing Amazon GuardDuty detector resources.
This is a convenience which creates an instance of the
ListDetectorsRequest.Builder
avoiding the need to create one manually viaListDetectorsRequest.builder()
- Parameters:
listDetectorsRequest
- AConsumer
that will call methods onListDetectorsRequest.Builder
to create a request.- Returns:
- Result of the ListDetectors operation returned by the service.
- See Also:
-
listDetectors
default ListDetectorsResponse listDetectors() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyExceptionLists detectorIds of all the existing Amazon GuardDuty detector resources.
- Returns:
- Result of the ListDetectors operation returned by the service.
- See Also:
-
listDetectorsPaginator
default ListDetectorsIterable listDetectorsPaginator() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyExceptionThis is a variant of
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDetectorsPaginator
default ListDetectorsIterable listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation.- Parameters:
listDetectorsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDetectorsPaginator
default ListDetectorsIterable listDetectorsPaginator(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)
operation.
This is a convenience which creates an instance of the
ListDetectorsRequest.Builder
avoiding the need to create one manually viaListDetectorsRequest.builder()
- Parameters:
listDetectorsRequest
- AConsumer
that will call methods onListDetectorsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFilters
default ListFiltersResponse listFilters(ListFiltersRequest listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns a paginated list of the current filters.
- Parameters:
listFiltersRequest
-- Returns:
- Result of the ListFilters operation returned by the service.
- See Also:
-
listFilters
default ListFiltersResponse listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns a paginated list of the current filters.
This is a convenience which creates an instance of the
ListFiltersRequest.Builder
avoiding the need to create one manually viaListFiltersRequest.builder()
- Parameters:
listFiltersRequest
- AConsumer
that will call methods onListFiltersRequest.Builder
to create a request.- Returns:
- Result of the ListFilters operation returned by the service.
- See Also:
-
listFiltersPaginator
default ListFiltersIterable listFiltersPaginator(ListFiltersRequest listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListFiltersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)
operation.- Parameters:
listFiltersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFiltersPaginator
default ListFiltersIterable listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListFiltersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)
operation.
This is a convenience which creates an instance of the
ListFiltersRequest.Builder
avoiding the need to create one manually viaListFiltersRequest.builder()
- Parameters:
listFiltersRequest
- AConsumer
that will call methods onListFiltersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists GuardDuty findings for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
- Parameters:
listFindingsRequest
-- Returns:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists GuardDuty findings for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
ListFindingsRequest.Builder
avoiding the need to create one manually viaListFindingsRequest.builder()
- Parameters:
listFindingsRequest
- AConsumer
that will call methods onListFindingsRequest.Builder
to create a request.- Returns:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListFindingsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
operation.- Parameters:
listFindingsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListFindingsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)
operation.
This is a convenience which creates an instance of the
ListFindingsRequest.Builder
avoiding the need to create one manually viaListFindingsRequest.builder()
- Parameters:
listFindingsRequest
- AConsumer
that will call methods onListFindingsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIPSets
default ListIpSetsResponse listIPSets(ListIpSetsRequest listIpSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.
- Parameters:
listIpSetsRequest
-- Returns:
- Result of the ListIPSets operation returned by the service.
- See Also:
-
listIPSets
default ListIpSetsResponse listIPSets(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists the IPSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the IPSets returned are the IPSets from the associated administrator account.
This is a convenience which creates an instance of the
ListIpSetsRequest.Builder
avoiding the need to create one manually viaListIpSetsRequest.builder()
- Parameters:
listIpSetsRequest
- AConsumer
that will call methods onListIpSetsRequest.Builder
to create a request.- Returns:
- Result of the ListIPSets operation returned by the service.
- See Also:
-
listIPSetsPaginator
default ListIPSetsIterable listIPSetsPaginator(ListIpSetsRequest listIpSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)
operation.- Parameters:
listIpSetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listIPSetsPaginator
default ListIPSetsIterable listIPSetsPaginator(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)
operation.
This is a convenience which creates an instance of the
ListIpSetsRequest.Builder
avoiding the need to create one manually viaListIpSetsRequest.builder()
- Parameters:
listIpSetsRequest
- AConsumer
that will call methods onListIpSetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitations
default ListInvitationsResponse listInvitations(ListInvitationsRequest listInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
- Parameters:
listInvitationsRequest
-- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitations
default ListInvitationsResponse listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
This is a convenience which creates an instance of the
ListInvitationsRequest.Builder
avoiding the need to create one manually viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to create a request.- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitations
default ListInvitationsResponse listInvitations() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyExceptionLists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyExceptionThis is a variant of
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client .listInvitationsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client .listInvitationsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation.- Parameters:
listInvitationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client .listInvitationsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)
operation.
This is a convenience which creates an instance of the
ListInvitationsRequest.Builder
avoiding the need to create one manually viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembers
default ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists details about all member accounts for the current GuardDuty administrator account.
- Parameters:
listMembersRequest
-- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembers
default ListMembersResponse listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists details about all member accounts for the current GuardDuty administrator account.
This is a convenience which creates an instance of the
ListMembersRequest.Builder
avoiding the need to create one manually viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to create a request.- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListMembersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
operation.- Parameters:
listMembersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListMembersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)
operation.
This is a convenience which creates an instance of the
ListMembersRequest.Builder
avoiding the need to create one manually viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationAdminAccounts
default ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists the accounts designated as GuardDuty delegated administrators. Only the organization's management account can run this API operation.
- Parameters:
listOrganizationAdminAccountsRequest
-- Returns:
- Result of the ListOrganizationAdminAccounts operation returned by the service.
- See Also:
-
listOrganizationAdminAccounts
default ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists the accounts designated as GuardDuty delegated administrators. Only the organization's management account can run this API operation.
This is a convenience which creates an instance of the
ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()
- Parameters:
listOrganizationAdminAccountsRequest
- AConsumer
that will call methods onListOrganizationAdminAccountsRequest.Builder
to create a request.- Returns:
- Result of the ListOrganizationAdminAccounts operation returned by the service.
- See Also:
-
listOrganizationAdminAccountsPaginator
default ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client .listOrganizationAdminAccountsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)
operation.- Parameters:
listOrganizationAdminAccountsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationAdminAccountsPaginator
default ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client .listOrganizationAdminAccountsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)
operation.
This is a convenience which creates an instance of the
ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()
- Parameters:
listOrganizationAdminAccountsRequest
- AConsumer
that will call methods onListOrganizationAdminAccountsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPublishingDestinations
default ListPublishingDestinationsResponse listPublishingDestinations(ListPublishingDestinationsRequest listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns a list of publishing destinations associated with the specified
detectorId
.- Parameters:
listPublishingDestinationsRequest
-- Returns:
- Result of the ListPublishingDestinations operation returned by the service.
- See Also:
-
listPublishingDestinations
default ListPublishingDestinationsResponse listPublishingDestinations(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Returns a list of publishing destinations associated with the specified
detectorId
.
This is a convenience which creates an instance of the
ListPublishingDestinationsRequest.Builder
avoiding the need to create one manually viaListPublishingDestinationsRequest.builder()
- Parameters:
listPublishingDestinationsRequest
- AConsumer
that will call methods onListPublishingDestinationsRequest.Builder
to create a request.- Returns:
- Result of the ListPublishingDestinations operation returned by the service.
- See Also:
-
listPublishingDestinationsPaginator
default ListPublishingDestinationsIterable listPublishingDestinationsPaginator(ListPublishingDestinationsRequest listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client.listPublishingDestinationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client .listPublishingDestinationsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client.listPublishingDestinationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)
operation.- Parameters:
listPublishingDestinationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listPublishingDestinationsPaginator
default ListPublishingDestinationsIterable listPublishingDestinationsPaginator(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client.listPublishingDestinationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client .listPublishingDestinationsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client.listPublishingDestinationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)
operation.
This is a convenience which creates an instance of the
ListPublishingDestinationsRequest.Builder
avoiding the need to create one manually viaListPublishingDestinationsRequest.builder()
- Parameters:
listPublishingDestinationsRequest
- AConsumer
that will call methods onListPublishingDestinationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, AccessDeniedException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, AccessDeniedException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel sets, and publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listThreatIntelSets
default ListThreatIntelSetsResponse listThreatIntelSets(ListThreatIntelSetsRequest listThreatIntelSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the administrator account are returned.
- Parameters:
listThreatIntelSetsRequest
-- Returns:
- Result of the ListThreatIntelSets operation returned by the service.
- See Also:
-
listThreatIntelSets
default ListThreatIntelSetsResponse listThreatIntelSets(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID. If you use this operation from a member account, the ThreatIntelSets associated with the administrator account are returned.
This is a convenience which creates an instance of the
ListThreatIntelSetsRequest.Builder
avoiding the need to create one manually viaListThreatIntelSetsRequest.builder()
- Parameters:
listThreatIntelSetsRequest
- AConsumer
that will call methods onListThreatIntelSetsRequest.Builder
to create a request.- Returns:
- Result of the ListThreatIntelSets operation returned by the service.
- See Also:
-
listThreatIntelSetsPaginator
default ListThreatIntelSetsIterable listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client.listThreatIntelSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client .listThreatIntelSetsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client.listThreatIntelSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation.- Parameters:
listThreatIntelSetsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listThreatIntelSetsPaginator
default ListThreatIntelSetsIterable listThreatIntelSetsPaginator(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException This is a variant of
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client.listThreatIntelSetsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client .listThreatIntelSetsPaginator(request); for (software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client.listThreatIntelSetsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)
operation.
This is a convenience which creates an instance of the
ListThreatIntelSetsRequest.Builder
avoiding the need to create one manually viaListThreatIntelSetsRequest.builder()
- Parameters:
listThreatIntelSetsRequest
- AConsumer
that will call methods onListThreatIntelSetsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
startMalwareScan
default StartMalwareScanResponse startMalwareScan(StartMalwareScanRequest startMalwareScanRequest) throws BadRequestException, ConflictException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Initiates the malware scan. Invoking this API will automatically create the Service-linked role in the corresponding account.
When the malware scan starts, you can use the associated scan ID to track the status of the scan. For more information, see DescribeMalwareScans.
- Parameters:
startMalwareScanRequest
-- Returns:
- Result of the StartMalwareScan operation returned by the service.
- See Also:
-
startMalwareScan
default StartMalwareScanResponse startMalwareScan(Consumer<StartMalwareScanRequest.Builder> startMalwareScanRequest) throws BadRequestException, ConflictException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Initiates the malware scan. Invoking this API will automatically create the Service-linked role in the corresponding account.
When the malware scan starts, you can use the associated scan ID to track the status of the scan. For more information, see DescribeMalwareScans.
This is a convenience which creates an instance of the
StartMalwareScanRequest.Builder
avoiding the need to create one manually viaStartMalwareScanRequest.builder()
- Parameters:
startMalwareScanRequest
- AConsumer
that will call methods onStartMalwareScanRequest.Builder
to create a request.- Returns:
- Result of the StartMalwareScan operation returned by the service.
- See Also:
-
startMonitoringMembers
default StartMonitoringMembersResponse startMonitoringMembers(StartMonitoringMembersRequest startMonitoringMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.
- Parameters:
startMonitoringMembersRequest
-- Returns:
- Result of the StartMonitoringMembers operation returned by the service.
- See Also:
-
startMonitoringMembers
default StartMonitoringMembersResponse startMonitoringMembers(Consumer<StartMonitoringMembersRequest.Builder> startMonitoringMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Turns on GuardDuty monitoring of the specified member accounts. Use this operation to restart monitoring of accounts that you stopped monitoring with the StopMonitoringMembers operation.
This is a convenience which creates an instance of the
StartMonitoringMembersRequest.Builder
avoiding the need to create one manually viaStartMonitoringMembersRequest.builder()
- Parameters:
startMonitoringMembersRequest
- AConsumer
that will call methods onStartMonitoringMembersRequest.Builder
to create a request.- Returns:
- Result of the StartMonitoringMembers operation returned by the service.
- See Also:
-
stopMonitoringMembers
default StopMonitoringMembersResponse stopMonitoringMembers(StopMonitoringMembersRequest stopMonitoringMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Stops GuardDuty monitoring for the specified member accounts. Use the
StartMonitoringMembers
operation to restart monitoring for those accounts.With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to stop monitoring the member accounts in your organization.- Parameters:
stopMonitoringMembersRequest
-- Returns:
- Result of the StopMonitoringMembers operation returned by the service.
- See Also:
-
stopMonitoringMembers
default StopMonitoringMembersResponse stopMonitoringMembers(Consumer<StopMonitoringMembersRequest.Builder> stopMonitoringMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Stops GuardDuty monitoring for the specified member accounts. Use the
StartMonitoringMembers
operation to restart monitoring for those accounts.With
autoEnableOrganizationMembers
configuration for your organization set toALL
, you'll receive an error if you attempt to stop monitoring the member accounts in your organization.
This is a convenience which creates an instance of the
StopMonitoringMembersRequest.Builder
avoiding the need to create one manually viaStopMonitoringMembersRequest.builder()
- Parameters:
stopMonitoringMembersRequest
- AConsumer
that will call methods onStopMonitoringMembersRequest.Builder
to create a request.- Returns:
- Result of the StopMonitoringMembers operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, AccessDeniedException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Adds tags to a resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, AccessDeniedException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Adds tags to a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
unarchiveFindings
default UnarchiveFindingsResponse unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Unarchives GuardDuty findings specified by the
findingIds
.- Parameters:
unarchiveFindingsRequest
-- Returns:
- Result of the UnarchiveFindings operation returned by the service.
- See Also:
-
unarchiveFindings
default UnarchiveFindingsResponse unarchiveFindings(Consumer<UnarchiveFindingsRequest.Builder> unarchiveFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Unarchives GuardDuty findings specified by the
findingIds
.
This is a convenience which creates an instance of the
UnarchiveFindingsRequest.Builder
avoiding the need to create one manually viaUnarchiveFindingsRequest.builder()
- Parameters:
unarchiveFindingsRequest
- AConsumer
that will call methods onUnarchiveFindingsRequest.Builder
to create a request.- Returns:
- Result of the UnarchiveFindings operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, AccessDeniedException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Removes tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, AccessDeniedException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Removes tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDetector
default UpdateDetectorResponse updateDetector(UpdateDetectorRequest updateDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the GuardDuty detector specified by the detector ID.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
updateDetectorRequest
-- Returns:
- Result of the UpdateDetector operation returned by the service.
- See Also:
-
updateDetector
default UpdateDetectorResponse updateDetector(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the GuardDuty detector specified by the detector ID.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
UpdateDetectorRequest.Builder
avoiding the need to create one manually viaUpdateDetectorRequest.builder()
- Parameters:
updateDetectorRequest
- AConsumer
that will call methods onUpdateDetectorRequest.Builder
to create a request.- Returns:
- Result of the UpdateDetector operation returned by the service.
- See Also:
-
updateFilter
default UpdateFilterResponse updateFilter(UpdateFilterRequest updateFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the filter specified by the filter name.
- Parameters:
updateFilterRequest
-- Returns:
- Result of the UpdateFilter operation returned by the service.
- See Also:
-
updateFilter
default UpdateFilterResponse updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the filter specified by the filter name.
This is a convenience which creates an instance of the
UpdateFilterRequest.Builder
avoiding the need to create one manually viaUpdateFilterRequest.builder()
- Parameters:
updateFilterRequest
- AConsumer
that will call methods onUpdateFilterRequest.Builder
to create a request.- Returns:
- Result of the UpdateFilter operation returned by the service.
- See Also:
-
updateFindingsFeedback
default UpdateFindingsFeedbackResponse updateFindingsFeedback(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Marks the specified GuardDuty findings as useful or not useful.
- Parameters:
updateFindingsFeedbackRequest
-- Returns:
- Result of the UpdateFindingsFeedback operation returned by the service.
- See Also:
-
updateFindingsFeedback
default UpdateFindingsFeedbackResponse updateFindingsFeedback(Consumer<UpdateFindingsFeedbackRequest.Builder> updateFindingsFeedbackRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Marks the specified GuardDuty findings as useful or not useful.
This is a convenience which creates an instance of the
UpdateFindingsFeedbackRequest.Builder
avoiding the need to create one manually viaUpdateFindingsFeedbackRequest.builder()
- Parameters:
updateFindingsFeedbackRequest
- AConsumer
that will call methods onUpdateFindingsFeedbackRequest.Builder
to create a request.- Returns:
- Result of the UpdateFindingsFeedback operation returned by the service.
- See Also:
-
updateIPSet
default UpdateIpSetResponse updateIPSet(UpdateIpSetRequest updateIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the IPSet specified by the IPSet ID.
- Parameters:
updateIpSetRequest
-- Returns:
- Result of the UpdateIPSet operation returned by the service.
- See Also:
-
updateIPSet
default UpdateIpSetResponse updateIPSet(Consumer<UpdateIpSetRequest.Builder> updateIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the IPSet specified by the IPSet ID.
This is a convenience which creates an instance of the
UpdateIpSetRequest.Builder
avoiding the need to create one manually viaUpdateIpSetRequest.builder()
- Parameters:
updateIpSetRequest
- AConsumer
that will call methods onUpdateIpSetRequest.Builder
to create a request.- Returns:
- Result of the UpdateIPSet operation returned by the service.
- See Also:
-
updateMalwareScanSettings
default UpdateMalwareScanSettingsResponse updateMalwareScanSettings(UpdateMalwareScanSettingsRequest updateMalwareScanSettingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
updateMalwareScanSettingsRequest
-- Returns:
- Result of the UpdateMalwareScanSettings operation returned by the service.
- See Also:
-
updateMalwareScanSettings
default UpdateMalwareScanSettingsResponse updateMalwareScanSettings(Consumer<UpdateMalwareScanSettingsRequest.Builder> updateMalwareScanSettingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the malware scan settings.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
UpdateMalwareScanSettingsRequest.Builder
avoiding the need to create one manually viaUpdateMalwareScanSettingsRequest.builder()
- Parameters:
updateMalwareScanSettingsRequest
- AConsumer
that will call methods onUpdateMalwareScanSettingsRequest.Builder
to create a request.- Returns:
- Result of the UpdateMalwareScanSettings operation returned by the service.
- See Also:
-
updateMemberDetectors
default UpdateMemberDetectorsResponse updateMemberDetectors(UpdateMemberDetectorsRequest updateMemberDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Contains information on member accounts to be updated.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
updateMemberDetectorsRequest
-- Returns:
- Result of the UpdateMemberDetectors operation returned by the service.
- See Also:
-
updateMemberDetectors
default UpdateMemberDetectorsResponse updateMemberDetectors(Consumer<UpdateMemberDetectorsRequest.Builder> updateMemberDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Contains information on member accounts to be updated.
Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
UpdateMemberDetectorsRequest.Builder
avoiding the need to create one manually viaUpdateMemberDetectorsRequest.builder()
- Parameters:
updateMemberDetectorsRequest
- AConsumer
that will call methods onUpdateMemberDetectorsRequest.Builder
to create a request.- Returns:
- Result of the UpdateMemberDetectors operation returned by the service.
- See Also:
-
updateOrganizationConfiguration
default UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Configures the delegated administrator account with the provided values. You must provide a value for either
autoEnableOrganizationMembers
orautoEnable
, but not both.Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
- Parameters:
updateOrganizationConfigurationRequest
-- Returns:
- Result of the UpdateOrganizationConfiguration operation returned by the service.
- See Also:
-
updateOrganizationConfiguration
default UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Configures the delegated administrator account with the provided values. You must provide a value for either
autoEnableOrganizationMembers
orautoEnable
, but not both.Specifying both EKS Runtime Monitoring (
EKS_RUNTIME_MONITORING
) and Runtime Monitoring (RUNTIME_MONITORING
) will cause an error. You can add only one of these two features because Runtime Monitoring already includes the threat detection for Amazon EKS resources. For more information, see Runtime Monitoring.There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
This is a convenience which creates an instance of the
UpdateOrganizationConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateOrganizationConfigurationRequest.builder()
- Parameters:
updateOrganizationConfigurationRequest
- AConsumer
that will call methods onUpdateOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateOrganizationConfiguration operation returned by the service.
- See Also:
-
updatePublishingDestination
default UpdatePublishingDestinationResponse updatePublishingDestination(UpdatePublishingDestinationRequest updatePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates information about the publishing destination specified by the
destinationId
.- Parameters:
updatePublishingDestinationRequest
-- Returns:
- Result of the UpdatePublishingDestination operation returned by the service.
- See Also:
-
updatePublishingDestination
default UpdatePublishingDestinationResponse updatePublishingDestination(Consumer<UpdatePublishingDestinationRequest.Builder> updatePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates information about the publishing destination specified by the
destinationId
.
This is a convenience which creates an instance of the
UpdatePublishingDestinationRequest.Builder
avoiding the need to create one manually viaUpdatePublishingDestinationRequest.builder()
- Parameters:
updatePublishingDestinationRequest
- AConsumer
that will call methods onUpdatePublishingDestinationRequest.Builder
to create a request.- Returns:
- Result of the UpdatePublishingDestination operation returned by the service.
- See Also:
-
updateThreatIntelSet
default UpdateThreatIntelSetResponse updateThreatIntelSet(UpdateThreatIntelSetRequest updateThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
- Parameters:
updateThreatIntelSetRequest
-- Returns:
- Result of the UpdateThreatIntelSet operation returned by the service.
- See Also:
-
updateThreatIntelSet
default UpdateThreatIntelSetResponse updateThreatIntelSet(Consumer<UpdateThreatIntelSetRequest.Builder> updateThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
This is a convenience which creates an instance of the
UpdateThreatIntelSetRequest.Builder
avoiding the need to create one manually viaUpdateThreatIntelSetRequest.builder()
- Parameters:
updateThreatIntelSetRequest
- AConsumer
that will call methods onUpdateThreatIntelSetRequest.Builder
to create a request.- Returns:
- Result of the UpdateThreatIntelSet operation returned by the service.
- See Also:
-
create
Create aGuardDutyClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aGuardDutyClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-