@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface GuardDutyClient extends SdkClient
builder() method.
Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following data sources: VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event logs, EKS audit logs, DNS logs, and Amazon EBS volume data. 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 .
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AcceptAdministratorInvitationResponse |
acceptAdministratorInvitation(AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent
the invitation.
|
default AcceptAdministratorInvitationResponse |
acceptAdministratorInvitation(Consumer<AcceptAdministratorInvitationRequest.Builder> acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent
the invitation.
|
default AcceptInvitationResponse |
acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Deprecated.
This operation is deprecated, use AcceptAdministratorInvitation instead
|
default AcceptInvitationResponse |
acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Deprecated.
This operation is deprecated, use AcceptAdministratorInvitation instead
|
default ArchiveFindingsResponse |
archiveFindings(ArchiveFindingsRequest archiveFindingsRequest)
Archives GuardDuty findings that are specified by the list of finding IDs.
|
default ArchiveFindingsResponse |
archiveFindings(Consumer<ArchiveFindingsRequest.Builder> 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 a
GuardDutyClient. |
static GuardDutyClient |
create()
Create a
GuardDutyClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateDetectorResponse |
createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest)
Creates a single Amazon GuardDuty detector.
|
default CreateDetectorResponse |
createDetector(CreateDetectorRequest createDetectorRequest)
Creates a single Amazon 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.
|
default CreatePublishingDestinationResponse |
createPublishingDestination(Consumer<CreatePublishingDestinationRequest.Builder> createPublishingDestinationRequest)
Creates a publishing destination to export findings to.
|
default CreatePublishingDestinationResponse |
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 the
ipSetId. |
default DeleteIpSetResponse |
deleteIPSet(DeleteIpSetRequest deleteIpSetRequest)
Deletes the IPSet specified by the
ipSetId. |
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.
|
default DeletePublishingDestinationResponse |
deletePublishingDestination(Consumer<DeletePublishingDestinationRequest.Builder> deletePublishingDestinationRequest)
Deletes the publishing definition with the specified
destinationId. |
default DeletePublishingDestinationResponse |
deletePublishingDestination(DeletePublishingDestinationRequest deletePublishingDestinationRequest)
Deletes the publishing definition with the specified
destinationId. |
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)
Returns a list of malware scans.
|
default DescribeMalwareScansIterable |
describeMalwareScansPaginator(DescribeMalwareScansRequest describeMalwareScansRequest)
Returns a list of malware scans.
|
default DescribeOrganizationConfigurationResponse |
describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Returns information about the account selected as the delegated administrator for GuardDuty.
|
default DescribeOrganizationConfigurationResponse |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Returns information about the account selected as the delegated administrator for GuardDuty.
|
default DescribePublishingDestinationResponse |
describePublishingDestination(Consumer<DescribePublishingDestinationRequest.Builder> describePublishingDestinationRequest)
Returns information about the publishing destination specified by the provided
destinationId. |
default DescribePublishingDestinationResponse |
describePublishingDestination(DescribePublishingDestinationRequest describePublishingDestinationRequest)
Returns information about the publishing destination specified by the provided
destinationId. |
default DisableOrganizationAdminAccountResponse |
disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
|
default DisableOrganizationAdminAccountResponse |
disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
|
default DisassociateFromAdministratorAccountResponse |
disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)
Disassociates the current GuardDuty member account from its administrator account.
|
default DisassociateFromAdministratorAccountResponse |
disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)
Disassociates the current GuardDuty member account from its administrator account.
|
default DisassociateFromMasterAccountResponse |
disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
Deprecated.
This operation is deprecated, use DisassociateFromAdministratorAccount instead
|
default DisassociateFromMasterAccountResponse |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Deprecated.
This operation is deprecated, use DisassociateFromAdministratorAccount instead
|
default DisassociateMembersResponse |
disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
|
default DisassociateMembersResponse |
disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
|
default EnableOrganizationAdminAccountResponse |
enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
|
default EnableOrganizationAdminAccountResponse |
enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
|
default GetAdministratorAccountResponse |
getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member
account.
|
default GetAdministratorAccountResponse |
getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member
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 |
getInvitationsCount()
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 the
ipSetId. |
default GetIpSetResponse |
getIPSet(GetIpSetRequest getIpSetRequest)
Retrieves the IPSet specified by the
ipSetId. |
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 instead
|
default GetMasterAccountResponse |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Deprecated.
This operation is deprecated, use GetAdministratorAccount instead
|
default 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.
|
default GetRemainingFreeTrialDaysResponse |
getRemainingFreeTrialDays(Consumer<GetRemainingFreeTrialDaysRequest.Builder> getRemainingFreeTrialDaysRequest)
Provides the number of days left for each data source used in the free trial period.
|
default GetRemainingFreeTrialDaysResponse |
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)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
default GetUsageStatisticsIterable |
getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
default InviteMembersResponse |
inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest)
Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by
CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these
accounts' findings on their behalf as the GuardDuty administrator account.
|
default InviteMembersResponse |
inviteMembers(InviteMembersRequest inviteMembersRequest)
Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by
CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these
accounts' findings on their behalf as the GuardDuty administrator account.
|
default ListDetectorsResponse |
listDetectors()
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 |
listDetectorsPaginator()
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsIterable |
listDetectorsPaginator(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsIterable |
listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
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)
Returns a paginated list of the current filters.
|
default ListFiltersIterable |
listFiltersPaginator(ListFiltersRequest listFiltersRequest)
Returns a paginated list of the current filters.
|
default ListFindingsResponse |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsResponse |
listFindings(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsIterable |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsIterable |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListInvitationsResponse |
listInvitations()
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 |
listInvitationsPaginator()
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsIterable |
listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsIterable |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
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)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default ListIPSetsIterable |
listIPSetsPaginator(ListIpSetsRequest listIpSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
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)
Lists details about all member accounts for the current GuardDuty administrator account.
|
default ListMembersIterable |
listMembersPaginator(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current GuardDuty administrator account.
|
default ListOrganizationAdminAccountsResponse |
listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default ListOrganizationAdminAccountsResponse |
listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default ListOrganizationAdminAccountsIterable |
listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default ListOrganizationAdminAccountsIterable |
listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default ListPublishingDestinationsResponse |
listPublishingDestinations(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default ListPublishingDestinationsResponse |
listPublishingDestinations(ListPublishingDestinationsRequest listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default ListPublishingDestinationsIterable |
listPublishingDestinationsPaginator(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default ListPublishingDestinationsIterable |
listPublishingDestinationsPaginator(ListPublishingDestinationsRequest listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
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)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default ListThreatIntelSetsIterable |
listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
static ServiceMetadata |
serviceMetadata() |
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 the
findingIds. |
default UnarchiveFindingsResponse |
unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest)
Unarchives GuardDuty findings specified by the
findingIds. |
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 Amazon GuardDuty detector specified by the detectorId.
|
default UpdateDetectorResponse |
updateDetector(UpdateDetectorRequest updateDetectorRequest)
Updates the Amazon GuardDuty detector specified by the detectorId.
|
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.
|
default UpdateMalwareScanSettingsResponse |
updateMalwareScanSettings(Consumer<UpdateMalwareScanSettingsRequest.Builder> updateMalwareScanSettingsRequest)
Updates the malware scan settings.
|
default UpdateMalwareScanSettingsResponse |
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.
|
default UpdateOrganizationConfigurationResponse |
updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the delegated administrator account with the values provided.
|
default UpdateOrganizationConfigurationResponse |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the delegated administrator account with the values provided.
|
default UpdatePublishingDestinationResponse |
updatePublishingDestination(Consumer<UpdatePublishingDestinationRequest.Builder> updatePublishingDestinationRequest)
Updates information about the publishing destination specified by the
destinationId. |
default UpdatePublishingDestinationResponse |
updatePublishingDestination(UpdatePublishingDestinationRequest updatePublishingDestinationRequest)
Updates information about the publishing destination specified by the
destinationId. |
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.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.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.
acceptAdministratorInvitationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via AcceptAdministratorInvitationRequest.builder()
acceptAdministratorInvitationRequest - A Consumer that will call methods on AcceptAdministratorInvitationRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException@Deprecated default AcceptInvitationResponse acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Accepts the invitation to be monitored by a GuardDuty administrator account.
acceptInvitationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException@Deprecated default AcceptInvitationResponse acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Accepts 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 via AcceptInvitationRequest.builder()
acceptInvitationRequest - A Consumer that will call methods on AcceptInvitationRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
archiveFindingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ArchiveFindingsRequest.builder()
archiveFindingsRequest - A Consumer that will call methods on ArchiveFindingsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDetectorResponse createDetector(CreateDetectorRequest createDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Creates a single Amazon 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.
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.
createDetectorRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateDetectorResponse createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Creates a single Amazon 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.
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 via CreateDetectorRequest.builder()
createDetectorRequest - A Consumer that will call methods on CreateDetectorRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFilterResponse createFilter(CreateFilterRequest createFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Creates a filter using the specified finding criteria.
createFilterRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFilterResponse createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Creates a filter using the specified finding criteria.
This is a convenience which creates an instance of the CreateFilterRequest.Builder avoiding the need to
create one manually via CreateFilterRequest.builder()
createFilterRequest - A Consumer that will call methods on CreateFilterRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
createIpSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via CreateIpSetRequest.builder()
createIpSetRequest - A Consumer that will call methods on CreateIPSetRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
When using Create Members as an organizations delegated administrator this action will enable
GuardDuty in the added member accounts, with the exception of the organization delegated administrator account,
which must enable GuardDuty prior to being added as a member.
If you are adding accounts by invitation, use this action after GuardDuty has bee enabled in potential member accounts and before using InviteMembers.
createMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
When using Create Members as an organizations delegated administrator this action will enable
GuardDuty in the added member accounts, with the exception of the organization delegated administrator account,
which must enable GuardDuty prior to being added as a member.
If you are adding accounts by invitation, use this action after GuardDuty has bee enabled in potential member accounts and before using InviteMembers.
This is a convenience which creates an instance of the CreateMembersRequest.Builder avoiding the need to
create one manually via CreateMembersRequest.builder()
createMembersRequest - A Consumer that will call methods on CreateMembersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
createPublishingDestinationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via CreatePublishingDestinationRequest.builder()
createPublishingDestinationRequest - A Consumer that will call methods on CreatePublishingDestinationRequest.Builder to create
a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
createSampleFindingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via CreateSampleFindingsRequest.builder()
createSampleFindingsRequest - A Consumer that will call methods on CreateSampleFindingsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
createThreatIntelSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via CreateThreatIntelSetRequest.builder()
createThreatIntelSetRequest - A Consumer that will call methods on CreateThreatIntelSetRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
declineInvitationsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeclineInvitationsRequest.builder()
declineInvitationsRequest - A Consumer that will call methods on DeclineInvitationsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteDetectorResponse deleteDetector(DeleteDetectorRequest deleteDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
deleteDetectorRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeleteDetectorRequest.builder()
deleteDetectorRequest - A Consumer that will call methods on DeleteDetectorRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteFilterResponse deleteFilter(DeleteFilterRequest deleteFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Deletes the filter specified by the filter name.
deleteFilterRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeleteFilterRequest.builder()
deleteFilterRequest - A Consumer that will call methods on DeleteFilterRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
deleteIpSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeleteIpSetRequest.builder()
deleteIpSetRequest - A Consumer that will call methods on DeleteIPSetRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
deleteInvitationsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeleteInvitationsRequest.builder()
deleteInvitationsRequest - A Consumer that will call methods on DeleteInvitationsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
deleteMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
This is a convenience which creates an instance of the DeleteMembersRequest.Builder avoiding the need to
create one manually via DeleteMembersRequest.builder()
deleteMembersRequest - A Consumer that will call methods on DeleteMembersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeletePublishingDestinationResponse deletePublishingDestination(DeletePublishingDestinationRequest deletePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Deletes the publishing definition with the specified destinationId.
deletePublishingDestinationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeletePublishingDestinationRequest.builder()
deletePublishingDestinationRequest - A Consumer that will call methods on DeletePublishingDestinationRequest.Builder to create
a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteThreatIntelSetResponse deleteThreatIntelSet(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
deleteThreatIntelSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DeleteThreatIntelSetRequest.builder()
deleteThreatIntelSetRequest - A Consumer that will call methods on DeleteThreatIntelSetRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
describeMalwareScansRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DescribeMalwareScansRequest.builder()
describeMalwareScansRequest - A Consumer that will call methods on DescribeMalwareScansRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeMalwareScansIterable describeMalwareScansPaginator(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.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client.describeMalwareScansPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
describeMalwareScansRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeMalwareScansIterable describeMalwareScansPaginator(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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansIterable responses = client.describeMalwareScansPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via DescribeMalwareScansRequest.builder()
describeMalwareScansRequest - A Consumer that will call methods on DescribeMalwareScansRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
describeOrganizationConfigurationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DescribeOrganizationConfigurationRequest.builder()
describeOrganizationConfigurationRequest - A Consumer that will call methods on DescribeOrganizationConfigurationRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribePublishingDestinationResponse describePublishingDestination(DescribePublishingDestinationRequest describePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns information about the publishing destination specified by the provided destinationId.
describePublishingDestinationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via DescribePublishingDestinationRequest.builder()
describePublishingDestinationRequest - A Consumer that will call methods on DescribePublishingDestinationRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
disableOrganizationAdminAccountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
This is a convenience which creates an instance of the DisableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually via DisableOrganizationAdminAccountRequest.builder()
disableOrganizationAdminAccountRequest - A Consumer that will call methods on DisableOrganizationAdminAccountRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disassociates the current GuardDuty member account from its administrator account.
disassociateFromAdministratorAccountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disassociates the current GuardDuty member account from its administrator account.
This is a convenience which creates an instance of the
DisassociateFromAdministratorAccountRequest.Builder avoiding the need to create one manually via
DisassociateFromAdministratorAccountRequest.builder()
disassociateFromAdministratorAccountRequest - A Consumer that will call methods on DisassociateFromAdministratorAccountRequest.Builder
to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException@Deprecated default DisassociateFromMasterAccountResponse disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disassociates the current GuardDuty member account from its administrator account.
disassociateFromMasterAccountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException@Deprecated default DisassociateFromMasterAccountResponse disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disassociates the current GuardDuty member account from its administrator account.
This is a convenience which creates an instance of the DisassociateFromMasterAccountRequest.Builder
avoiding the need to create one manually via DisassociateFromMasterAccountRequest.builder()
disassociateFromMasterAccountRequest - A Consumer that will call methods on DisassociateFromMasterAccountRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateMembersResponse disassociateMembers(DisassociateMembersRequest disassociateMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
disassociateMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateMembersResponse disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
This is a convenience which creates an instance of the DisassociateMembersRequest.Builder avoiding the
need to create one manually via DisassociateMembersRequest.builder()
disassociateMembersRequest - A Consumer that will call methods on DisassociateMembersRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
enableOrganizationAdminAccountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
This is a convenience which creates an instance of the EnableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually via EnableOrganizationAdminAccountRequest.builder()
enableOrganizationAdminAccountRequest - A Consumer that will call methods on EnableOrganizationAdminAccountRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAdministratorAccountResponse getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
getAdministratorAccountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAdministratorAccountResponse getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
This is a convenience which creates an instance of the GetAdministratorAccountRequest.Builder avoiding
the need to create one manually via GetAdministratorAccountRequest.builder()
getAdministratorAccountRequest - A Consumer that will call methods on GetAdministratorAccountRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getDetectorRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetDetectorRequest.builder()
getDetectorRequest - A Consumer that will call methods on GetDetectorRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFilterResponse getFilter(GetFilterRequest getFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns the details of the filter specified by the filter name.
getFilterRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetFilterRequest.builder()
getFilterRequest - A Consumer that will call methods on GetFilterRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsResponse getFindings(GetFindingsRequest getFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Describes Amazon GuardDuty findings specified by finding IDs.
getFindingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetFindingsRequest.builder()
getFindingsRequest - A Consumer that will call methods on GetFindingsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsStatisticsResponse getFindingsStatistics(GetFindingsStatisticsRequest getFindingsStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists Amazon GuardDuty findings statistics for the specified detector ID.
getFindingsStatisticsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsStatisticsResponse getFindingsStatistics(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists Amazon GuardDuty findings statistics for the specified detector ID.
This is a convenience which creates an instance of the GetFindingsStatisticsRequest.Builder avoiding the
need to create one manually via GetFindingsStatisticsRequest.builder()
getFindingsStatisticsRequest - A Consumer that will call methods on GetFindingsStatisticsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetIpSetResponse getIPSet(GetIpSetRequest getIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Retrieves the IPSet specified by the ipSetId.
getIpSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetIpSetRequest.builder()
getIpSetRequest - A Consumer that will call methods on GetIPSetRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetInvitationsCountResponse getInvitationsCount() 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.
BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiongetInvitationsCount(GetInvitationsCountRequest),
AWS
API Documentationdefault 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.
getInvitationsCountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetInvitationsCountRequest.builder()
getInvitationsCountRequest - A Consumer that will call methods on GetInvitationsCountRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getMalwareScanSettingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetMalwareScanSettingsRequest.builder()
getMalwareScanSettingsRequest - A Consumer that will call methods on GetMalwareScanSettingsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException@Deprecated default GetMasterAccountResponse getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
getMasterAccountRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException@Deprecated default GetMasterAccountResponse getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Provides 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 via GetMasterAccountRequest.builder()
getMasterAccountRequest - A Consumer that will call methods on GetMasterAccountRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getMemberDetectorsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetMemberDetectorsRequest.builder()
getMemberDetectorsRequest - A Consumer that will call methods on GetMemberDetectorsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetMembersRequest.builder()
getMembersRequest - A Consumer that will call methods on GetMembersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getRemainingFreeTrialDaysRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetRemainingFreeTrialDaysRequest.builder()
getRemainingFreeTrialDaysRequest - A Consumer that will call methods on GetRemainingFreeTrialDaysRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetThreatIntelSetResponse getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
getThreatIntelSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetThreatIntelSetRequest.builder()
getThreatIntelSetRequest - A Consumer that will call methods on GetThreatIntelSetRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
getUsageStatisticsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via GetUsageStatisticsRequest.builder()
getUsageStatisticsRequest - A Consumer that will call methods on GetUsageStatisticsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageStatisticsIterable getUsageStatisticsPaginator(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.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
getUsageStatisticsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageStatisticsIterable getUsageStatisticsPaginator(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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via GetUsageStatisticsRequest.builder()
getUsageStatisticsRequest - A Consumer that will call methods on GetUsageStatisticsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault InviteMembersResponse inviteMembers(InviteMembersRequest inviteMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.
inviteMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault InviteMembersResponse inviteMembers(Consumer<InviteMembersRequest.Builder> inviteMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Invites other Amazon Web Services accounts (created as members of the current Amazon Web Services account by CreateMembers) to enable GuardDuty, and allow the current Amazon Web Services account to view and manage these accounts' findings on their behalf as the GuardDuty administrator account.
This is a convenience which creates an instance of the InviteMembersRequest.Builder avoiding the need to
create one manually via InviteMembersRequest.builder()
inviteMembersRequest - A Consumer that will call methods on InviteMembersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDetectorsResponse listDetectors() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistDetectors(ListDetectorsRequest),
AWS API
Documentationdefault ListDetectorsResponse listDetectors(ListDetectorsRequest listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
listDetectorsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListDetectorsRequest.builder()
listDetectorsRequest - A Consumer that will call methods on ListDetectorsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDetectorsIterable listDetectorsPaginator() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistDetectorsPaginator(ListDetectorsRequest),
AWS API
Documentationdefault ListDetectorsIterable listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listDetectorsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListDetectorsIterable listDetectorsPaginator(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsIterable responses = client.listDetectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListDetectorsRequest.builder()
listDetectorsRequest - A Consumer that will call methods on ListDetectorsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFiltersResponse listFilters(ListFiltersRequest listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns a paginated list of the current filters.
listFiltersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListFiltersRequest.builder()
listFiltersRequest - A Consumer that will call methods on ListFiltersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFiltersIterable listFiltersPaginator(ListFiltersRequest listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns a paginated list of the current filters.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listFiltersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFiltersIterable listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns a paginated list of the current filters.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListFiltersIterable responses = client.listFiltersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListFiltersRequest.builder()
listFiltersRequest - A Consumer that will call methods on ListFiltersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists Amazon GuardDuty findings for the specified detector ID.
listFindingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsResponse listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists Amazon GuardDuty findings for the specified detector ID.
This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists Amazon GuardDuty findings for the specified detector ID.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listFindingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists Amazon GuardDuty findings for the specified detector ID.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
listIpSetsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListIpSetsRequest.builder()
listIpSetsRequest - A Consumer that will call methods on ListIPSetsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIPSetsIterable listIPSetsPaginator(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.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listIpSetsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListIPSetsIterable listIPSetsPaginator(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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsIterable responses = client.listIPSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListIpSetsRequest.builder()
listIpSetsRequest - A Consumer that will call methods on ListIPSetsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsResponse listInvitations() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistInvitations(ListInvitationsRequest),
AWS API
Documentationdefault 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.
listInvitationsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsIterable listInvitationsPaginator() throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionlistInvitationsPaginator(ListInvitationsRequest),
AWS API
Documentationdefault ListInvitationsIterable listInvitationsPaginator(ListInvitationsRequest 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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listInvitationsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsIterable listInvitationsPaginator(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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists details about all member accounts for the current GuardDuty administrator account.
listMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists details about all member accounts for the current GuardDuty administrator account.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListMembersIterable responses = client.listMembersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists the accounts configured as GuardDuty delegated administrators.
listOrganizationAdminAccountsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists the accounts configured as GuardDuty delegated administrators.
This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()
listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists the accounts configured as GuardDuty delegated administrators.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listOrganizationAdminAccountsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists the accounts configured as GuardDuty delegated administrators.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListOrganizationAdminAccountsRequest.builder()
listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPublishingDestinationsResponse listPublishingDestinations(ListPublishingDestinationsRequest listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns a list of publishing destinations associated with the specified detectorId.
listPublishingDestinationsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListPublishingDestinationsRequest.builder()
listPublishingDestinationsRequest - A Consumer that will call methods on ListPublishingDestinationsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPublishingDestinationsIterable listPublishingDestinationsPaginator(ListPublishingDestinationsRequest listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns a list of publishing destinations associated with the specified detectorId.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client.listPublishingDestinationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listPublishingDestinationsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListPublishingDestinationsIterable listPublishingDestinationsPaginator(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Returns a list of publishing destinations associated with the specified detectorId.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsIterable responses = client.listPublishingDestinationsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListPublishingDestinationsRequest.builder()
listPublishingDestinationsRequest - A Consumer that will call methods on ListPublishingDestinationsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and threat intel sets, with a limit of 50 tags per resource. When invoked, this operation returns all assigned tags for a given resource.
listTagsForResourceRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, and threat intel sets, 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 via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
listThreatIntelSetsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via ListThreatIntelSetsRequest.builder()
listThreatIntelSetsRequest - A Consumer that will call methods on ListThreatIntelSetsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThreatIntelSetsIterable listThreatIntelSetsPaginator(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.
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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client.listThreatIntelSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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.
listThreatIntelSetsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListThreatIntelSetsIterable listThreatIntelSetsPaginator(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 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 Stream
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsIterable responses = client.listThreatIntelSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@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 directly
software.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 via ListThreatIntelSetsRequest.builder()
listThreatIntelSetsRequest - A Consumer that will call methods on ListThreatIntelSetsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
startMonitoringMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via StartMonitoringMembersRequest.builder()
startMonitoringMembersRequest - A Consumer that will call methods on StartMonitoringMembersRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
stopMonitoringMembersRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
This is a convenience which creates an instance of the StopMonitoringMembersRequest.Builder avoiding the
need to create one manually via StopMonitoringMembersRequest.builder()
stopMonitoringMembersRequest - A Consumer that will call methods on StopMonitoringMembersRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Adds tags to a resource.
tagResourceRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws BadRequestException, 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 via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UnarchiveFindingsResponse unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Unarchives GuardDuty findings specified by the findingIds.
unarchiveFindingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UnarchiveFindingsRequest.builder()
unarchiveFindingsRequest - A Consumer that will call methods on UnarchiveFindingsRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Removes tags from a resource.
untagResourceRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws BadRequestException, 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 via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDetectorResponse updateDetector(UpdateDetectorRequest updateDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the 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.
updateDetectorRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateDetectorResponse updateDetector(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the 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 UpdateDetectorRequest.Builder avoiding the need to
create one manually via UpdateDetectorRequest.builder()
updateDetectorRequest - A Consumer that will call methods on UpdateDetectorRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateFilterResponse updateFilter(UpdateFilterRequest updateFilterRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the filter specified by the filter name.
updateFilterRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UpdateFilterRequest.builder()
updateFilterRequest - A Consumer that will call methods on UpdateFilterRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateFindingsFeedbackResponse updateFindingsFeedback(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Marks the specified GuardDuty findings as useful or not useful.
updateFindingsFeedbackRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UpdateFindingsFeedbackRequest.builder()
updateFindingsFeedbackRequest - A Consumer that will call methods on UpdateFindingsFeedbackRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateIpSetResponse updateIPSet(UpdateIpSetRequest updateIpSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the IPSet specified by the IPSet ID.
updateIpSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UpdateIpSetRequest.builder()
updateIpSetRequest - A Consumer that will call methods on UpdateIPSetRequest.Builder to create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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.
updateMalwareScanSettingsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UpdateMalwareScanSettingsRequest.builder()
updateMalwareScanSettingsRequest - A Consumer that will call methods on UpdateMalwareScanSettingsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMemberDetectorsResponse updateMemberDetectors(UpdateMemberDetectorsRequest updateMemberDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Contains information on member accounts to be updated.
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.
updateMemberDetectorsRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMemberDetectorsResponse updateMemberDetectors(Consumer<UpdateMemberDetectorsRequest.Builder> updateMemberDetectorsRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Contains information on member accounts to be updated.
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 via UpdateMemberDetectorsRequest.builder()
updateMemberDetectorsRequest - A Consumer that will call methods on UpdateMemberDetectorsRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the delegated administrator account with the values provided.
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.
updateOrganizationConfigurationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the delegated administrator account with the values provided.
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 via UpdateOrganizationConfigurationRequest.builder()
updateOrganizationConfigurationRequest - A Consumer that will call methods on UpdateOrganizationConfigurationRequest.Builder to
create a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdatePublishingDestinationResponse updatePublishingDestination(UpdatePublishingDestinationRequest updatePublishingDestinationRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates information about the publishing destination specified by the destinationId.
updatePublishingDestinationRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UpdatePublishingDestinationRequest.builder()
updatePublishingDestinationRequest - A Consumer that will call methods on UpdatePublishingDestinationRequest.Builder to create
a request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateThreatIntelSetResponse updateThreatIntelSet(UpdateThreatIntelSetRequest updateThreatIntelSetRequest) throws BadRequestException, InternalServerErrorException, AwsServiceException, SdkClientException, GuardDutyException
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
updateThreatIntelSetRequest - BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault 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 via UpdateThreatIntelSetRequest.builder()
updateThreatIntelSetRequest - A Consumer that will call methods on UpdateThreatIntelSetRequest.Builder to create a
request.BadRequestException - A bad request exception object.InternalServerErrorException - An internal server error exception object.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.GuardDutyException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic GuardDutyClient create()
GuardDutyClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static GuardDutyClientBuilder builder()
GuardDutyClient.static ServiceMetadata serviceMetadata()
Copyright © 2023. All rights reserved.