All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.guardduty.GuardDutyAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon GuardDuty module holds the client classes that are used for communicating with Amazon GuardDuty Service

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.guardduty;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.guardduty.model.AcceptAdministratorInvitationRequest;
import software.amazon.awssdk.services.guardduty.model.AcceptAdministratorInvitationResponse;
import software.amazon.awssdk.services.guardduty.model.AcceptInvitationRequest;
import software.amazon.awssdk.services.guardduty.model.AcceptInvitationResponse;
import software.amazon.awssdk.services.guardduty.model.ArchiveFindingsRequest;
import software.amazon.awssdk.services.guardduty.model.ArchiveFindingsResponse;
import software.amazon.awssdk.services.guardduty.model.CreateDetectorRequest;
import software.amazon.awssdk.services.guardduty.model.CreateDetectorResponse;
import software.amazon.awssdk.services.guardduty.model.CreateFilterRequest;
import software.amazon.awssdk.services.guardduty.model.CreateFilterResponse;
import software.amazon.awssdk.services.guardduty.model.CreateIpSetRequest;
import software.amazon.awssdk.services.guardduty.model.CreateIpSetResponse;
import software.amazon.awssdk.services.guardduty.model.CreateMembersRequest;
import software.amazon.awssdk.services.guardduty.model.CreateMembersResponse;
import software.amazon.awssdk.services.guardduty.model.CreatePublishingDestinationRequest;
import software.amazon.awssdk.services.guardduty.model.CreatePublishingDestinationResponse;
import software.amazon.awssdk.services.guardduty.model.CreateSampleFindingsRequest;
import software.amazon.awssdk.services.guardduty.model.CreateSampleFindingsResponse;
import software.amazon.awssdk.services.guardduty.model.CreateThreatIntelSetRequest;
import software.amazon.awssdk.services.guardduty.model.CreateThreatIntelSetResponse;
import software.amazon.awssdk.services.guardduty.model.DeclineInvitationsRequest;
import software.amazon.awssdk.services.guardduty.model.DeclineInvitationsResponse;
import software.amazon.awssdk.services.guardduty.model.DeleteDetectorRequest;
import software.amazon.awssdk.services.guardduty.model.DeleteDetectorResponse;
import software.amazon.awssdk.services.guardduty.model.DeleteFilterRequest;
import software.amazon.awssdk.services.guardduty.model.DeleteFilterResponse;
import software.amazon.awssdk.services.guardduty.model.DeleteInvitationsRequest;
import software.amazon.awssdk.services.guardduty.model.DeleteInvitationsResponse;
import software.amazon.awssdk.services.guardduty.model.DeleteIpSetRequest;
import software.amazon.awssdk.services.guardduty.model.DeleteIpSetResponse;
import software.amazon.awssdk.services.guardduty.model.DeleteMembersRequest;
import software.amazon.awssdk.services.guardduty.model.DeleteMembersResponse;
import software.amazon.awssdk.services.guardduty.model.DeletePublishingDestinationRequest;
import software.amazon.awssdk.services.guardduty.model.DeletePublishingDestinationResponse;
import software.amazon.awssdk.services.guardduty.model.DeleteThreatIntelSetRequest;
import software.amazon.awssdk.services.guardduty.model.DeleteThreatIntelSetResponse;
import software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest;
import software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansResponse;
import software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest;
import software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationResponse;
import software.amazon.awssdk.services.guardduty.model.DescribePublishingDestinationRequest;
import software.amazon.awssdk.services.guardduty.model.DescribePublishingDestinationResponse;
import software.amazon.awssdk.services.guardduty.model.DisableOrganizationAdminAccountRequest;
import software.amazon.awssdk.services.guardduty.model.DisableOrganizationAdminAccountResponse;
import software.amazon.awssdk.services.guardduty.model.DisassociateFromAdministratorAccountRequest;
import software.amazon.awssdk.services.guardduty.model.DisassociateFromAdministratorAccountResponse;
import software.amazon.awssdk.services.guardduty.model.DisassociateFromMasterAccountRequest;
import software.amazon.awssdk.services.guardduty.model.DisassociateFromMasterAccountResponse;
import software.amazon.awssdk.services.guardduty.model.DisassociateMembersRequest;
import software.amazon.awssdk.services.guardduty.model.DisassociateMembersResponse;
import software.amazon.awssdk.services.guardduty.model.EnableOrganizationAdminAccountRequest;
import software.amazon.awssdk.services.guardduty.model.EnableOrganizationAdminAccountResponse;
import software.amazon.awssdk.services.guardduty.model.GetAdministratorAccountRequest;
import software.amazon.awssdk.services.guardduty.model.GetAdministratorAccountResponse;
import software.amazon.awssdk.services.guardduty.model.GetCoverageStatisticsRequest;
import software.amazon.awssdk.services.guardduty.model.GetCoverageStatisticsResponse;
import software.amazon.awssdk.services.guardduty.model.GetDetectorRequest;
import software.amazon.awssdk.services.guardduty.model.GetDetectorResponse;
import software.amazon.awssdk.services.guardduty.model.GetFilterRequest;
import software.amazon.awssdk.services.guardduty.model.GetFilterResponse;
import software.amazon.awssdk.services.guardduty.model.GetFindingsRequest;
import software.amazon.awssdk.services.guardduty.model.GetFindingsResponse;
import software.amazon.awssdk.services.guardduty.model.GetFindingsStatisticsRequest;
import software.amazon.awssdk.services.guardduty.model.GetFindingsStatisticsResponse;
import software.amazon.awssdk.services.guardduty.model.GetInvitationsCountRequest;
import software.amazon.awssdk.services.guardduty.model.GetInvitationsCountResponse;
import software.amazon.awssdk.services.guardduty.model.GetIpSetRequest;
import software.amazon.awssdk.services.guardduty.model.GetIpSetResponse;
import software.amazon.awssdk.services.guardduty.model.GetMalwareScanSettingsRequest;
import software.amazon.awssdk.services.guardduty.model.GetMalwareScanSettingsResponse;
import software.amazon.awssdk.services.guardduty.model.GetMasterAccountRequest;
import software.amazon.awssdk.services.guardduty.model.GetMasterAccountResponse;
import software.amazon.awssdk.services.guardduty.model.GetMemberDetectorsRequest;
import software.amazon.awssdk.services.guardduty.model.GetMemberDetectorsResponse;
import software.amazon.awssdk.services.guardduty.model.GetMembersRequest;
import software.amazon.awssdk.services.guardduty.model.GetMembersResponse;
import software.amazon.awssdk.services.guardduty.model.GetOrganizationStatisticsRequest;
import software.amazon.awssdk.services.guardduty.model.GetOrganizationStatisticsResponse;
import software.amazon.awssdk.services.guardduty.model.GetRemainingFreeTrialDaysRequest;
import software.amazon.awssdk.services.guardduty.model.GetRemainingFreeTrialDaysResponse;
import software.amazon.awssdk.services.guardduty.model.GetThreatIntelSetRequest;
import software.amazon.awssdk.services.guardduty.model.GetThreatIntelSetResponse;
import software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest;
import software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsResponse;
import software.amazon.awssdk.services.guardduty.model.InviteMembersRequest;
import software.amazon.awssdk.services.guardduty.model.InviteMembersResponse;
import software.amazon.awssdk.services.guardduty.model.ListCoverageRequest;
import software.amazon.awssdk.services.guardduty.model.ListCoverageResponse;
import software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest;
import software.amazon.awssdk.services.guardduty.model.ListDetectorsResponse;
import software.amazon.awssdk.services.guardduty.model.ListFiltersRequest;
import software.amazon.awssdk.services.guardduty.model.ListFiltersResponse;
import software.amazon.awssdk.services.guardduty.model.ListFindingsRequest;
import software.amazon.awssdk.services.guardduty.model.ListFindingsResponse;
import software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest;
import software.amazon.awssdk.services.guardduty.model.ListInvitationsResponse;
import software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest;
import software.amazon.awssdk.services.guardduty.model.ListIpSetsResponse;
import software.amazon.awssdk.services.guardduty.model.ListMembersRequest;
import software.amazon.awssdk.services.guardduty.model.ListMembersResponse;
import software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest;
import software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsResponse;
import software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest;
import software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsResponse;
import software.amazon.awssdk.services.guardduty.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.guardduty.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest;
import software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsResponse;
import software.amazon.awssdk.services.guardduty.model.StartMalwareScanRequest;
import software.amazon.awssdk.services.guardduty.model.StartMalwareScanResponse;
import software.amazon.awssdk.services.guardduty.model.StartMonitoringMembersRequest;
import software.amazon.awssdk.services.guardduty.model.StartMonitoringMembersResponse;
import software.amazon.awssdk.services.guardduty.model.StopMonitoringMembersRequest;
import software.amazon.awssdk.services.guardduty.model.StopMonitoringMembersResponse;
import software.amazon.awssdk.services.guardduty.model.TagResourceRequest;
import software.amazon.awssdk.services.guardduty.model.TagResourceResponse;
import software.amazon.awssdk.services.guardduty.model.UnarchiveFindingsRequest;
import software.amazon.awssdk.services.guardduty.model.UnarchiveFindingsResponse;
import software.amazon.awssdk.services.guardduty.model.UntagResourceRequest;
import software.amazon.awssdk.services.guardduty.model.UntagResourceResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateDetectorRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateDetectorResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateFilterRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateFilterResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateFindingsFeedbackRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateFindingsFeedbackResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateIpSetRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateIpSetResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateMalwareScanSettingsRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateMalwareScanSettingsResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateMemberDetectorsRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateMemberDetectorsResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateOrganizationConfigurationRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateOrganizationConfigurationResponse;
import software.amazon.awssdk.services.guardduty.model.UpdatePublishingDestinationRequest;
import software.amazon.awssdk.services.guardduty.model.UpdatePublishingDestinationResponse;
import software.amazon.awssdk.services.guardduty.model.UpdateThreatIntelSetRequest;
import software.amazon.awssdk.services.guardduty.model.UpdateThreatIntelSetResponse;
import software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher;
import software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationPublisher;
import software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListCoveragePublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher;
import software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher;

