@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface GuardDutyAsyncClient 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 CompletableFuture<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 CompletableFuture<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 CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Deprecated.
This operation is deprecated, use AcceptAdministratorInvitation instead
|
default CompletableFuture<AcceptInvitationResponse> |
acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Deprecated.
This operation is deprecated, use AcceptAdministratorInvitation instead
|
default CompletableFuture<ArchiveFindingsResponse> |
archiveFindings(ArchiveFindingsRequest archiveFindingsRequest)
Archives GuardDuty findings that are specified by the list of finding IDs.
|
default CompletableFuture<ArchiveFindingsResponse> |
archiveFindings(Consumer<ArchiveFindingsRequest.Builder> archiveFindingsRequest)
Archives GuardDuty findings that are specified by the list of finding IDs.
|
static GuardDutyAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
GuardDutyAsyncClient. |
static GuardDutyAsyncClient |
create()
Create a
GuardDutyAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CompletableFuture<CreateDetectorResponse> |
createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest)
Creates a single Amazon GuardDuty detector.
|
default CompletableFuture<CreateDetectorResponse> |
createDetector(CreateDetectorRequest createDetectorRequest)
Creates a single Amazon GuardDuty detector.
|
default CompletableFuture<CreateFilterResponse> |
createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)
Creates a filter using the specified finding criteria.
|
default CompletableFuture<CreateFilterResponse> |
createFilter(CreateFilterRequest createFilterRequest)
Creates a filter using the specified finding criteria.
|
default CompletableFuture<CreateIpSetResponse> |
createIPSet(Consumer<CreateIpSetRequest.Builder> createIpSetRequest)
Creates a new IPSet, which is called a trusted IP list in the console user interface.
|
default CompletableFuture<CreateIpSetResponse> |
createIPSet(CreateIpSetRequest createIpSetRequest)
Creates a new IPSet, which is called a trusted IP list in the console user interface.
|
default CompletableFuture<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 CompletableFuture<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 CompletableFuture<CreatePublishingDestinationResponse> |
createPublishingDestination(Consumer<CreatePublishingDestinationRequest.Builder> createPublishingDestinationRequest)
Creates a publishing destination to export findings to.
|
default CompletableFuture<CreatePublishingDestinationResponse> |
createPublishingDestination(CreatePublishingDestinationRequest createPublishingDestinationRequest)
Creates a publishing destination to export findings to.
|
default CompletableFuture<CreateSampleFindingsResponse> |
createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest)
Generates example findings of types specified by the list of finding types.
|
default CompletableFuture<CreateSampleFindingsResponse> |
createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest)
Generates example findings of types specified by the list of finding types.
|
default CompletableFuture<CreateThreatIntelSetResponse> |
createThreatIntelSet(Consumer<CreateThreatIntelSetRequest.Builder> createThreatIntelSetRequest)
Creates a new ThreatIntelSet.
|
default CompletableFuture<CreateThreatIntelSetResponse> |
createThreatIntelSet(CreateThreatIntelSetRequest createThreatIntelSetRequest)
Creates a new ThreatIntelSet.
|
default CompletableFuture<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 CompletableFuture<DeclineInvitationsResponse> |
declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations sent to the current member account by Amazon Web Services accounts specified by their
account IDs.
|
default CompletableFuture<DeleteDetectorResponse> |
deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest)
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
|
default CompletableFuture<DeleteDetectorResponse> |
deleteDetector(DeleteDetectorRequest deleteDetectorRequest)
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
|
default CompletableFuture<DeleteFilterResponse> |
deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)
Deletes the filter specified by the filter name.
|
default CompletableFuture<DeleteFilterResponse> |
deleteFilter(DeleteFilterRequest deleteFilterRequest)
Deletes the filter specified by the filter name.
|
default CompletableFuture<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 CompletableFuture<DeleteInvitationsResponse> |
deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account
IDs.
|
default CompletableFuture<DeleteIpSetResponse> |
deleteIPSet(Consumer<DeleteIpSetRequest.Builder> deleteIpSetRequest)
Deletes the IPSet specified by the
ipSetId. |
default CompletableFuture<DeleteIpSetResponse> |
deleteIPSet(DeleteIpSetRequest deleteIpSetRequest)
Deletes the IPSet specified by the
ipSetId. |
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
default CompletableFuture<DeleteMembersResponse> |
deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
|
default CompletableFuture<DeletePublishingDestinationResponse> |
deletePublishingDestination(Consumer<DeletePublishingDestinationRequest.Builder> deletePublishingDestinationRequest)
Deletes the publishing definition with the specified
destinationId. |
default CompletableFuture<DeletePublishingDestinationResponse> |
deletePublishingDestination(DeletePublishingDestinationRequest deletePublishingDestinationRequest)
Deletes the publishing definition with the specified
destinationId. |
default CompletableFuture<DeleteThreatIntelSetResponse> |
deleteThreatIntelSet(Consumer<DeleteThreatIntelSetRequest.Builder> deleteThreatIntelSetRequest)
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
|
default CompletableFuture<DeleteThreatIntelSetResponse> |
deleteThreatIntelSet(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest)
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
|
default CompletableFuture<DescribeMalwareScansResponse> |
describeMalwareScans(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest)
Returns a list of malware scans.
|
default CompletableFuture<DescribeMalwareScansResponse> |
describeMalwareScans(DescribeMalwareScansRequest describeMalwareScansRequest)
Returns a list of malware scans.
|
default DescribeMalwareScansPublisher |
describeMalwareScansPaginator(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest)
Returns a list of malware scans.
|
default DescribeMalwareScansPublisher |
describeMalwareScansPaginator(DescribeMalwareScansRequest describeMalwareScansRequest)
Returns a list of malware scans.
|
default CompletableFuture<DescribeOrganizationConfigurationResponse> |
describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Returns information about the account selected as the delegated administrator for GuardDuty.
|
default CompletableFuture<DescribeOrganizationConfigurationResponse> |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Returns information about the account selected as the delegated administrator for GuardDuty.
|
default CompletableFuture<DescribePublishingDestinationResponse> |
describePublishingDestination(Consumer<DescribePublishingDestinationRequest.Builder> describePublishingDestinationRequest)
Returns information about the publishing destination specified by the provided
destinationId. |
default CompletableFuture<DescribePublishingDestinationResponse> |
describePublishingDestination(DescribePublishingDestinationRequest describePublishingDestinationRequest)
Returns information about the publishing destination specified by the provided
destinationId. |
default CompletableFuture<DisableOrganizationAdminAccountResponse> |
disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
|
default CompletableFuture<DisableOrganizationAdminAccountResponse> |
disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
|
default CompletableFuture<DisassociateFromAdministratorAccountResponse> |
disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)
Disassociates the current GuardDuty member account from its administrator account.
|
default CompletableFuture<DisassociateFromAdministratorAccountResponse> |
disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)
Disassociates the current GuardDuty member account from its administrator account.
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
Deprecated.
This operation is deprecated, use DisassociateFromAdministratorAccount instead
|
default CompletableFuture<DisassociateFromMasterAccountResponse> |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Deprecated.
This operation is deprecated, use DisassociateFromAdministratorAccount instead
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
|
default CompletableFuture<DisassociateMembersResponse> |
disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
|
default CompletableFuture<EnableOrganizationAdminAccountResponse> |
enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
|
default CompletableFuture<EnableOrganizationAdminAccountResponse> |
enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
|
default CompletableFuture<GetAdministratorAccountResponse> |
getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member
account.
|
default CompletableFuture<GetAdministratorAccountResponse> |
getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member
account.
|
default CompletableFuture<GetDetectorResponse> |
getDetector(Consumer<GetDetectorRequest.Builder> getDetectorRequest)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<GetDetectorResponse> |
getDetector(GetDetectorRequest getDetectorRequest)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<GetFilterResponse> |
getFilter(Consumer<GetFilterRequest.Builder> getFilterRequest)
Returns the details of the filter specified by the filter name.
|
default CompletableFuture<GetFilterResponse> |
getFilter(GetFilterRequest getFilterRequest)
Returns the details of the filter specified by the filter name.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Describes Amazon GuardDuty findings specified by finding IDs.
|
default CompletableFuture<GetFindingsResponse> |
getFindings(GetFindingsRequest getFindingsRequest)
Describes Amazon GuardDuty findings specified by finding IDs.
|
default CompletableFuture<GetFindingsStatisticsResponse> |
getFindingsStatistics(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest)
Lists Amazon GuardDuty findings statistics for the specified detector ID.
|
default CompletableFuture<GetFindingsStatisticsResponse> |
getFindingsStatistics(GetFindingsStatisticsRequest getFindingsStatisticsRequest)
Lists Amazon GuardDuty findings statistics for the specified detector ID.
|
default CompletableFuture<GetInvitationsCountResponse> |
getInvitationsCount()
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the
currently accepted invitation.
|
default CompletableFuture<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 CompletableFuture<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 CompletableFuture<GetIpSetResponse> |
getIPSet(Consumer<GetIpSetRequest.Builder> getIpSetRequest)
Retrieves the IPSet specified by the
ipSetId. |
default CompletableFuture<GetIpSetResponse> |
getIPSet(GetIpSetRequest getIpSetRequest)
Retrieves the IPSet specified by the
ipSetId. |
default CompletableFuture<GetMalwareScanSettingsResponse> |
getMalwareScanSettings(Consumer<GetMalwareScanSettingsRequest.Builder> getMalwareScanSettingsRequest)
Returns the details of the malware scan settings.
|
default CompletableFuture<GetMalwareScanSettingsResponse> |
getMalwareScanSettings(GetMalwareScanSettingsRequest getMalwareScanSettingsRequest)
Returns the details of the malware scan settings.
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
Deprecated.
This operation is deprecated, use GetAdministratorAccount instead
|
default CompletableFuture<GetMasterAccountResponse> |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Deprecated.
This operation is deprecated, use GetAdministratorAccount instead
|
default CompletableFuture<GetMemberDetectorsResponse> |
getMemberDetectors(Consumer<GetMemberDetectorsRequest.Builder> getMemberDetectorsRequest)
Describes which data sources are enabled for the member account's detector.
|
default CompletableFuture<GetMemberDetectorsResponse> |
getMemberDetectors(GetMemberDetectorsRequest getMemberDetectorsRequest)
Describes which data sources are enabled for the member account's detector.
|
default CompletableFuture<GetMembersResponse> |
getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account
IDs.
|
default CompletableFuture<GetMembersResponse> |
getMembers(GetMembersRequest getMembersRequest)
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account
IDs.
|
default CompletableFuture<GetRemainingFreeTrialDaysResponse> |
getRemainingFreeTrialDays(Consumer<GetRemainingFreeTrialDaysRequest.Builder> getRemainingFreeTrialDaysRequest)
Provides the number of days left for each data source used in the free trial period.
|
default CompletableFuture<GetRemainingFreeTrialDaysResponse> |
getRemainingFreeTrialDays(GetRemainingFreeTrialDaysRequest getRemainingFreeTrialDaysRequest)
Provides the number of days left for each data source used in the free trial period.
|
default CompletableFuture<GetThreatIntelSetResponse> |
getThreatIntelSet(Consumer<GetThreatIntelSetRequest.Builder> getThreatIntelSetRequest)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
|
default CompletableFuture<GetThreatIntelSetResponse> |
getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
|
default CompletableFuture<GetUsageStatisticsResponse> |
getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
default CompletableFuture<GetUsageStatisticsResponse> |
getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
default GetUsageStatisticsPublisher |
getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
default GetUsageStatisticsPublisher |
getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest)
Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector ID.
|
default CompletableFuture<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 CompletableFuture<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 CompletableFuture<ListDetectorsResponse> |
listDetectors()
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default CompletableFuture<ListDetectorsResponse> |
listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default CompletableFuture<ListDetectorsResponse> |
listDetectors(ListDetectorsRequest listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsPublisher |
listDetectorsPaginator()
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsPublisher |
listDetectorsPaginator(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default ListDetectorsPublisher |
listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
|
default CompletableFuture<ListFiltersResponse> |
listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Returns a paginated list of the current filters.
|
default CompletableFuture<ListFiltersResponse> |
listFilters(ListFiltersRequest listFiltersRequest)
Returns a paginated list of the current filters.
|
default ListFiltersPublisher |
listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
Returns a paginated list of the current filters.
|
default ListFiltersPublisher |
listFiltersPaginator(ListFiltersRequest listFiltersRequest)
Returns a paginated list of the current filters.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default CompletableFuture<ListFindingsResponse> |
listFindings(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsPublisher |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default ListFindingsPublisher |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations()
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default CompletableFuture<ListInvitationsResponse> |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsPublisher |
listInvitationsPaginator()
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default ListInvitationsPublisher |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
|
default CompletableFuture<ListIpSetsResponse> |
listIPSets(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<ListIpSetsResponse> |
listIPSets(ListIpSetsRequest listIpSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default ListIPSetsPublisher |
listIPSetsPaginator(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default ListIPSetsPublisher |
listIPSetsPaginator(ListIpSetsRequest listIpSetsRequest)
Lists the IPSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<ListMembersResponse> |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current GuardDuty administrator account.
|
default CompletableFuture<ListMembersResponse> |
listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current GuardDuty administrator account.
|
default ListMembersPublisher |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Lists details about all member accounts for the current GuardDuty administrator account.
|
default ListMembersPublisher |
listMembersPaginator(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current GuardDuty administrator account.
|
default CompletableFuture<ListOrganizationAdminAccountsResponse> |
listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default CompletableFuture<ListOrganizationAdminAccountsResponse> |
listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default ListOrganizationAdminAccountsPublisher |
listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default ListOrganizationAdminAccountsPublisher |
listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
|
default CompletableFuture<ListPublishingDestinationsResponse> |
listPublishingDestinations(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default CompletableFuture<ListPublishingDestinationsResponse> |
listPublishingDestinations(ListPublishingDestinationsRequest listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default ListPublishingDestinationsPublisher |
listPublishingDestinationsPaginator(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default ListPublishingDestinationsPublisher |
listPublishingDestinationsPaginator(ListPublishingDestinationsRequest listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified
detectorId. |
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists tags for a resource.
|
default CompletableFuture<ListTagsForResourceResponse> |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists tags for a resource.
|
default CompletableFuture<ListThreatIntelSetsResponse> |
listThreatIntelSets(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<ListThreatIntelSetsResponse> |
listThreatIntelSets(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default ListThreatIntelSetsPublisher |
listThreatIntelSetsPaginator(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default ListThreatIntelSetsPublisher |
listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
Lists the ThreatIntelSets of the GuardDuty service specified by the detector ID.
|
default CompletableFuture<StartMonitoringMembersResponse> |
startMonitoringMembers(Consumer<StartMonitoringMembersRequest.Builder> startMonitoringMembersRequest)
Turns on GuardDuty monitoring of the specified member accounts.
|
default CompletableFuture<StartMonitoringMembersResponse> |
startMonitoringMembers(StartMonitoringMembersRequest startMonitoringMembersRequest)
Turns on GuardDuty monitoring of the specified member accounts.
|
default CompletableFuture<StopMonitoringMembersResponse> |
stopMonitoringMembers(Consumer<StopMonitoringMembersRequest.Builder> stopMonitoringMembersRequest)
Stops GuardDuty monitoring for the specified member accounts.
|
default CompletableFuture<StopMonitoringMembersResponse> |
stopMonitoringMembers(StopMonitoringMembersRequest stopMonitoringMembersRequest)
Stops GuardDuty monitoring for the specified member accounts.
|
default CompletableFuture<TagResourceResponse> |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a resource.
|
default CompletableFuture<TagResourceResponse> |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
|
default CompletableFuture<UnarchiveFindingsResponse> |
unarchiveFindings(Consumer<UnarchiveFindingsRequest.Builder> unarchiveFindingsRequest)
Unarchives GuardDuty findings specified by the
findingIds. |
default CompletableFuture<UnarchiveFindingsResponse> |
unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest)
Unarchives GuardDuty findings specified by the
findingIds. |
default CompletableFuture<UntagResourceResponse> |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a resource.
|
default CompletableFuture<UntagResourceResponse> |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
|
default CompletableFuture<UpdateDetectorResponse> |
updateDetector(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest)
Updates the Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<UpdateDetectorResponse> |
updateDetector(UpdateDetectorRequest updateDetectorRequest)
Updates the Amazon GuardDuty detector specified by the detectorId.
|
default CompletableFuture<UpdateFilterResponse> |
updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)
Updates the filter specified by the filter name.
|
default CompletableFuture<UpdateFilterResponse> |
updateFilter(UpdateFilterRequest updateFilterRequest)
Updates the filter specified by the filter name.
|
default CompletableFuture<UpdateFindingsFeedbackResponse> |
updateFindingsFeedback(Consumer<UpdateFindingsFeedbackRequest.Builder> updateFindingsFeedbackRequest)
Marks the specified GuardDuty findings as useful or not useful.
|
default CompletableFuture<UpdateFindingsFeedbackResponse> |
updateFindingsFeedback(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest)
Marks the specified GuardDuty findings as useful or not useful.
|
default CompletableFuture<UpdateIpSetResponse> |
updateIPSet(Consumer<UpdateIpSetRequest.Builder> updateIpSetRequest)
Updates the IPSet specified by the IPSet ID.
|
default CompletableFuture<UpdateIpSetResponse> |
updateIPSet(UpdateIpSetRequest updateIpSetRequest)
Updates the IPSet specified by the IPSet ID.
|
default CompletableFuture<UpdateMalwareScanSettingsResponse> |
updateMalwareScanSettings(Consumer<UpdateMalwareScanSettingsRequest.Builder> updateMalwareScanSettingsRequest)
Updates the malware scan settings.
|
default CompletableFuture<UpdateMalwareScanSettingsResponse> |
updateMalwareScanSettings(UpdateMalwareScanSettingsRequest updateMalwareScanSettingsRequest)
Updates the malware scan settings.
|
default CompletableFuture<UpdateMemberDetectorsResponse> |
updateMemberDetectors(Consumer<UpdateMemberDetectorsRequest.Builder> updateMemberDetectorsRequest)
Contains information on member accounts to be updated.
|
default CompletableFuture<UpdateMemberDetectorsResponse> |
updateMemberDetectors(UpdateMemberDetectorsRequest updateMemberDetectorsRequest)
Contains information on member accounts to be updated.
|
default CompletableFuture<UpdateOrganizationConfigurationResponse> |
updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the delegated administrator account with the values provided.
|
default CompletableFuture<UpdateOrganizationConfigurationResponse> |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the delegated administrator account with the values provided.
|
default CompletableFuture<UpdatePublishingDestinationResponse> |
updatePublishingDestination(Consumer<UpdatePublishingDestinationRequest.Builder> updatePublishingDestinationRequest)
Updates information about the publishing destination specified by the
destinationId. |
default CompletableFuture<UpdatePublishingDestinationResponse> |
updatePublishingDestination(UpdatePublishingDestinationRequest updatePublishingDestinationRequest)
Updates information about the publishing destination specified by the
destinationId. |
default CompletableFuture<UpdateThreatIntelSetResponse> |
updateThreatIntelSet(Consumer<UpdateThreatIntelSetRequest.Builder> updateThreatIntelSetRequest)
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
|
default CompletableFuture<UpdateThreatIntelSetResponse> |
updateThreatIntelSet(UpdateThreatIntelSetRequest updateThreatIntelSetRequest)
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static GuardDutyAsyncClient create()
GuardDutyAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static GuardDutyAsyncClientBuilder builder()
GuardDutyAsyncClient.default CompletableFuture<AcceptAdministratorInvitationResponse> acceptAdministratorInvitation(AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest)
Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent the invitation.
acceptAdministratorInvitationRequest - default CompletableFuture<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.
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.@Deprecated default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Accepts the invitation to be monitored by a GuardDuty administrator account.
acceptInvitationRequest - @Deprecated default CompletableFuture<AcceptInvitationResponse> acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
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.default CompletableFuture<ArchiveFindingsResponse> archiveFindings(ArchiveFindingsRequest archiveFindingsRequest)
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 - default CompletableFuture<ArchiveFindingsResponse> archiveFindings(Consumer<ArchiveFindingsRequest.Builder> archiveFindingsRequest)
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.default CompletableFuture<CreateDetectorResponse> createDetector(CreateDetectorRequest createDetectorRequest)
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.
createDetectorRequest - default CompletableFuture<CreateDetectorResponse> createDetector(Consumer<CreateDetectorRequest.Builder> createDetectorRequest)
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.
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.default CompletableFuture<CreateFilterResponse> createFilter(CreateFilterRequest createFilterRequest)
Creates a filter using the specified finding criteria.
createFilterRequest - default CompletableFuture<CreateFilterResponse> createFilter(Consumer<CreateFilterRequest.Builder> createFilterRequest)
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.default CompletableFuture<CreateIpSetResponse> createIPSet(CreateIpSetRequest createIpSetRequest)
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 - default CompletableFuture<CreateIpSetResponse> createIPSet(Consumer<CreateIpSetRequest.Builder> createIpSetRequest)
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.default CompletableFuture<CreateMembersResponse> createMembers(CreateMembersRequest createMembersRequest)
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 been enabled in potential member
accounts and before using
Invite Members .
createMembersRequest - default CompletableFuture<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. 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 been enabled in potential member
accounts and before using
Invite Members .
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.default CompletableFuture<CreatePublishingDestinationResponse> createPublishingDestination(CreatePublishingDestinationRequest createPublishingDestinationRequest)
Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.
createPublishingDestinationRequest - default CompletableFuture<CreatePublishingDestinationResponse> createPublishingDestination(Consumer<CreatePublishingDestinationRequest.Builder> createPublishingDestinationRequest)
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.default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest)
Generates example findings of types specified by the list of finding types. If 'NULL' is specified for
findingTypes, the API generates example findings of all supported finding types.
createSampleFindingsRequest - default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest)
Generates example findings of types specified by the list of finding types. If 'NULL' is specified for
findingTypes, the API generates example 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.default CompletableFuture<CreateThreatIntelSetResponse> createThreatIntelSet(CreateThreatIntelSetRequest createThreatIntelSetRequest)
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 - default CompletableFuture<CreateThreatIntelSetResponse> createThreatIntelSet(Consumer<CreateThreatIntelSetRequest.Builder> createThreatIntelSetRequest)
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.default CompletableFuture<DeclineInvitationsResponse> declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
declineInvitationsRequest - default CompletableFuture<DeclineInvitationsResponse> declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
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.default CompletableFuture<DeleteDetectorResponse> deleteDetector(DeleteDetectorRequest deleteDetectorRequest)
Deletes an Amazon GuardDuty detector that is specified by the detector ID.
deleteDetectorRequest - default CompletableFuture<DeleteDetectorResponse> deleteDetector(Consumer<DeleteDetectorRequest.Builder> deleteDetectorRequest)
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.default CompletableFuture<DeleteFilterResponse> deleteFilter(DeleteFilterRequest deleteFilterRequest)
Deletes the filter specified by the filter name.
deleteFilterRequest - default CompletableFuture<DeleteFilterResponse> deleteFilter(Consumer<DeleteFilterRequest.Builder> deleteFilterRequest)
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.default CompletableFuture<DeleteIpSetResponse> deleteIPSet(DeleteIpSetRequest deleteIpSetRequest)
Deletes the IPSet specified by the ipSetId. IPSets are called trusted IP lists in the console user
interface.
deleteIpSetRequest - default CompletableFuture<DeleteIpSetResponse> deleteIPSet(Consumer<DeleteIpSetRequest.Builder> deleteIpSetRequest)
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.default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
deleteInvitationsRequest - default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
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.default CompletableFuture<DeleteMembersResponse> deleteMembers(DeleteMembersRequest deleteMembersRequest)
Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs.
deleteMembersRequest - default CompletableFuture<DeleteMembersResponse> deleteMembers(Consumer<DeleteMembersRequest.Builder> deleteMembersRequest)
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.default CompletableFuture<DeletePublishingDestinationResponse> deletePublishingDestination(DeletePublishingDestinationRequest deletePublishingDestinationRequest)
Deletes the publishing definition with the specified destinationId.
deletePublishingDestinationRequest - default CompletableFuture<DeletePublishingDestinationResponse> deletePublishingDestination(Consumer<DeletePublishingDestinationRequest.Builder> deletePublishingDestinationRequest)
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.default CompletableFuture<DeleteThreatIntelSetResponse> deleteThreatIntelSet(DeleteThreatIntelSetRequest deleteThreatIntelSetRequest)
Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
deleteThreatIntelSetRequest - default CompletableFuture<DeleteThreatIntelSetResponse> deleteThreatIntelSet(Consumer<DeleteThreatIntelSetRequest.Builder> deleteThreatIntelSetRequest)
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.default CompletableFuture<DescribeMalwareScansResponse> describeMalwareScans(DescribeMalwareScansRequest describeMalwareScansRequest)
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.
describeMalwareScansRequest - default CompletableFuture<DescribeMalwareScansResponse> describeMalwareScans(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest)
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.
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.default DescribeMalwareScansPublisher describeMalwareScansPaginator(DescribeMalwareScansRequest describeMalwareScansRequest)
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.
This is a variant of
describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default DescribeMalwareScansPublisher describeMalwareScansPaginator(Consumer<DescribeMalwareScansRequest.Builder> describeMalwareScansRequest)
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.
This is a variant of
describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Returns information about the account selected as the delegated administrator for GuardDuty.
describeOrganizationConfigurationRequest - default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Returns information about the account selected as the delegated administrator for GuardDuty.
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.default CompletableFuture<DescribePublishingDestinationResponse> describePublishingDestination(DescribePublishingDestinationRequest describePublishingDestinationRequest)
Returns information about the publishing destination specified by the provided destinationId.
describePublishingDestinationRequest - default CompletableFuture<DescribePublishingDestinationResponse> describePublishingDestination(Consumer<DescribePublishingDestinationRequest.Builder> describePublishingDestinationRequest)
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.default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)
Disables an Amazon Web Services account within the Organization as the GuardDuty delegated administrator.
disableOrganizationAdminAccountRequest - default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)
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.default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)
Disassociates the current GuardDuty member account from its administrator account.
disassociateFromAdministratorAccountRequest - default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)
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.@Deprecated default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
Disassociates the current GuardDuty member account from its administrator account.
disassociateFromMasterAccountRequest - @Deprecated default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
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.default CompletableFuture<DisassociateMembersResponse> disassociateMembers(DisassociateMembersRequest disassociateMembersRequest)
Disassociates GuardDuty member accounts (to the current administrator account) specified by the account IDs.
disassociateMembersRequest - default CompletableFuture<DisassociateMembersResponse> disassociateMembers(Consumer<DisassociateMembersRequest.Builder> disassociateMembersRequest)
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.default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)
Enables an Amazon Web Services account within the organization as the GuardDuty delegated administrator.
enableOrganizationAdminAccountRequest - default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)
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.default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
getAdministratorAccountRequest - default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)
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.default CompletableFuture<GetDetectorResponse> getDetector(GetDetectorRequest getDetectorRequest)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
getDetectorRequest - default CompletableFuture<GetDetectorResponse> getDetector(Consumer<GetDetectorRequest.Builder> getDetectorRequest)
Retrieves an Amazon GuardDuty detector specified by the detectorId.
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.default CompletableFuture<GetFilterResponse> getFilter(GetFilterRequest getFilterRequest)
Returns the details of the filter specified by the filter name.
getFilterRequest - default CompletableFuture<GetFilterResponse> getFilter(Consumer<GetFilterRequest.Builder> getFilterRequest)
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.default CompletableFuture<GetFindingsResponse> getFindings(GetFindingsRequest getFindingsRequest)
Describes Amazon GuardDuty findings specified by finding IDs.
getFindingsRequest - default CompletableFuture<GetFindingsResponse> getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
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.default CompletableFuture<GetFindingsStatisticsResponse> getFindingsStatistics(GetFindingsStatisticsRequest getFindingsStatisticsRequest)
Lists Amazon GuardDuty findings statistics for the specified detector ID.
getFindingsStatisticsRequest - default CompletableFuture<GetFindingsStatisticsResponse> getFindingsStatistics(Consumer<GetFindingsStatisticsRequest.Builder> getFindingsStatisticsRequest)
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.default CompletableFuture<GetIpSetResponse> getIPSet(GetIpSetRequest getIpSetRequest)
Retrieves the IPSet specified by the ipSetId.
getIpSetRequest - default CompletableFuture<GetIpSetResponse> getIPSet(Consumer<GetIpSetRequest.Builder> getIpSetRequest)
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.default CompletableFuture<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.
getInvitationsCountRequest - default CompletableFuture<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.
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.default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount()
Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
default CompletableFuture<GetMalwareScanSettingsResponse> getMalwareScanSettings(GetMalwareScanSettingsRequest getMalwareScanSettingsRequest)
Returns the details of the malware scan settings.
getMalwareScanSettingsRequest - default CompletableFuture<GetMalwareScanSettingsResponse> getMalwareScanSettings(Consumer<GetMalwareScanSettingsRequest.Builder> getMalwareScanSettingsRequest)
Returns the details of the malware scan settings.
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.@Deprecated default CompletableFuture<GetMasterAccountResponse> getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
Provides the details for the GuardDuty administrator account associated with the current GuardDuty member account.
getMasterAccountRequest - @Deprecated default CompletableFuture<GetMasterAccountResponse> getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
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.default CompletableFuture<GetMemberDetectorsResponse> getMemberDetectors(GetMemberDetectorsRequest getMemberDetectorsRequest)
Describes which data sources are enabled for the member account's detector.
getMemberDetectorsRequest - default CompletableFuture<GetMemberDetectorsResponse> getMemberDetectors(Consumer<GetMemberDetectorsRequest.Builder> getMemberDetectorsRequest)
Describes which data sources are enabled for the member account's detector.
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.default CompletableFuture<GetMembersResponse> getMembers(GetMembersRequest getMembersRequest)
Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account IDs.
getMembersRequest - default CompletableFuture<GetMembersResponse> getMembers(Consumer<GetMembersRequest.Builder> getMembersRequest)
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.default CompletableFuture<GetRemainingFreeTrialDaysResponse> getRemainingFreeTrialDays(GetRemainingFreeTrialDaysRequest getRemainingFreeTrialDaysRequest)
Provides the number of days left for each data source used in the free trial period.
getRemainingFreeTrialDaysRequest - default CompletableFuture<GetRemainingFreeTrialDaysResponse> getRemainingFreeTrialDays(Consumer<GetRemainingFreeTrialDaysRequest.Builder> getRemainingFreeTrialDaysRequest)
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.default CompletableFuture<GetThreatIntelSetResponse> getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest)
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
getThreatIntelSetRequest - default CompletableFuture<GetThreatIntelSetResponse> getThreatIntelSet(Consumer<GetThreatIntelSetRequest.Builder> getThreatIntelSetRequest)
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.default CompletableFuture<GetUsageStatisticsResponse> getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest)
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 - default CompletableFuture<GetUsageStatisticsResponse> getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)
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.default GetUsageStatisticsPublisher getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default GetUsageStatisticsPublisher getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<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.
inviteMembersRequest - default CompletableFuture<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.
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.default CompletableFuture<ListDetectorsResponse> listDetectors(ListDetectorsRequest listDetectorsRequest)
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
listDetectorsRequest - default CompletableFuture<ListDetectorsResponse> listDetectors(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
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.default CompletableFuture<ListDetectorsResponse> listDetectors()
Lists detectorIds of all the existing Amazon GuardDuty detector resources.
default ListDetectorsPublisher listDetectorsPaginator()
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListDetectorsPublisher listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListDetectorsPublisher listDetectorsPaginator(Consumer<ListDetectorsRequest.Builder> listDetectorsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListFiltersResponse> listFilters(ListFiltersRequest listFiltersRequest)
Returns a paginated list of the current filters.
listFiltersRequest - default CompletableFuture<ListFiltersResponse> listFilters(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
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.default ListFiltersPublisher listFiltersPaginator(ListFiltersRequest listFiltersRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListFiltersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListFiltersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListFiltersPublisher listFiltersPaginator(Consumer<ListFiltersRequest.Builder> listFiltersRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListFiltersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListFiltersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest)
Lists Amazon GuardDuty findings for the specified detector ID.
listFindingsRequest - default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
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.default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListFindingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListFindingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListIpSetsResponse> listIPSets(ListIpSetsRequest listIpSetsRequest)
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 - default CompletableFuture<ListIpSetsResponse> listIPSets(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest)
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.default ListIPSetsPublisher listIPSetsPaginator(ListIpSetsRequest listIpSetsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListIPSetsPublisher listIPSetsPaginator(Consumer<ListIpSetsRequest.Builder> listIpSetsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest)
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
listInvitationsRequest - default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
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.default CompletableFuture<ListInvitationsResponse> listInvitations()
Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account.
default ListInvitationsPublisher listInvitationsPaginator()
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.
default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListInvitationsPublisher listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
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 publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListMembersResponse> listMembers(ListMembersRequest listMembersRequest)
Lists details about all member accounts for the current GuardDuty administrator account.
listMembersRequest - default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
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.default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListMembersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListMembersResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListMembersResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Lists the accounts configured as GuardDuty delegated administrators.
listOrganizationAdminAccountsRequest - default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
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.default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListPublishingDestinationsResponse> listPublishingDestinations(ListPublishingDestinationsRequest listPublishingDestinationsRequest)
Returns a list of publishing destinations associated with the specified detectorId.
listPublishingDestinationsRequest - default CompletableFuture<ListPublishingDestinationsResponse> listPublishingDestinations(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest)
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.default ListPublishingDestinationsPublisher listPublishingDestinationsPaginator(ListPublishingDestinationsRequest listPublishingDestinationsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListPublishingDestinationsPublisher listPublishingDestinationsPaginator(Consumer<ListPublishingDestinationsRequest.Builder> listPublishingDestinationsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
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 - default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
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.default CompletableFuture<ListThreatIntelSetsResponse> listThreatIntelSets(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
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 - default CompletableFuture<ListThreatIntelSetsResponse> listThreatIntelSets(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
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.default ListThreatIntelSetsPublisher listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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 - default ListThreatIntelSetsPublisher listThreatIntelSetsPaginator(Consumer<ListThreatIntelSetsRequest.Builder> listThreatIntelSetsRequest)
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 publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe
method will result in a new Subscription i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
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.default CompletableFuture<StartMonitoringMembersResponse> startMonitoringMembers(StartMonitoringMembersRequest startMonitoringMembersRequest)
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 - default CompletableFuture<StartMonitoringMembersResponse> startMonitoringMembers(Consumer<StartMonitoringMembersRequest.Builder> startMonitoringMembersRequest)
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.default CompletableFuture<StopMonitoringMembersResponse> stopMonitoringMembers(StopMonitoringMembersRequest stopMonitoringMembersRequest)
Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers
operation to restart monitoring for those accounts.
stopMonitoringMembersRequest - default CompletableFuture<StopMonitoringMembersResponse> stopMonitoringMembers(Consumer<StopMonitoringMembersRequest.Builder> stopMonitoringMembersRequest)
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.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a resource.
tagResourceRequest - default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
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.default CompletableFuture<UnarchiveFindingsResponse> unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest)
Unarchives GuardDuty findings specified by the findingIds.
unarchiveFindingsRequest - default CompletableFuture<UnarchiveFindingsResponse> unarchiveFindings(Consumer<UnarchiveFindingsRequest.Builder> unarchiveFindingsRequest)
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.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a resource.
untagResourceRequest - default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
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.default CompletableFuture<UpdateDetectorResponse> updateDetector(UpdateDetectorRequest updateDetectorRequest)
Updates the Amazon GuardDuty detector specified by the detectorId.
updateDetectorRequest - default CompletableFuture<UpdateDetectorResponse> updateDetector(Consumer<UpdateDetectorRequest.Builder> updateDetectorRequest)
Updates the Amazon GuardDuty detector specified by the detectorId.
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.default CompletableFuture<UpdateFilterResponse> updateFilter(UpdateFilterRequest updateFilterRequest)
Updates the filter specified by the filter name.
updateFilterRequest - default CompletableFuture<UpdateFilterResponse> updateFilter(Consumer<UpdateFilterRequest.Builder> updateFilterRequest)
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.default CompletableFuture<UpdateFindingsFeedbackResponse> updateFindingsFeedback(UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest)
Marks the specified GuardDuty findings as useful or not useful.
updateFindingsFeedbackRequest - default CompletableFuture<UpdateFindingsFeedbackResponse> updateFindingsFeedback(Consumer<UpdateFindingsFeedbackRequest.Builder> updateFindingsFeedbackRequest)
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.default CompletableFuture<UpdateIpSetResponse> updateIPSet(UpdateIpSetRequest updateIpSetRequest)
Updates the IPSet specified by the IPSet ID.
updateIpSetRequest - default CompletableFuture<UpdateIpSetResponse> updateIPSet(Consumer<UpdateIpSetRequest.Builder> updateIpSetRequest)
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.default CompletableFuture<UpdateMalwareScanSettingsResponse> updateMalwareScanSettings(UpdateMalwareScanSettingsRequest updateMalwareScanSettingsRequest)
Updates the malware scan settings.
updateMalwareScanSettingsRequest - default CompletableFuture<UpdateMalwareScanSettingsResponse> updateMalwareScanSettings(Consumer<UpdateMalwareScanSettingsRequest.Builder> updateMalwareScanSettingsRequest)
Updates the malware scan settings.
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.default CompletableFuture<UpdateMemberDetectorsResponse> updateMemberDetectors(UpdateMemberDetectorsRequest updateMemberDetectorsRequest)
Contains information on member accounts to be updated.
updateMemberDetectorsRequest - default CompletableFuture<UpdateMemberDetectorsResponse> updateMemberDetectors(Consumer<UpdateMemberDetectorsRequest.Builder> updateMemberDetectorsRequest)
Contains information on member accounts to be updated.
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.default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the delegated administrator account with the values provided.
updateOrganizationConfigurationRequest - default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the delegated administrator account with the values provided.
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.default CompletableFuture<UpdatePublishingDestinationResponse> updatePublishingDestination(UpdatePublishingDestinationRequest updatePublishingDestinationRequest)
Updates information about the publishing destination specified by the destinationId.
updatePublishingDestinationRequest - default CompletableFuture<UpdatePublishingDestinationResponse> updatePublishingDestination(Consumer<UpdatePublishingDestinationRequest.Builder> updatePublishingDestinationRequest)
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.default CompletableFuture<UpdateThreatIntelSetResponse> updateThreatIntelSet(UpdateThreatIntelSetRequest updateThreatIntelSetRequest)
Updates the ThreatIntelSet specified by the ThreatIntelSet ID.
updateThreatIntelSetRequest - default CompletableFuture<UpdateThreatIntelSetResponse> updateThreatIntelSet(Consumer<UpdateThreatIntelSetRequest.Builder> updateThreatIntelSetRequest)
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.Copyright © 2023. All rights reserved.