/**
 * Service client for accessing Amazon GuardDuty asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * 

* Amazon GuardDuty is a continuous security monitoring service that analyzes and processes the following foundational * data sources - VPC flow logs, Amazon Web Services CloudTrail management event logs, CloudTrail S3 data event logs, * EKS audit logs, DNS logs, Amazon EBS volume data, runtime activity belonging to container workloads, such as Amazon * EKS, Amazon ECS (including Amazon Web Services Fargate), and Amazon EC2 instances. It uses threat intelligence feeds, * such as lists of malicious IPs and domains, and machine learning to identify unexpected, potentially unauthorized, * and malicious activity within your Amazon Web Services environment. This can include issues like escalations of * privileges, uses of exposed credentials, or communication with malicious IPs, domains, or presence of malware on your * Amazon EC2 instances and container workloads. For example, GuardDuty can detect compromised EC2 instances and * container workloads serving malware, or mining bitcoin. *

*

* GuardDuty also monitors Amazon Web Services account access behavior for signs of compromise, such as unauthorized * infrastructure deployments like EC2 instances deployed in a Region that has never been used, or unusual API calls * like a password policy change to reduce password strength. *

*

* GuardDuty informs you about the status of your Amazon Web Services environment by producing security findings that * you can view in the GuardDuty console or through Amazon EventBridge. For more information, see the Amazon GuardDuty User Guide . *

*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface GuardDutyAsyncClient extends AwsClient { String SERVICE_NAME = "guardduty"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "guardduty"; /** *

* Accepts the invitation to be a member account and get monitored by a GuardDuty administrator account that sent * the invitation. *

* * @param acceptAdministratorInvitationRequest * @return A Java Future containing the result of the AcceptAdministratorInvitation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.AcceptAdministratorInvitation * @see AWS API Documentation */ default CompletableFuture acceptAdministratorInvitation( AcceptAdministratorInvitationRequest acceptAdministratorInvitationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link AcceptAdministratorInvitationRequest.Builder} * avoiding the need to create one manually via {@link AcceptAdministratorInvitationRequest#builder()} *

* * @param acceptAdministratorInvitationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.AcceptAdministratorInvitationRequest.Builder} to * create a request. * @return A Java Future containing the result of the AcceptAdministratorInvitation operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.AcceptAdministratorInvitation * @see AWS API Documentation */ default CompletableFuture acceptAdministratorInvitation( Consumer acceptAdministratorInvitationRequest) { return acceptAdministratorInvitation(AcceptAdministratorInvitationRequest.builder() .applyMutation(acceptAdministratorInvitationRequest).build()); } /** *

* Accepts the invitation to be monitored by a GuardDuty administrator account. *

* * @param acceptInvitationRequest * @return A Java Future containing the result of the AcceptInvitation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.AcceptInvitation * @see AWS * API Documentation * * @deprecated This operation is deprecated, use AcceptAdministratorInvitation instead */ @Deprecated default CompletableFuture acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) { throw new UnsupportedOperationException(); } /** *

* Accepts the invitation to be monitored by a GuardDuty administrator account. *

*
*

* This is a convenience which creates an instance of the {@link AcceptInvitationRequest.Builder} avoiding the need * to create one manually via {@link AcceptInvitationRequest#builder()} *

* * @param acceptInvitationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.AcceptInvitationRequest.Builder} to create a * request. * @return A Java Future containing the result of the AcceptInvitation operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.AcceptInvitation * @see AWS * API Documentation * * @deprecated This operation is deprecated, use AcceptAdministratorInvitation instead */ @Deprecated default CompletableFuture acceptInvitation( Consumer acceptInvitationRequest) { return acceptInvitation(AcceptInvitationRequest.builder().applyMutation(acceptInvitationRequest).build()); } /** *

* 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. *

*
* * @param archiveFindingsRequest * @return A Java Future containing the result of the ArchiveFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ArchiveFindings * @see AWS API * Documentation */ default CompletableFuture archiveFindings(ArchiveFindingsRequest archiveFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ArchiveFindingsRequest.Builder} avoiding the need * to create one manually via {@link ArchiveFindingsRequest#builder()} *

* * @param archiveFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ArchiveFindingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ArchiveFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ArchiveFindings * @see AWS API * Documentation */ default CompletableFuture archiveFindings( Consumer archiveFindingsRequest) { return archiveFindings(ArchiveFindingsRequest.builder().applyMutation(archiveFindingsRequest).build()); } /** *

* Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To * start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only * one detector per account per Region. All data sources are enabled in a new detector by default. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param createDetectorRequest * @return A Java Future containing the result of the CreateDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateDetector * @see AWS API * Documentation */ default CompletableFuture createDetector(CreateDetectorRequest createDetectorRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a single Amazon GuardDuty detector. A detector is a resource that represents the GuardDuty service. To * start using GuardDuty, you must create a detector in each Region where you enable the service. You can have only * one detector per account per Region. All data sources are enabled in a new detector by default. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link CreateDetectorRequest.Builder} avoiding the need to * create one manually via {@link CreateDetectorRequest#builder()} *

* * @param createDetectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreateDetectorRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateDetector * @see AWS API * Documentation */ default CompletableFuture createDetector(Consumer createDetectorRequest) { return createDetector(CreateDetectorRequest.builder().applyMutation(createDetectorRequest).build()); } /** *

* Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web * Services account per Region is 100. For more information, see Quotas for GuardDuty. *

* * @param createFilterRequest * @return A Java Future containing the result of the CreateFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateFilter * @see AWS API * Documentation */ default CompletableFuture createFilter(CreateFilterRequest createFilterRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a filter using the specified finding criteria. The maximum number of saved filters per Amazon Web * Services account per Region is 100. For more information, see Quotas for GuardDuty. *

*
*

* This is a convenience which creates an instance of the {@link CreateFilterRequest.Builder} avoiding the need to * create one manually via {@link CreateFilterRequest#builder()} *

* * @param createFilterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreateFilterRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateFilter * @see AWS API * Documentation */ default CompletableFuture createFilter(Consumer createFilterRequest) { return createFilter(CreateFilterRequest.builder().applyMutation(createFilterRequest).build()); } /** *

* 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. *

* * @param createIpSetRequest * @return A Java Future containing the result of the CreateIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateIPSet * @see AWS API * Documentation */ default CompletableFuture createIPSet(CreateIpSetRequest createIpSetRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateIpSetRequest.Builder} avoiding the need to * create one manually via {@link CreateIpSetRequest#builder()} *

* * @param createIpSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreateIpSetRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateIPSet * @see AWS API * Documentation */ default CompletableFuture createIPSet(Consumer createIpSetRequest) { return createIPSet(CreateIpSetRequest.builder().applyMutation(createIpSetRequest).build()); } /** *

* Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services * account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or * through an organization. *

*

* As a delegated administrator, using CreateMembers will enable GuardDuty in the added member * accounts, with the exception of the organization delegated administrator account. A delegated administrator must * enable GuardDuty prior to being added as a member. *

*

* When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's * auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing * members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration. *

*

* If you are adding accounts by invitation, before using InviteMembers, use * CreateMembers after GuardDuty has been enabled in potential member accounts. *

*

* If you disassociate a member from a GuardDuty delegated administrator, the member account details obtained from * this API, including the associated email addresses, will be retained. This is done so that the delegated * administrator can invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

* * @param createMembersRequest * @return A Java Future containing the result of the CreateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateMembers * @see AWS API * Documentation */ default CompletableFuture createMembers(CreateMembersRequest createMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services * account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or * through an organization. *

*

* As a delegated administrator, using CreateMembers will enable GuardDuty in the added member * accounts, with the exception of the organization delegated administrator account. A delegated administrator must * enable GuardDuty prior to being added as a member. *

*

* When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's * auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing * members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration. *

*

* If you are adding accounts by invitation, before using InviteMembers, use * CreateMembers after GuardDuty has been enabled in potential member accounts. *

*

* If you disassociate a member from a GuardDuty delegated administrator, the member account details obtained from * this API, including the associated email addresses, will be retained. This is done so that the delegated * administrator can invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

*
*

* This is a convenience which creates an instance of the {@link CreateMembersRequest.Builder} avoiding the need to * create one manually via {@link CreateMembersRequest#builder()} *

* * @param createMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreateMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateMembers * @see AWS API * Documentation */ default CompletableFuture createMembers(Consumer createMembersRequest) { return createMembers(CreateMembersRequest.builder().applyMutation(createMembersRequest).build()); } /** *

* Creates a publishing destination to export findings to. The resource to export findings to must exist before you * use this operation. *

* * @param createPublishingDestinationRequest * @return A Java Future containing the result of the CreatePublishingDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreatePublishingDestination * @see AWS API Documentation */ default CompletableFuture createPublishingDestination( CreatePublishingDestinationRequest createPublishingDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreatePublishingDestinationRequest.Builder} * avoiding the need to create one manually via {@link CreatePublishingDestinationRequest#builder()} *

* * @param createPublishingDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreatePublishingDestinationRequest.Builder} to * create a request. * @return A Java Future containing the result of the CreatePublishingDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreatePublishingDestination * @see AWS API Documentation */ default CompletableFuture createPublishingDestination( Consumer createPublishingDestinationRequest) { return createPublishingDestination(CreatePublishingDestinationRequest.builder() .applyMutation(createPublishingDestinationRequest).build()); } /** *

* Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for * findingTypes, the API generates sample findings of all supported finding types. *

* * @param createSampleFindingsRequest * @return A Java Future containing the result of the CreateSampleFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateSampleFindings * @see AWS API Documentation */ default CompletableFuture createSampleFindings( CreateSampleFindingsRequest createSampleFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for * findingTypes, the API generates sample findings of all supported finding types. *

*
*

* This is a convenience which creates an instance of the {@link CreateSampleFindingsRequest.Builder} avoiding the * need to create one manually via {@link CreateSampleFindingsRequest#builder()} *

* * @param createSampleFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreateSampleFindingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateSampleFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateSampleFindings * @see AWS API Documentation */ default CompletableFuture createSampleFindings( Consumer createSampleFindingsRequest) { return createSampleFindings(CreateSampleFindingsRequest.builder().applyMutation(createSampleFindingsRequest).build()); } /** *

* 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. *

* * @param createThreatIntelSetRequest * @return A Java Future containing the result of the CreateThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateThreatIntelSet * @see AWS API Documentation */ default CompletableFuture createThreatIntelSet( CreateThreatIntelSetRequest createThreatIntelSetRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link CreateThreatIntelSetRequest.Builder} avoiding the * need to create one manually via {@link CreateThreatIntelSetRequest#builder()} *

* * @param createThreatIntelSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.CreateThreatIntelSetRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.CreateThreatIntelSet * @see AWS API Documentation */ default CompletableFuture createThreatIntelSet( Consumer createThreatIntelSetRequest) { return createThreatIntelSet(CreateThreatIntelSetRequest.builder().applyMutation(createThreatIntelSetRequest).build()); } /** *

* Declines invitations sent to the current member account by Amazon Web Services accounts specified by their * account IDs. *

* * @param declineInvitationsRequest * @return A Java Future containing the result of the DeclineInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeclineInvitations * @see AWS * API Documentation */ default CompletableFuture declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeclineInvitationsRequest.Builder} avoiding the * need to create one manually via {@link DeclineInvitationsRequest#builder()} *

* * @param declineInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeclineInvitationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeclineInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeclineInvitations * @see AWS * API Documentation */ default CompletableFuture declineInvitations( Consumer declineInvitationsRequest) { return declineInvitations(DeclineInvitationsRequest.builder().applyMutation(declineInvitationsRequest).build()); } /** *

* Deletes an Amazon GuardDuty detector that is specified by the detector ID. *

* * @param deleteDetectorRequest * @return A Java Future containing the result of the DeleteDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteDetector * @see AWS API * Documentation */ default CompletableFuture deleteDetector(DeleteDetectorRequest deleteDetectorRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an Amazon GuardDuty detector that is specified by the detector ID. *

*
*

* This is a convenience which creates an instance of the {@link DeleteDetectorRequest.Builder} avoiding the need to * create one manually via {@link DeleteDetectorRequest#builder()} *

* * @param deleteDetectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeleteDetectorRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteDetector * @see AWS API * Documentation */ default CompletableFuture deleteDetector(Consumer deleteDetectorRequest) { return deleteDetector(DeleteDetectorRequest.builder().applyMutation(deleteDetectorRequest).build()); } /** *

* Deletes the filter specified by the filter name. *

* * @param deleteFilterRequest * @return A Java Future containing the result of the DeleteFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteFilter * @see AWS API * Documentation */ default CompletableFuture deleteFilter(DeleteFilterRequest deleteFilterRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the filter specified by the filter name. *

*
*

* This is a convenience which creates an instance of the {@link DeleteFilterRequest.Builder} avoiding the need to * create one manually via {@link DeleteFilterRequest#builder()} *

* * @param deleteFilterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeleteFilterRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteFilter * @see AWS API * Documentation */ default CompletableFuture deleteFilter(Consumer deleteFilterRequest) { return deleteFilter(DeleteFilterRequest.builder().applyMutation(deleteFilterRequest).build()); } /** *

* Deletes the IPSet specified by the ipSetId. IPSets are called trusted IP lists in the console user * interface. *

* * @param deleteIpSetRequest * @return A Java Future containing the result of the DeleteIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteIPSet * @see AWS API * Documentation */ default CompletableFuture deleteIPSet(DeleteIpSetRequest deleteIpSetRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteIpSetRequest.Builder} avoiding the need to * create one manually via {@link DeleteIpSetRequest#builder()} *

* * @param deleteIpSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeleteIpSetRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteIPSet * @see AWS API * Documentation */ default CompletableFuture deleteIPSet(Consumer deleteIpSetRequest) { return deleteIPSet(DeleteIpSetRequest.builder().applyMutation(deleteIpSetRequest).build()); } /** *

* Deletes invitations sent to the current member account by Amazon Web Services accounts specified by their account * IDs. *

* * @param deleteInvitationsRequest * @return A Java Future containing the result of the DeleteInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteInvitations * @see AWS * API Documentation */ default CompletableFuture deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link DeleteInvitationsRequest.Builder} avoiding the need * to create one manually via {@link DeleteInvitationsRequest#builder()} *

* * @param deleteInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeleteInvitationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteInvitations * @see AWS * API Documentation */ default CompletableFuture deleteInvitations( Consumer deleteInvitationsRequest) { return deleteInvitations(DeleteInvitationsRequest.builder().applyMutation(deleteInvitationsRequest).build()); } /** *

* Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to disable GuardDuty for a member account in your organization. *

* * @param deleteMembersRequest * @return A Java Future containing the result of the DeleteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteMembers * @see AWS API * Documentation */ default CompletableFuture deleteMembers(DeleteMembersRequest deleteMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes GuardDuty member accounts (to the current GuardDuty administrator account) specified by the account IDs. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to disable GuardDuty for a member account in your organization. *

*
*

* This is a convenience which creates an instance of the {@link DeleteMembersRequest.Builder} avoiding the need to * create one manually via {@link DeleteMembersRequest#builder()} *

* * @param deleteMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeleteMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the DeleteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteMembers * @see AWS API * Documentation */ default CompletableFuture deleteMembers(Consumer deleteMembersRequest) { return deleteMembers(DeleteMembersRequest.builder().applyMutation(deleteMembersRequest).build()); } /** *

* Deletes the publishing definition with the specified destinationId. *

* * @param deletePublishingDestinationRequest * @return A Java Future containing the result of the DeletePublishingDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeletePublishingDestination * @see AWS API Documentation */ default CompletableFuture deletePublishingDestination( DeletePublishingDestinationRequest deletePublishingDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the publishing definition with the specified destinationId. *

*
*

* This is a convenience which creates an instance of the {@link DeletePublishingDestinationRequest.Builder} * avoiding the need to create one manually via {@link DeletePublishingDestinationRequest#builder()} *

* * @param deletePublishingDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeletePublishingDestinationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DeletePublishingDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeletePublishingDestination * @see AWS API Documentation */ default CompletableFuture deletePublishingDestination( Consumer deletePublishingDestinationRequest) { return deletePublishingDestination(DeletePublishingDestinationRequest.builder() .applyMutation(deletePublishingDestinationRequest).build()); } /** *

* Deletes the ThreatIntelSet specified by the ThreatIntelSet ID. *

* * @param deleteThreatIntelSetRequest * @return A Java Future containing the result of the DeleteThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteThreatIntelSet * @see AWS API Documentation */ default CompletableFuture deleteThreatIntelSet( DeleteThreatIntelSetRequest deleteThreatIntelSetRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the ThreatIntelSet specified by the ThreatIntelSet ID. *

*
*

* This is a convenience which creates an instance of the {@link DeleteThreatIntelSetRequest.Builder} avoiding the * need to create one manually via {@link DeleteThreatIntelSetRequest#builder()} *

* * @param deleteThreatIntelSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DeleteThreatIntelSetRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DeleteThreatIntelSet * @see AWS API Documentation */ default CompletableFuture deleteThreatIntelSet( Consumer deleteThreatIntelSetRequest) { return deleteThreatIntelSet(DeleteThreatIntelSetRequest.builder().applyMutation(deleteThreatIntelSetRequest).build()); } /** *

* Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An * administrator can view the malware scans for all the member accounts. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param describeMalwareScansRequest * @return A Java Future containing the result of the DescribeMalwareScans operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeMalwareScans * @see AWS API Documentation */ default CompletableFuture describeMalwareScans( DescribeMalwareScansRequest describeMalwareScansRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of malware scans. Each member account can view the malware scans for their own accounts. An * administrator can view the malware scans for all the member accounts. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link DescribeMalwareScansRequest.Builder} avoiding the * need to create one manually via {@link DescribeMalwareScansRequest#builder()} *

* * @param describeMalwareScansRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest.Builder} to create a * request. * @return A Java Future containing the result of the DescribeMalwareScans operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeMalwareScans * @see AWS API Documentation */ default CompletableFuture describeMalwareScans( Consumer describeMalwareScansRequest) { return describeMalwareScans(DescribeMalwareScansRequest.builder().applyMutation(describeMalwareScansRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)} * operation. *

* * @param describeMalwareScansRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeMalwareScans * @see AWS API Documentation */ default DescribeMalwareScansPublisher describeMalwareScansPaginator(DescribeMalwareScansRequest describeMalwareScansRequest) { return new DescribeMalwareScansPublisher(this, describeMalwareScansRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeMalwareScansPublisher publisher = client.describeMalwareScansPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #describeMalwareScans(software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeMalwareScansRequest.Builder} avoiding the * need to create one manually via {@link DescribeMalwareScansRequest#builder()} *

* * @param describeMalwareScansRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DescribeMalwareScansRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeMalwareScans * @see AWS API Documentation */ default DescribeMalwareScansPublisher describeMalwareScansPaginator( Consumer describeMalwareScansRequest) { return describeMalwareScansPaginator(DescribeMalwareScansRequest.builder().applyMutation(describeMalwareScansRequest) .build()); } /** *

* Returns information about the account selected as the delegated administrator for GuardDuty. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param describeOrganizationConfigurationRequest * @return A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture describeOrganizationConfiguration( DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the account selected as the delegated administrator for GuardDuty. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link DescribeOrganizationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeOrganizationConfigurationRequest#builder()} *

* * @param describeOrganizationConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest.Builder} * to create a request. * @return A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture describeOrganizationConfiguration( Consumer describeOrganizationConfigurationRequest) { return describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest.builder() .applyMutation(describeOrganizationConfigurationRequest).build()); } /** *

* This is a variant of * {@link #describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationPublisher publisher = client.describeOrganizationConfigurationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationPublisher publisher = client.describeOrganizationConfigurationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationResponse 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 * {@link #describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)} * operation. *

* * @param describeOrganizationConfigurationRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeOrganizationConfiguration * @see AWS API Documentation */ default DescribeOrganizationConfigurationPublisher describeOrganizationConfigurationPaginator( DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) { return new DescribeOrganizationConfigurationPublisher(this, describeOrganizationConfigurationRequest); } /** *

* This is a variant of * {@link #describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationPublisher publisher = client.describeOrganizationConfigurationPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.DescribeOrganizationConfigurationPublisher publisher = client.describeOrganizationConfigurationPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationResponse 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 * {@link #describeOrganizationConfiguration(software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link DescribeOrganizationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link DescribeOrganizationConfigurationRequest#builder()} *

* * @param describeOrganizationConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DescribeOrganizationConfigurationRequest.Builder} * to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribeOrganizationConfiguration * @see AWS API Documentation */ default DescribeOrganizationConfigurationPublisher describeOrganizationConfigurationPaginator( Consumer describeOrganizationConfigurationRequest) { return describeOrganizationConfigurationPaginator(DescribeOrganizationConfigurationRequest.builder() .applyMutation(describeOrganizationConfigurationRequest).build()); } /** *

* Returns information about the publishing destination specified by the provided destinationId. *

* * @param describePublishingDestinationRequest * @return A Java Future containing the result of the DescribePublishingDestination operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribePublishingDestination * @see AWS API Documentation */ default CompletableFuture describePublishingDestination( DescribePublishingDestinationRequest describePublishingDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the publishing destination specified by the provided destinationId. *

*
*

* This is a convenience which creates an instance of the {@link DescribePublishingDestinationRequest.Builder} * avoiding the need to create one manually via {@link DescribePublishingDestinationRequest#builder()} *

* * @param describePublishingDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DescribePublishingDestinationRequest.Builder} to * create a request. * @return A Java Future containing the result of the DescribePublishingDestination operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DescribePublishingDestination * @see AWS API Documentation */ default CompletableFuture describePublishingDestination( Consumer describePublishingDestinationRequest) { return describePublishingDestination(DescribePublishingDestinationRequest.builder() .applyMutation(describePublishingDestinationRequest).build()); } /** *

* Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management * account can run this API operation. *

* * @param disableOrganizationAdminAccountRequest * @return A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture disableOrganizationAdminAccount( DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Removes the existing GuardDuty delegated administrator of the organization. Only the organization's management * account can run this API operation. *

*
*

* This is a convenience which creates an instance of the {@link DisableOrganizationAdminAccountRequest.Builder} * avoiding the need to create one manually via {@link DisableOrganizationAdminAccountRequest#builder()} *

* * @param disableOrganizationAdminAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DisableOrganizationAdminAccountRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture disableOrganizationAdminAccount( Consumer disableOrganizationAdminAccountRequest) { return disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest.builder() .applyMutation(disableOrganizationAdminAccountRequest).build()); } /** *

* Disassociates the current GuardDuty member account from its administrator account. *

*

* When you disassociate an invited member from a GuardDuty delegated administrator, the member account details * obtained from the CreateMembers API, * including the associated email addresses, are retained. This is done so that the delegated administrator can * invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to disable GuardDuty in a member account. *

* * @param disassociateFromAdministratorAccountRequest * @return A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisassociateFromAdministratorAccount * @see AWS API Documentation */ default CompletableFuture disassociateFromAdministratorAccount( DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates the current GuardDuty member account from its administrator account. *

*

* When you disassociate an invited member from a GuardDuty delegated administrator, the member account details * obtained from the CreateMembers API, * including the associated email addresses, are retained. This is done so that the delegated administrator can * invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to disable GuardDuty in a member account. *

*
*

* This is a convenience which creates an instance of the * {@link DisassociateFromAdministratorAccountRequest.Builder} avoiding the need to create one manually via * {@link DisassociateFromAdministratorAccountRequest#builder()} *

* * @param disassociateFromAdministratorAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DisassociateFromAdministratorAccountRequest.Builder} * to create a request. * @return A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisassociateFromAdministratorAccount * @see AWS API Documentation */ default CompletableFuture disassociateFromAdministratorAccount( Consumer disassociateFromAdministratorAccountRequest) { return disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest.builder() .applyMutation(disassociateFromAdministratorAccountRequest).build()); } /** *

* Disassociates the current GuardDuty member account from its administrator account. *

*

* When you disassociate an invited member from a GuardDuty delegated administrator, the member account details * obtained from the CreateMembers API, * including the associated email addresses, are retained. This is done so that the delegated administrator can * invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

* * @param disassociateFromMasterAccountRequest * @return A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisassociateFromMasterAccount * @see AWS API Documentation * * @deprecated This operation is deprecated, use DisassociateFromAdministratorAccount instead */ @Deprecated default CompletableFuture disassociateFromMasterAccount( DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates the current GuardDuty member account from its administrator account. *

*

* When you disassociate an invited member from a GuardDuty delegated administrator, the member account details * obtained from the CreateMembers API, * including the associated email addresses, are retained. This is done so that the delegated administrator can * invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateFromMasterAccountRequest.Builder} * avoiding the need to create one manually via {@link DisassociateFromMasterAccountRequest#builder()} *

* * @param disassociateFromMasterAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DisassociateFromMasterAccountRequest.Builder} to * create a request. * @return A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisassociateFromMasterAccount * @see AWS API Documentation * * @deprecated This operation is deprecated, use DisassociateFromAdministratorAccount instead */ @Deprecated default CompletableFuture disassociateFromMasterAccount( Consumer disassociateFromMasterAccountRequest) { return disassociateFromMasterAccount(DisassociateFromMasterAccountRequest.builder() .applyMutation(disassociateFromMasterAccountRequest).build()); } /** *

* Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs. *

*

* When you disassociate an invited member from a GuardDuty delegated administrator, the member account details * obtained from the CreateMembers API, * including the associated email addresses, are retained. This is done so that the delegated administrator can * invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to disassociate a member account before removing them from your * organization. *

* * @param disassociateMembersRequest * @return A Java Future containing the result of the DisassociateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisassociateMembers * @see AWS * API Documentation */ default CompletableFuture disassociateMembers( DisassociateMembersRequest disassociateMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Disassociates GuardDuty member accounts (from the current administrator account) specified by the account IDs. *

*

* When you disassociate an invited member from a GuardDuty delegated administrator, the member account details * obtained from the CreateMembers API, * including the associated email addresses, are retained. This is done so that the delegated administrator can * invoke the InviteMembers API * without the need to invoke the CreateMembers API again. To remove the details associated with a member account, * the delegated administrator must invoke the DeleteMembers API. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to disassociate a member account before removing them from your * organization. *

*
*

* This is a convenience which creates an instance of the {@link DisassociateMembersRequest.Builder} avoiding the * need to create one manually via {@link DisassociateMembersRequest#builder()} *

* * @param disassociateMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.DisassociateMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the DisassociateMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.DisassociateMembers * @see AWS * API Documentation */ default CompletableFuture disassociateMembers( Consumer disassociateMembersRequest) { return disassociateMembers(DisassociateMembersRequest.builder().applyMutation(disassociateMembersRequest).build()); } /** *

* Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only * the organization's management account can run this API operation. *

* * @param enableOrganizationAdminAccountRequest * @return A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.EnableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture enableOrganizationAdminAccount( EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only * the organization's management account can run this API operation. *

*
*

* This is a convenience which creates an instance of the {@link EnableOrganizationAdminAccountRequest.Builder} * avoiding the need to create one manually via {@link EnableOrganizationAdminAccountRequest#builder()} *

* * @param enableOrganizationAdminAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.EnableOrganizationAdminAccountRequest.Builder} to * create a request. * @return A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.EnableOrganizationAdminAccount * @see AWS API Documentation */ default CompletableFuture enableOrganizationAdminAccount( Consumer enableOrganizationAdminAccountRequest) { return enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest.builder() .applyMutation(enableOrganizationAdminAccountRequest).build()); } /** *

* Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account. *

* *

* If the organization's management account or a delegated administrator runs this API, it will return success ( * HTTP 200) but no content. *

*
* * @param getAdministratorAccountRequest * @return A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetAdministratorAccount * @see AWS API Documentation */ default CompletableFuture getAdministratorAccount( GetAdministratorAccountRequest getAdministratorAccountRequest) { throw new UnsupportedOperationException(); } /** *

* Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account. *

* *

* If the organization's management account or a delegated administrator runs this API, it will return success ( * HTTP 200) but no content. *

*

*

* This is a convenience which creates an instance of the {@link GetAdministratorAccountRequest.Builder} avoiding * the need to create one manually via {@link GetAdministratorAccountRequest#builder()} *

* * @param getAdministratorAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetAdministratorAccountRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetAdministratorAccount * @see AWS API Documentation */ default CompletableFuture getAdministratorAccount( Consumer getAdministratorAccountRequest) { return getAdministratorAccount(GetAdministratorAccountRequest.builder().applyMutation(getAdministratorAccountRequest) .build()); } /** *

* Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the * statistics for all the resources associated with the active member accounts in your organization who have enabled * Runtime Monitoring and have the GuardDuty security agent running on their resources. *

* * @param getCoverageStatisticsRequest * @return A Java Future containing the result of the GetCoverageStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetCoverageStatistics * @see AWS API Documentation */ default CompletableFuture getCoverageStatistics( GetCoverageStatisticsRequest getCoverageStatisticsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the * statistics for all the resources associated with the active member accounts in your organization who have enabled * Runtime Monitoring and have the GuardDuty security agent running on their resources. *

*
*

* This is a convenience which creates an instance of the {@link GetCoverageStatisticsRequest.Builder} avoiding the * need to create one manually via {@link GetCoverageStatisticsRequest#builder()} *

* * @param getCoverageStatisticsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetCoverageStatisticsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetCoverageStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetCoverageStatistics * @see AWS API Documentation */ default CompletableFuture getCoverageStatistics( Consumer getCoverageStatisticsRequest) { return getCoverageStatistics(GetCoverageStatisticsRequest.builder().applyMutation(getCoverageStatisticsRequest).build()); } /** *

* Retrieves an Amazon GuardDuty detector specified by the detectorId. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param getDetectorRequest * @return A Java Future containing the result of the GetDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetDetector * @see AWS API * Documentation */ default CompletableFuture getDetector(GetDetectorRequest getDetectorRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves an Amazon GuardDuty detector specified by the detectorId. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link GetDetectorRequest.Builder} avoiding the need to * create one manually via {@link GetDetectorRequest#builder()} *

* * @param getDetectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetDetectorRequest.Builder} to create a request. * @return A Java Future containing the result of the GetDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetDetector * @see AWS API * Documentation */ default CompletableFuture getDetector(Consumer getDetectorRequest) { return getDetector(GetDetectorRequest.builder().applyMutation(getDetectorRequest).build()); } /** *

* Returns the details of the filter specified by the filter name. *

* * @param getFilterRequest * @return A Java Future containing the result of the GetFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetFilter * @see AWS API * Documentation */ default CompletableFuture getFilter(GetFilterRequest getFilterRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the details of the filter specified by the filter name. *

*
*

* This is a convenience which creates an instance of the {@link GetFilterRequest.Builder} avoiding the need to * create one manually via {@link GetFilterRequest#builder()} *

* * @param getFilterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetFilterRequest.Builder} to create a request. * @return A Java Future containing the result of the GetFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetFilter * @see AWS API * Documentation */ default CompletableFuture getFilter(Consumer getFilterRequest) { return getFilter(GetFilterRequest.builder().applyMutation(getFilterRequest).build()); } /** *

* Describes Amazon GuardDuty findings specified by finding IDs. *

* * @param getFindingsRequest * @return A Java Future containing the result of the GetFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetFindings * @see AWS API * Documentation */ default CompletableFuture getFindings(GetFindingsRequest getFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes Amazon GuardDuty findings specified by finding IDs. *

*
*

* This is a convenience which creates an instance of the {@link GetFindingsRequest.Builder} avoiding the need to * create one manually via {@link GetFindingsRequest#builder()} *

* * @param getFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetFindingsRequest.Builder} to create a request. * @return A Java Future containing the result of the GetFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetFindings * @see AWS API * Documentation */ default CompletableFuture getFindings(Consumer getFindingsRequest) { return getFindings(GetFindingsRequest.builder().applyMutation(getFindingsRequest).build()); } /** *

* Lists Amazon GuardDuty findings statistics for the specified detector ID. *

* * @param getFindingsStatisticsRequest * @return A Java Future containing the result of the GetFindingsStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetFindingsStatistics * @see AWS API Documentation */ default CompletableFuture getFindingsStatistics( GetFindingsStatisticsRequest getFindingsStatisticsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists Amazon GuardDuty findings statistics for the specified detector ID. *

*
*

* This is a convenience which creates an instance of the {@link GetFindingsStatisticsRequest.Builder} avoiding the * need to create one manually via {@link GetFindingsStatisticsRequest#builder()} *

* * @param getFindingsStatisticsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetFindingsStatisticsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetFindingsStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetFindingsStatistics * @see AWS API Documentation */ default CompletableFuture getFindingsStatistics( Consumer getFindingsStatisticsRequest) { return getFindingsStatistics(GetFindingsStatisticsRequest.builder().applyMutation(getFindingsStatisticsRequest).build()); } /** *

* Retrieves the IPSet specified by the ipSetId. *

* * @param getIpSetRequest * @return A Java Future containing the result of the GetIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetIPSet * @see AWS API * Documentation */ default CompletableFuture getIPSet(GetIpSetRequest getIpSetRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the IPSet specified by the ipSetId. *

*
*

* This is a convenience which creates an instance of the {@link GetIpSetRequest.Builder} avoiding the need to * create one manually via {@link GetIpSetRequest#builder()} *

* * @param getIpSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetIpSetRequest.Builder} to create a request. * @return A Java Future containing the result of the GetIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetIPSet * @see AWS API * Documentation */ default CompletableFuture getIPSet(Consumer getIpSetRequest) { return getIPSet(GetIpSetRequest.builder().applyMutation(getIpSetRequest).build()); } /** *

* Returns the count of all GuardDuty membership invitations that were sent to the current member account except the * currently accepted invitation. *

* * @param getInvitationsCountRequest * @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetInvitationsCount * @see AWS * API Documentation */ default CompletableFuture getInvitationsCount( GetInvitationsCountRequest getInvitationsCountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetInvitationsCountRequest.Builder} avoiding the * need to create one manually via {@link GetInvitationsCountRequest#builder()} *

* * @param getInvitationsCountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetInvitationsCountRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetInvitationsCount * @see AWS * API Documentation */ default CompletableFuture getInvitationsCount( Consumer getInvitationsCountRequest) { return getInvitationsCount(GetInvitationsCountRequest.builder().applyMutation(getInvitationsCountRequest).build()); } /** *

* Returns the count of all GuardDuty membership invitations that were sent to the current member account except the * currently accepted invitation. *

* * @return A Java Future containing the result of the GetInvitationsCount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetInvitationsCount * @see AWS * API Documentation */ default CompletableFuture getInvitationsCount() { return getInvitationsCount(GetInvitationsCountRequest.builder().build()); } /** *

* Returns the details of the malware scan settings. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param getMalwareScanSettingsRequest * @return A Java Future containing the result of the GetMalwareScanSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMalwareScanSettings * @see AWS API Documentation */ default CompletableFuture getMalwareScanSettings( GetMalwareScanSettingsRequest getMalwareScanSettingsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the details of the malware scan settings. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link GetMalwareScanSettingsRequest.Builder} avoiding the * need to create one manually via {@link GetMalwareScanSettingsRequest#builder()} *

* * @param getMalwareScanSettingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetMalwareScanSettingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetMalwareScanSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMalwareScanSettings * @see AWS API Documentation */ default CompletableFuture getMalwareScanSettings( Consumer getMalwareScanSettingsRequest) { return getMalwareScanSettings(GetMalwareScanSettingsRequest.builder().applyMutation(getMalwareScanSettingsRequest) .build()); } /** *

* Provides the details for the GuardDuty administrator account associated with the current GuardDuty member * account. *

* * @param getMasterAccountRequest * @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMasterAccount * @see AWS * API Documentation * * @deprecated This operation is deprecated, use GetAdministratorAccount instead */ @Deprecated default CompletableFuture getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetMasterAccountRequest.Builder} avoiding the need * to create one manually via {@link GetMasterAccountRequest#builder()} *

* * @param getMasterAccountRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetMasterAccountRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetMasterAccount operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMasterAccount * @see AWS * API Documentation * * @deprecated This operation is deprecated, use GetAdministratorAccount instead */ @Deprecated default CompletableFuture getMasterAccount( Consumer getMasterAccountRequest) { return getMasterAccount(GetMasterAccountRequest.builder().applyMutation(getMasterAccountRequest).build()); } /** *

* Describes which data sources are enabled for the member account's detector. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param getMemberDetectorsRequest * @return A Java Future containing the result of the GetMemberDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMemberDetectors * @see AWS * API Documentation */ default CompletableFuture getMemberDetectors(GetMemberDetectorsRequest getMemberDetectorsRequest) { throw new UnsupportedOperationException(); } /** *

* Describes which data sources are enabled for the member account's detector. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link GetMemberDetectorsRequest.Builder} avoiding the * need to create one manually via {@link GetMemberDetectorsRequest#builder()} *

* * @param getMemberDetectorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetMemberDetectorsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetMemberDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMemberDetectors * @see AWS * API Documentation */ default CompletableFuture getMemberDetectors( Consumer getMemberDetectorsRequest) { return getMemberDetectors(GetMemberDetectorsRequest.builder().applyMutation(getMemberDetectorsRequest).build()); } /** *

* Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by the account * IDs. *

* * @param getMembersRequest * @return A Java Future containing the result of the GetMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMembers * @see AWS API * Documentation */ default CompletableFuture getMembers(GetMembersRequest getMembersRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetMembersRequest.Builder} avoiding the need to * create one manually via {@link GetMembersRequest#builder()} *

* * @param getMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the GetMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetMembers * @see AWS API * Documentation */ default CompletableFuture getMembers(Consumer getMembersRequest) { return getMembers(GetMembersRequest.builder().applyMutation(getMembersRequest).build()); } /** *

* Retrieves how many active member accounts in your Amazon Web Services organization have each feature enabled * within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API. *

*

* When you create a new Amazon Web Services organization, it might take up to 24 hours to generate the statistics * for the entire organization. *

* * @param getOrganizationStatisticsRequest * @return A Java Future containing the result of the GetOrganizationStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetOrganizationStatistics * @see AWS API Documentation */ default CompletableFuture getOrganizationStatistics( GetOrganizationStatisticsRequest getOrganizationStatisticsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves how many active member accounts in your Amazon Web Services organization have each feature enabled * within GuardDuty. Only a delegated GuardDuty administrator of an organization can run this API. *

*

* When you create a new Amazon Web Services organization, it might take up to 24 hours to generate the statistics * for the entire organization. *

*
*

* This is a convenience which creates an instance of the {@link GetOrganizationStatisticsRequest.Builder} avoiding * the need to create one manually via {@link GetOrganizationStatisticsRequest#builder()} *

* * @param getOrganizationStatisticsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetOrganizationStatisticsRequest.Builder} to create * a request. * @return A Java Future containing the result of the GetOrganizationStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetOrganizationStatistics * @see AWS API Documentation */ default CompletableFuture getOrganizationStatistics( Consumer getOrganizationStatisticsRequest) { return getOrganizationStatistics(GetOrganizationStatisticsRequest.builder() .applyMutation(getOrganizationStatisticsRequest).build()); } /** *

* Provides the number of days left for each data source used in the free trial period. *

* * @param getRemainingFreeTrialDaysRequest * @return A Java Future containing the result of the GetRemainingFreeTrialDays operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetRemainingFreeTrialDays * @see AWS API Documentation */ default CompletableFuture getRemainingFreeTrialDays( GetRemainingFreeTrialDaysRequest getRemainingFreeTrialDaysRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetRemainingFreeTrialDaysRequest.Builder} avoiding * the need to create one manually via {@link GetRemainingFreeTrialDaysRequest#builder()} *

* * @param getRemainingFreeTrialDaysRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetRemainingFreeTrialDaysRequest.Builder} to create * a request. * @return A Java Future containing the result of the GetRemainingFreeTrialDays operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetRemainingFreeTrialDays * @see AWS API Documentation */ default CompletableFuture getRemainingFreeTrialDays( Consumer getRemainingFreeTrialDaysRequest) { return getRemainingFreeTrialDays(GetRemainingFreeTrialDaysRequest.builder() .applyMutation(getRemainingFreeTrialDaysRequest).build()); } /** *

* Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID. *

* * @param getThreatIntelSetRequest * @return A Java Future containing the result of the GetThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetThreatIntelSet * @see AWS * API Documentation */ default CompletableFuture getThreatIntelSet(GetThreatIntelSetRequest getThreatIntelSetRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID. *

*
*

* This is a convenience which creates an instance of the {@link GetThreatIntelSetRequest.Builder} avoiding the need * to create one manually via {@link GetThreatIntelSetRequest#builder()} *

* * @param getThreatIntelSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetThreatIntelSetRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetThreatIntelSet * @see AWS * API Documentation */ default CompletableFuture getThreatIntelSet( Consumer getThreatIntelSetRequest) { return getThreatIntelSet(GetThreatIntelSetRequest.builder().applyMutation(getThreatIntelSetRequest).build()); } /** *

* 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. *

* * @param getUsageStatisticsRequest * @return A Java Future containing the result of the GetUsageStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetUsageStatistics * @see AWS * API Documentation */ default CompletableFuture getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link GetUsageStatisticsRequest.Builder} avoiding the * need to create one manually via {@link GetUsageStatisticsRequest#builder()} *

* * @param getUsageStatisticsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetUsageStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetUsageStatistics * @see AWS * API Documentation */ default CompletableFuture getUsageStatistics( Consumer getUsageStatisticsRequest) { return getUsageStatistics(GetUsageStatisticsRequest.builder().applyMutation(getUsageStatisticsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)} * operation. *

* * @param getUsageStatisticsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetUsageStatistics * @see AWS * API Documentation */ default GetUsageStatisticsPublisher getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) { return new GetUsageStatisticsPublisher(this, getUsageStatisticsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #getUsageStatistics(software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link GetUsageStatisticsRequest.Builder} avoiding the * need to create one manually via {@link GetUsageStatisticsRequest#builder()} *

* * @param getUsageStatisticsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.GetUsageStatisticsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.GetUsageStatistics * @see AWS * API Documentation */ default GetUsageStatisticsPublisher getUsageStatisticsPaginator( Consumer getUsageStatisticsRequest) { return getUsageStatisticsPaginator(GetUsageStatisticsRequest.builder().applyMutation(getUsageStatisticsRequest).build()); } /** *

* Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services * account that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty * environment, this step is not needed. For more information, see Managing accounts with * organizations. *

*

* To invite Amazon Web Services accounts, the first step is to ensure that GuardDuty has been enabled in the * potential member accounts. You can now invoke this API to add accounts by invitation. The invited accounts can * either accept or decline the invitation from their GuardDuty accounts. Each invited Amazon Web Services account * can choose to accept the invitation from only one Amazon Web Services account. For more information, see Managing GuardDuty accounts by * invitation. *

*

* After the invite has been accepted and you choose to disassociate a member account (by using DisassociateMembers) from your account, the details of the member account obtained by invoking CreateMembers, * including the associated email addresses, will be retained. This is done so that you can invoke InviteMembers * without the need to invoke CreateMembers again. * To remove the details associated with a member account, you must also invoke DeleteMembers. *

* * @param inviteMembersRequest * @return A Java Future containing the result of the InviteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.InviteMembers * @see AWS API * Documentation */ default CompletableFuture inviteMembers(InviteMembersRequest inviteMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Invites Amazon Web Services accounts to become members of an organization administered by the Amazon Web Services * account that invokes this API. If you are using Amazon Web Services Organizations to manage your GuardDuty * environment, this step is not needed. For more information, see Managing accounts with * organizations. *

*

* To invite Amazon Web Services accounts, the first step is to ensure that GuardDuty has been enabled in the * potential member accounts. You can now invoke this API to add accounts by invitation. The invited accounts can * either accept or decline the invitation from their GuardDuty accounts. Each invited Amazon Web Services account * can choose to accept the invitation from only one Amazon Web Services account. For more information, see Managing GuardDuty accounts by * invitation. *

*

* After the invite has been accepted and you choose to disassociate a member account (by using DisassociateMembers) from your account, the details of the member account obtained by invoking CreateMembers, * including the associated email addresses, will be retained. This is done so that you can invoke InviteMembers * without the need to invoke CreateMembers again. * To remove the details associated with a member account, you must also invoke DeleteMembers. *

*
*

* This is a convenience which creates an instance of the {@link InviteMembersRequest.Builder} avoiding the need to * create one manually via {@link InviteMembersRequest#builder()} *

* * @param inviteMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.InviteMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the InviteMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.InviteMembers * @see AWS API * Documentation */ default CompletableFuture inviteMembers(Consumer inviteMembersRequest) { return inviteMembers(InviteMembersRequest.builder().applyMutation(inviteMembersRequest).build()); } /** *

* Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all * resources associated with the active member accounts in your organization. *

*

* Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources. *

* * @param listCoverageRequest * @return A Java Future containing the result of the ListCoverage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListCoverage * @see AWS API * Documentation */ default CompletableFuture listCoverage(ListCoverageRequest listCoverageRequest) { throw new UnsupportedOperationException(); } /** *

* Lists coverage details for your GuardDuty account. If you're a GuardDuty administrator, you can retrieve all * resources associated with the active member accounts in your organization. *

*

* Make sure the accounts have Runtime Monitoring enabled and GuardDuty agent running on their resources. *

*
*

* This is a convenience which creates an instance of the {@link ListCoverageRequest.Builder} avoiding the need to * create one manually via {@link ListCoverageRequest#builder()} *

* * @param listCoverageRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListCoverageRequest.Builder} to create a request. * @return A Java Future containing the result of the ListCoverage operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListCoverage * @see AWS API * Documentation */ default CompletableFuture listCoverage(Consumer listCoverageRequest) { return listCoverage(ListCoverageRequest.builder().applyMutation(listCoverageRequest).build()); } /** *

* This is a variant of {@link #listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.guardduty.model.ListCoverageResponse 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 * {@link #listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)} operation. *

* * @param listCoverageRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListCoverage * @see AWS API * Documentation */ default ListCoveragePublisher listCoveragePaginator(ListCoverageRequest listCoverageRequest) { return new ListCoveragePublisher(this, listCoverageRequest); } /** *

* This is a variant of {@link #listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListCoveragePublisher publisher = client.listCoveragePaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.guardduty.model.ListCoverageResponse 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 * {@link #listCoverage(software.amazon.awssdk.services.guardduty.model.ListCoverageRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListCoverageRequest.Builder} avoiding the need to * create one manually via {@link ListCoverageRequest#builder()} *

* * @param listCoverageRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListCoverageRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListCoverage * @see AWS API * Documentation */ default ListCoveragePublisher listCoveragePaginator(Consumer listCoverageRequest) { return listCoveragePaginator(ListCoverageRequest.builder().applyMutation(listCoverageRequest).build()); } /** *

* Lists detectorIds of all the existing Amazon GuardDuty detector resources. *

* * @param listDetectorsRequest * @return A Java Future containing the result of the ListDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListDetectors * @see AWS API * Documentation */ default CompletableFuture listDetectors(ListDetectorsRequest listDetectorsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists detectorIds of all the existing Amazon GuardDuty detector resources. *

*
*

* This is a convenience which creates an instance of the {@link ListDetectorsRequest.Builder} avoiding the need to * create one manually via {@link ListDetectorsRequest#builder()} *

* * @param listDetectorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListDetectors * @see AWS API * Documentation */ default CompletableFuture listDetectors(Consumer listDetectorsRequest) { return listDetectors(ListDetectorsRequest.builder().applyMutation(listDetectorsRequest).build()); } /** *

* Lists detectorIds of all the existing Amazon GuardDuty detector resources. *

* * @return A Java Future containing the result of the ListDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListDetectors * @see AWS API * Documentation */ default CompletableFuture listDetectors() { return listDetectors(ListDetectorsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListDetectors * @see AWS API * Documentation */ default ListDetectorsPublisher listDetectorsPaginator() { return listDetectorsPaginator(ListDetectorsRequest.builder().build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)} operation. *

* * @param listDetectorsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListDetectors * @see AWS API * Documentation */ default ListDetectorsPublisher listDetectorsPaginator(ListDetectorsRequest listDetectorsRequest) { return new ListDetectorsPublisher(this, listDetectorsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListDetectorsPublisher publisher = client.listDetectorsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listDetectors(software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListDetectorsRequest.Builder} avoiding the need to * create one manually via {@link ListDetectorsRequest#builder()} *

* * @param listDetectorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListDetectorsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListDetectors * @see AWS API * Documentation */ default ListDetectorsPublisher listDetectorsPaginator(Consumer listDetectorsRequest) { return listDetectorsPaginator(ListDetectorsRequest.builder().applyMutation(listDetectorsRequest).build()); } /** *

* Returns a paginated list of the current filters. *

* * @param listFiltersRequest * @return A Java Future containing the result of the ListFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFilters * @see AWS API * Documentation */ default CompletableFuture listFilters(ListFiltersRequest listFiltersRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a paginated list of the current filters. *

*
*

* This is a convenience which creates an instance of the {@link ListFiltersRequest.Builder} avoiding the need to * create one manually via {@link ListFiltersRequest#builder()} *

* * @param listFiltersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListFiltersRequest.Builder} to create a request. * @return A Java Future containing the result of the ListFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFilters * @see AWS API * Documentation */ default CompletableFuture listFilters(Consumer listFiltersRequest) { return listFilters(ListFiltersRequest.builder().applyMutation(listFiltersRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)} operation. *

* * @param listFiltersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFilters * @see AWS API * Documentation */ default ListFiltersPublisher listFiltersPaginator(ListFiltersRequest listFiltersRequest) { return new ListFiltersPublisher(this, listFiltersRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFiltersPublisher publisher = client.listFiltersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listFilters(software.amazon.awssdk.services.guardduty.model.ListFiltersRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListFiltersRequest.Builder} avoiding the need to * create one manually via {@link ListFiltersRequest#builder()} *

* * @param listFiltersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListFiltersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFilters * @see AWS API * Documentation */ default ListFiltersPublisher listFiltersPaginator(Consumer listFiltersRequest) { return listFiltersPaginator(ListFiltersRequest.builder().applyMutation(listFiltersRequest).build()); } /** *

* Lists Amazon GuardDuty findings for the specified detector ID. *

* * @param listFindingsRequest * @return A Java Future containing the result of the ListFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFindings * @see AWS API * Documentation */ default CompletableFuture listFindings(ListFindingsRequest listFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists Amazon GuardDuty findings for the specified detector ID. *

*
*

* This is a convenience which creates an instance of the {@link ListFindingsRequest.Builder} avoiding the need to * create one manually via {@link ListFindingsRequest#builder()} *

* * @param listFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListFindingsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFindings * @see AWS API * Documentation */ default CompletableFuture listFindings(Consumer listFindingsRequest) { return listFindings(ListFindingsRequest.builder().applyMutation(listFindingsRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)} operation. *

* * @param listFindingsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFindings * @see AWS API * Documentation */ default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest) { return new ListFindingsPublisher(this, listFindingsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listFindings(software.amazon.awssdk.services.guardduty.model.ListFindingsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListFindingsRequest.Builder} avoiding the need to * create one manually via {@link ListFindingsRequest#builder()} *

* * @param listFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListFindingsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListFindings * @see AWS API * Documentation */ default ListFindingsPublisher listFindingsPaginator(Consumer listFindingsRequest) { return listFindingsPaginator(ListFindingsRequest.builder().applyMutation(listFindingsRequest).build()); } /** *

* 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. *

* * @param listIpSetsRequest * @return A Java Future containing the result of the ListIPSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListIPSets * @see AWS API * Documentation */ default CompletableFuture listIPSets(ListIpSetsRequest listIpSetsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListIpSetsRequest.Builder} avoiding the need to * create one manually via {@link ListIpSetsRequest#builder()} *

* * @param listIpSetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest.Builder} to create a request. * @return A Java Future containing the result of the ListIPSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListIPSets * @see AWS API * Documentation */ default CompletableFuture listIPSets(Consumer listIpSetsRequest) { return listIPSets(ListIpSetsRequest.builder().applyMutation(listIpSetsRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)} operation. *

* * @param listIpSetsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListIPSets * @see AWS API * Documentation */ default ListIPSetsPublisher listIPSetsPaginator(ListIpSetsRequest listIpSetsRequest) { return new ListIPSetsPublisher(this, listIpSetsRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListIPSetsPublisher publisher = client.listIPSetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listIPSets(software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListIpSetsRequest.Builder} avoiding the need to * create one manually via {@link ListIpSetsRequest#builder()} *

* * @param listIpSetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListIpSetsRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListIPSets * @see AWS API * Documentation */ default ListIPSetsPublisher listIPSetsPaginator(Consumer listIpSetsRequest) { return listIPSetsPaginator(ListIpSetsRequest.builder().applyMutation(listIpSetsRequest).build()); } /** *

* Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account. *

* * @param listInvitationsRequest * @return A Java Future containing the result of the ListInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListInvitations * @see AWS API * Documentation */ default CompletableFuture listInvitations(ListInvitationsRequest listInvitationsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListInvitationsRequest.Builder} avoiding the need * to create one manually via {@link ListInvitationsRequest#builder()} *

* * @param listInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListInvitations * @see AWS API * Documentation */ default CompletableFuture listInvitations( Consumer listInvitationsRequest) { return listInvitations(ListInvitationsRequest.builder().applyMutation(listInvitationsRequest).build()); } /** *

* Lists all GuardDuty membership invitations that were sent to the current Amazon Web Services account. *

* * @return A Java Future containing the result of the ListInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListInvitations * @see AWS API * Documentation */ default CompletableFuture listInvitations() { return listInvitations(ListInvitationsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListInvitations * @see AWS API * Documentation */ default ListInvitationsPublisher listInvitationsPaginator() { return listInvitationsPaginator(ListInvitationsRequest.builder().build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)} operation. *

* * @param listInvitationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListInvitations * @see AWS API * Documentation */ default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) { return new ListInvitationsPublisher(this, listInvitationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listInvitations(software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListInvitationsRequest.Builder} avoiding the need * to create one manually via {@link ListInvitationsRequest#builder()} *

* * @param listInvitationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListInvitationsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListInvitations * @see AWS API * Documentation */ default ListInvitationsPublisher listInvitationsPaginator(Consumer listInvitationsRequest) { return listInvitationsPaginator(ListInvitationsRequest.builder().applyMutation(listInvitationsRequest).build()); } /** *

* Lists details about all member accounts for the current GuardDuty administrator account. *

* * @param listMembersRequest * @return A Java Future containing the result of the ListMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListMembers * @see AWS API * Documentation */ default CompletableFuture listMembers(ListMembersRequest listMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Lists details about all member accounts for the current GuardDuty administrator account. *

*
*

* This is a convenience which creates an instance of the {@link ListMembersRequest.Builder} avoiding the need to * create one manually via {@link ListMembersRequest#builder()} *

* * @param listMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListMembersRequest.Builder} to create a request. * @return A Java Future containing the result of the ListMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListMembers * @see AWS API * Documentation */ default CompletableFuture listMembers(Consumer listMembersRequest) { return listMembers(ListMembersRequest.builder().applyMutation(listMembersRequest).build()); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)} operation. *

* * @param listMembersRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListMembers * @see AWS API * Documentation */ default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest) { return new ListMembersPublisher(this, listMembersRequest); } /** *

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listMembers(software.amazon.awssdk.services.guardduty.model.ListMembersRequest)} operation. *

*
*

* This is a convenience which creates an instance of the {@link ListMembersRequest.Builder} avoiding the need to * create one manually via {@link ListMembersRequest#builder()} *

* * @param listMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListMembersRequest.Builder} to create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListMembers * @see AWS API * Documentation */ default ListMembersPublisher listMembersPaginator(Consumer listMembersRequest) { return listMembersPaginator(ListMembersRequest.builder().applyMutation(listMembersRequest).build()); } /** *

* Lists the accounts designated as GuardDuty delegated administrators. Only the organization's management account * can run this API operation. *

* * @param listOrganizationAdminAccountsRequest * @return A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default CompletableFuture listOrganizationAdminAccounts( ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) { throw new UnsupportedOperationException(); } /** *

* Lists the accounts designated as GuardDuty delegated administrators. Only the organization's management account * can run this API operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOrganizationAdminAccountsRequest.Builder} * avoiding the need to create one manually via {@link ListOrganizationAdminAccountsRequest#builder()} *

* * @param listOrganizationAdminAccountsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default CompletableFuture listOrganizationAdminAccounts( Consumer listOrganizationAdminAccountsRequest) { return listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest.builder() .applyMutation(listOrganizationAdminAccountsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)} * operation. *

* * @param listOrganizationAdminAccountsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator( ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) { return new ListOrganizationAdminAccountsPublisher(this, listOrganizationAdminAccountsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listOrganizationAdminAccounts(software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOrganizationAdminAccountsRequest.Builder} * avoiding the need to create one manually via {@link ListOrganizationAdminAccountsRequest#builder()} *

* * @param listOrganizationAdminAccountsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListOrganizationAdminAccountsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListOrganizationAdminAccounts * @see AWS API Documentation */ default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator( Consumer listOrganizationAdminAccountsRequest) { return listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest.builder() .applyMutation(listOrganizationAdminAccountsRequest).build()); } /** *

* Returns a list of publishing destinations associated with the specified detectorId. *

* * @param listPublishingDestinationsRequest * @return A Java Future containing the result of the ListPublishingDestinations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListPublishingDestinations * @see AWS API Documentation */ default CompletableFuture listPublishingDestinations( ListPublishingDestinationsRequest listPublishingDestinationsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of publishing destinations associated with the specified detectorId. *

*
*

* This is a convenience which creates an instance of the {@link ListPublishingDestinationsRequest.Builder} avoiding * the need to create one manually via {@link ListPublishingDestinationsRequest#builder()} *

* * @param listPublishingDestinationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest.Builder} to * create a request. * @return A Java Future containing the result of the ListPublishingDestinations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListPublishingDestinations * @see AWS API Documentation */ default CompletableFuture listPublishingDestinations( Consumer listPublishingDestinationsRequest) { return listPublishingDestinations(ListPublishingDestinationsRequest.builder() .applyMutation(listPublishingDestinationsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)} * operation. *

* * @param listPublishingDestinationsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListPublishingDestinations * @see AWS API Documentation */ default ListPublishingDestinationsPublisher listPublishingDestinationsPaginator( ListPublishingDestinationsRequest listPublishingDestinationsRequest) { return new ListPublishingDestinationsPublisher(this, listPublishingDestinationsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListPublishingDestinationsPublisher publisher = client.listPublishingDestinationsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listPublishingDestinations(software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListPublishingDestinationsRequest.Builder} avoiding * the need to create one manually via {@link ListPublishingDestinationsRequest#builder()} *

* * @param listPublishingDestinationsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListPublishingDestinationsRequest.Builder} to * create a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListPublishingDestinations * @see AWS API Documentation */ default ListPublishingDestinationsPublisher listPublishingDestinationsPaginator( Consumer listPublishingDestinationsRequest) { return listPublishingDestinationsPaginator(ListPublishingDestinationsRequest.builder() .applyMutation(listPublishingDestinationsRequest).build()); } /** *

* Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel * sets, and publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all * assigned tags for a given resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • AccessDeniedException An access denied exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListTagsForResource * @see AWS * API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Lists tags for a resource. Tagging is currently supported for detectors, finding filters, IP sets, threat intel * sets, and publishing destination, with a limit of 50 tags per resource. When invoked, this operation returns all * assigned tags for a given resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • AccessDeniedException An access denied exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListTagsForResource * @see AWS * API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* 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. *

* * @param listThreatIntelSetsRequest * @return A Java Future containing the result of the ListThreatIntelSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListThreatIntelSets * @see AWS * API Documentation */ default CompletableFuture listThreatIntelSets( ListThreatIntelSetsRequest listThreatIntelSetsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link ListThreatIntelSetsRequest.Builder} avoiding the * need to create one manually via {@link ListThreatIntelSetsRequest#builder()} *

* * @param listThreatIntelSetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListThreatIntelSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListThreatIntelSets * @see AWS * API Documentation */ default CompletableFuture listThreatIntelSets( Consumer listThreatIntelSetsRequest) { return listThreatIntelSets(ListThreatIntelSetsRequest.builder().applyMutation(listThreatIntelSetsRequest).build()); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)} * operation. *

* * @param listThreatIntelSetsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListThreatIntelSets * @see AWS * API Documentation */ default ListThreatIntelSetsPublisher listThreatIntelSetsPaginator(ListThreatIntelSetsRequest listThreatIntelSetsRequest) { return new ListThreatIntelSetsPublisher(this, listThreatIntelSetsRequest); } /** *

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.guardduty.paginators.ListThreatIntelSetsPublisher publisher = client.listThreatIntelSetsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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 * {@link #listThreatIntelSets(software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest)} * operation. *

*
*

* This is a convenience which creates an instance of the {@link ListThreatIntelSetsRequest.Builder} avoiding the * need to create one manually via {@link ListThreatIntelSetsRequest#builder()} *

* * @param listThreatIntelSetsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.ListThreatIntelSetsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.ListThreatIntelSets * @see AWS * API Documentation */ default ListThreatIntelSetsPublisher listThreatIntelSetsPaginator( Consumer listThreatIntelSetsRequest) { return listThreatIntelSetsPaginator(ListThreatIntelSetsRequest.builder().applyMutation(listThreatIntelSetsRequest) .build()); } /** *

* Initiates the malware scan. Invoking this API will automatically create the Service-linked * role in the corresponding account. *

* * @param startMalwareScanRequest * @return A Java Future containing the result of the StartMalwareScan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • ConflictException A request conflict exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.StartMalwareScan * @see AWS * API Documentation */ default CompletableFuture startMalwareScan(StartMalwareScanRequest startMalwareScanRequest) { throw new UnsupportedOperationException(); } /** *

* Initiates the malware scan. Invoking this API will automatically create the Service-linked * role in the corresponding account. *

*
*

* This is a convenience which creates an instance of the {@link StartMalwareScanRequest.Builder} avoiding the need * to create one manually via {@link StartMalwareScanRequest#builder()} *

* * @param startMalwareScanRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.StartMalwareScanRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartMalwareScan operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • ConflictException A request conflict exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.StartMalwareScan * @see AWS * API Documentation */ default CompletableFuture startMalwareScan( Consumer startMalwareScanRequest) { return startMalwareScan(StartMalwareScanRequest.builder().applyMutation(startMalwareScanRequest).build()); } /** *

* 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. *

* * @param startMonitoringMembersRequest * @return A Java Future containing the result of the StartMonitoringMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.StartMonitoringMembers * @see AWS API Documentation */ default CompletableFuture startMonitoringMembers( StartMonitoringMembersRequest startMonitoringMembersRequest) { throw new UnsupportedOperationException(); } /** *

* 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 {@link StartMonitoringMembersRequest.Builder} avoiding the * need to create one manually via {@link StartMonitoringMembersRequest#builder()} *

* * @param startMonitoringMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.StartMonitoringMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the StartMonitoringMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.StartMonitoringMembers * @see AWS API Documentation */ default CompletableFuture startMonitoringMembers( Consumer startMonitoringMembersRequest) { return startMonitoringMembers(StartMonitoringMembersRequest.builder().applyMutation(startMonitoringMembersRequest) .build()); } /** *

* Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers * operation to restart monitoring for those accounts. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to stop monitoring the member accounts in your organization. *

* * @param stopMonitoringMembersRequest * @return A Java Future containing the result of the StopMonitoringMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.StopMonitoringMembers * @see AWS API Documentation */ default CompletableFuture stopMonitoringMembers( StopMonitoringMembersRequest stopMonitoringMembersRequest) { throw new UnsupportedOperationException(); } /** *

* Stops GuardDuty monitoring for the specified member accounts. Use the StartMonitoringMembers * operation to restart monitoring for those accounts. *

*

* With autoEnableOrganizationMembers configuration for your organization set to ALL, * you'll receive an error if you attempt to stop monitoring the member accounts in your organization. *

*
*

* This is a convenience which creates an instance of the {@link StopMonitoringMembersRequest.Builder} avoiding the * need to create one manually via {@link StopMonitoringMembersRequest#builder()} *

* * @param stopMonitoringMembersRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.StopMonitoringMembersRequest.Builder} to create a * request. * @return A Java Future containing the result of the StopMonitoringMembers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.StopMonitoringMembers * @see AWS API Documentation */ default CompletableFuture stopMonitoringMembers( Consumer stopMonitoringMembersRequest) { return stopMonitoringMembers(StopMonitoringMembersRequest.builder().applyMutation(stopMonitoringMembersRequest).build()); } /** *

* Adds tags to a resource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • AccessDeniedException An access denied exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Adds tags to a resource. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • AccessDeniedException An access denied exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Unarchives GuardDuty findings specified by the findingIds. *

* * @param unarchiveFindingsRequest * @return A Java Future containing the result of the UnarchiveFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UnarchiveFindings * @see AWS * API Documentation */ default CompletableFuture unarchiveFindings(UnarchiveFindingsRequest unarchiveFindingsRequest) { throw new UnsupportedOperationException(); } /** *

* Unarchives GuardDuty findings specified by the findingIds. *

*
*

* This is a convenience which creates an instance of the {@link UnarchiveFindingsRequest.Builder} avoiding the need * to create one manually via {@link UnarchiveFindingsRequest#builder()} *

* * @param unarchiveFindingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UnarchiveFindingsRequest.Builder} to create a * request. * @return A Java Future containing the result of the UnarchiveFindings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UnarchiveFindings * @see AWS * API Documentation */ default CompletableFuture unarchiveFindings( Consumer unarchiveFindingsRequest) { return unarchiveFindings(UnarchiveFindingsRequest.builder().applyMutation(unarchiveFindingsRequest).build()); } /** *

* Removes tags from a resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • AccessDeniedException An access denied exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Removes tags from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • AccessDeniedException An access denied exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates the Amazon GuardDuty detector specified by the detectorId. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param updateDetectorRequest * @return A Java Future containing the result of the UpdateDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateDetector * @see AWS API * Documentation */ default CompletableFuture updateDetector(UpdateDetectorRequest updateDetectorRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the Amazon GuardDuty detector specified by the detectorId. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link UpdateDetectorRequest.Builder} avoiding the need to * create one manually via {@link UpdateDetectorRequest#builder()} *

* * @param updateDetectorRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateDetectorRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateDetector operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateDetector * @see AWS API * Documentation */ default CompletableFuture updateDetector(Consumer updateDetectorRequest) { return updateDetector(UpdateDetectorRequest.builder().applyMutation(updateDetectorRequest).build()); } /** *

* Updates the filter specified by the filter name. *

* * @param updateFilterRequest * @return A Java Future containing the result of the UpdateFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateFilter * @see AWS API * Documentation */ default CompletableFuture updateFilter(UpdateFilterRequest updateFilterRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the filter specified by the filter name. *

*
*

* This is a convenience which creates an instance of the {@link UpdateFilterRequest.Builder} avoiding the need to * create one manually via {@link UpdateFilterRequest#builder()} *

* * @param updateFilterRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateFilterRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateFilter * @see AWS API * Documentation */ default CompletableFuture updateFilter(Consumer updateFilterRequest) { return updateFilter(UpdateFilterRequest.builder().applyMutation(updateFilterRequest).build()); } /** *

* Marks the specified GuardDuty findings as useful or not useful. *

* * @param updateFindingsFeedbackRequest * @return A Java Future containing the result of the UpdateFindingsFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateFindingsFeedback * @see AWS API Documentation */ default CompletableFuture updateFindingsFeedback( UpdateFindingsFeedbackRequest updateFindingsFeedbackRequest) { throw new UnsupportedOperationException(); } /** *

* Marks the specified GuardDuty findings as useful or not useful. *

*
*

* This is a convenience which creates an instance of the {@link UpdateFindingsFeedbackRequest.Builder} avoiding the * need to create one manually via {@link UpdateFindingsFeedbackRequest#builder()} *

* * @param updateFindingsFeedbackRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateFindingsFeedbackRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateFindingsFeedback operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateFindingsFeedback * @see AWS API Documentation */ default CompletableFuture updateFindingsFeedback( Consumer updateFindingsFeedbackRequest) { return updateFindingsFeedback(UpdateFindingsFeedbackRequest.builder().applyMutation(updateFindingsFeedbackRequest) .build()); } /** *

* Updates the IPSet specified by the IPSet ID. *

* * @param updateIpSetRequest * @return A Java Future containing the result of the UpdateIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateIPSet * @see AWS API * Documentation */ default CompletableFuture updateIPSet(UpdateIpSetRequest updateIpSetRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the IPSet specified by the IPSet ID. *

*
*

* This is a convenience which creates an instance of the {@link UpdateIpSetRequest.Builder} avoiding the need to * create one manually via {@link UpdateIpSetRequest#builder()} *

* * @param updateIpSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateIpSetRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateIPSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateIPSet * @see AWS API * Documentation */ default CompletableFuture updateIPSet(Consumer updateIpSetRequest) { return updateIPSet(UpdateIpSetRequest.builder().applyMutation(updateIpSetRequest).build()); } /** *

* Updates the malware scan settings. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param updateMalwareScanSettingsRequest * @return A Java Future containing the result of the UpdateMalwareScanSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateMalwareScanSettings * @see AWS API Documentation */ default CompletableFuture updateMalwareScanSettings( UpdateMalwareScanSettingsRequest updateMalwareScanSettingsRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the malware scan settings. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link UpdateMalwareScanSettingsRequest.Builder} avoiding * the need to create one manually via {@link UpdateMalwareScanSettingsRequest#builder()} *

* * @param updateMalwareScanSettingsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateMalwareScanSettingsRequest.Builder} to create * a request. * @return A Java Future containing the result of the UpdateMalwareScanSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateMalwareScanSettings * @see AWS API Documentation */ default CompletableFuture updateMalwareScanSettings( Consumer updateMalwareScanSettingsRequest) { return updateMalwareScanSettings(UpdateMalwareScanSettingsRequest.builder() .applyMutation(updateMalwareScanSettingsRequest).build()); } /** *

* Contains information on member accounts to be updated. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param updateMemberDetectorsRequest * @return A Java Future containing the result of the UpdateMemberDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateMemberDetectors * @see AWS API Documentation */ default CompletableFuture updateMemberDetectors( UpdateMemberDetectorsRequest updateMemberDetectorsRequest) { throw new UnsupportedOperationException(); } /** *

* Contains information on member accounts to be updated. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link UpdateMemberDetectorsRequest.Builder} avoiding the * need to create one manually via {@link UpdateMemberDetectorsRequest#builder()} *

* * @param updateMemberDetectorsRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateMemberDetectorsRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateMemberDetectors operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateMemberDetectors * @see AWS API Documentation */ default CompletableFuture updateMemberDetectors( Consumer updateMemberDetectorsRequest) { return updateMemberDetectors(UpdateMemberDetectorsRequest.builder().applyMutation(updateMemberDetectorsRequest).build()); } /** *

* Configures the delegated administrator account with the provided values. You must provide a value for either * autoEnableOrganizationMembers or autoEnable, but not both. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

* * @param updateOrganizationConfigurationRequest * @return A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture updateOrganizationConfiguration( UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Configures the delegated administrator account with the provided values. You must provide a value for either * autoEnableOrganizationMembers or autoEnable, but not both. *

*

* There might be regional differences because some data sources might not be available in all the Amazon Web * Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints. *

*
*

* This is a convenience which creates an instance of the {@link UpdateOrganizationConfigurationRequest.Builder} * avoiding the need to create one manually via {@link UpdateOrganizationConfigurationRequest#builder()} *

* * @param updateOrganizationConfigurationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateOrganizationConfigurationRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateOrganizationConfiguration * @see AWS API Documentation */ default CompletableFuture updateOrganizationConfiguration( Consumer updateOrganizationConfigurationRequest) { return updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest.builder() .applyMutation(updateOrganizationConfigurationRequest).build()); } /** *

* Updates information about the publishing destination specified by the destinationId. *

* * @param updatePublishingDestinationRequest * @return A Java Future containing the result of the UpdatePublishingDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdatePublishingDestination * @see AWS API Documentation */ default CompletableFuture updatePublishingDestination( UpdatePublishingDestinationRequest updatePublishingDestinationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates information about the publishing destination specified by the destinationId. *

*
*

* This is a convenience which creates an instance of the {@link UpdatePublishingDestinationRequest.Builder} * avoiding the need to create one manually via {@link UpdatePublishingDestinationRequest#builder()} *

* * @param updatePublishingDestinationRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdatePublishingDestinationRequest.Builder} to * create a request. * @return A Java Future containing the result of the UpdatePublishingDestination operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdatePublishingDestination * @see AWS API Documentation */ default CompletableFuture updatePublishingDestination( Consumer updatePublishingDestinationRequest) { return updatePublishingDestination(UpdatePublishingDestinationRequest.builder() .applyMutation(updatePublishingDestinationRequest).build()); } /** *

* Updates the ThreatIntelSet specified by the ThreatIntelSet ID. *

* * @param updateThreatIntelSetRequest * @return A Java Future containing the result of the UpdateThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateThreatIntelSet * @see AWS API Documentation */ default CompletableFuture updateThreatIntelSet( UpdateThreatIntelSetRequest updateThreatIntelSetRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the ThreatIntelSet specified by the ThreatIntelSet ID. *

*
*

* This is a convenience which creates an instance of the {@link UpdateThreatIntelSetRequest.Builder} avoiding the * need to create one manually via {@link UpdateThreatIntelSetRequest#builder()} *

* * @param updateThreatIntelSetRequest * A {@link Consumer} that will call methods on * {@link software.amazon.awssdk.services.guardduty.model.UpdateThreatIntelSetRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateThreatIntelSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • BadRequestException A bad request exception object.
  • *
  • InternalServerErrorException An internal server error exception object.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • GuardDutyException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample GuardDutyAsyncClient.UpdateThreatIntelSet * @see AWS API Documentation */ default CompletableFuture updateThreatIntelSet( Consumer updateThreatIntelSetRequest) { return updateThreatIntelSet(UpdateThreatIntelSetRequest.builder().applyMutation(updateThreatIntelSetRequest).build()); } @Override default GuardDutyServiceClientConfiguration serviceClientConfiguration() { throw new UnsupportedOperationException(); } /** * Create a {@link GuardDutyAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static GuardDutyAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link GuardDutyAsyncClient}. */ static GuardDutyAsyncClientBuilder builder() { return new DefaultGuardDutyAsyncClientBuilder(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy