
software.amazon.awssdk.services.macie2.Macie2AsyncClient Maven / Gradle / Ivy
/*
* 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.macie2;
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.core.SdkClient;
import software.amazon.awssdk.services.macie2.model.AcceptInvitationRequest;
import software.amazon.awssdk.services.macie2.model.AcceptInvitationResponse;
import software.amazon.awssdk.services.macie2.model.BatchGetCustomDataIdentifiersRequest;
import software.amazon.awssdk.services.macie2.model.BatchGetCustomDataIdentifiersResponse;
import software.amazon.awssdk.services.macie2.model.CreateAllowListRequest;
import software.amazon.awssdk.services.macie2.model.CreateAllowListResponse;
import software.amazon.awssdk.services.macie2.model.CreateClassificationJobRequest;
import software.amazon.awssdk.services.macie2.model.CreateClassificationJobResponse;
import software.amazon.awssdk.services.macie2.model.CreateCustomDataIdentifierRequest;
import software.amazon.awssdk.services.macie2.model.CreateCustomDataIdentifierResponse;
import software.amazon.awssdk.services.macie2.model.CreateFindingsFilterRequest;
import software.amazon.awssdk.services.macie2.model.CreateFindingsFilterResponse;
import software.amazon.awssdk.services.macie2.model.CreateInvitationsRequest;
import software.amazon.awssdk.services.macie2.model.CreateInvitationsResponse;
import software.amazon.awssdk.services.macie2.model.CreateMemberRequest;
import software.amazon.awssdk.services.macie2.model.CreateMemberResponse;
import software.amazon.awssdk.services.macie2.model.CreateSampleFindingsRequest;
import software.amazon.awssdk.services.macie2.model.CreateSampleFindingsResponse;
import software.amazon.awssdk.services.macie2.model.DeclineInvitationsRequest;
import software.amazon.awssdk.services.macie2.model.DeclineInvitationsResponse;
import software.amazon.awssdk.services.macie2.model.DeleteAllowListRequest;
import software.amazon.awssdk.services.macie2.model.DeleteAllowListResponse;
import software.amazon.awssdk.services.macie2.model.DeleteCustomDataIdentifierRequest;
import software.amazon.awssdk.services.macie2.model.DeleteCustomDataIdentifierResponse;
import software.amazon.awssdk.services.macie2.model.DeleteFindingsFilterRequest;
import software.amazon.awssdk.services.macie2.model.DeleteFindingsFilterResponse;
import software.amazon.awssdk.services.macie2.model.DeleteInvitationsRequest;
import software.amazon.awssdk.services.macie2.model.DeleteInvitationsResponse;
import software.amazon.awssdk.services.macie2.model.DeleteMemberRequest;
import software.amazon.awssdk.services.macie2.model.DeleteMemberResponse;
import software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest;
import software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse;
import software.amazon.awssdk.services.macie2.model.DescribeClassificationJobRequest;
import software.amazon.awssdk.services.macie2.model.DescribeClassificationJobResponse;
import software.amazon.awssdk.services.macie2.model.DescribeOrganizationConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.DescribeOrganizationConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.DisableMacieRequest;
import software.amazon.awssdk.services.macie2.model.DisableMacieResponse;
import software.amazon.awssdk.services.macie2.model.DisableOrganizationAdminAccountRequest;
import software.amazon.awssdk.services.macie2.model.DisableOrganizationAdminAccountResponse;
import software.amazon.awssdk.services.macie2.model.DisassociateFromAdministratorAccountRequest;
import software.amazon.awssdk.services.macie2.model.DisassociateFromAdministratorAccountResponse;
import software.amazon.awssdk.services.macie2.model.DisassociateFromMasterAccountRequest;
import software.amazon.awssdk.services.macie2.model.DisassociateFromMasterAccountResponse;
import software.amazon.awssdk.services.macie2.model.DisassociateMemberRequest;
import software.amazon.awssdk.services.macie2.model.DisassociateMemberResponse;
import software.amazon.awssdk.services.macie2.model.EnableMacieRequest;
import software.amazon.awssdk.services.macie2.model.EnableMacieResponse;
import software.amazon.awssdk.services.macie2.model.EnableOrganizationAdminAccountRequest;
import software.amazon.awssdk.services.macie2.model.EnableOrganizationAdminAccountResponse;
import software.amazon.awssdk.services.macie2.model.GetAdministratorAccountRequest;
import software.amazon.awssdk.services.macie2.model.GetAdministratorAccountResponse;
import software.amazon.awssdk.services.macie2.model.GetAllowListRequest;
import software.amazon.awssdk.services.macie2.model.GetAllowListResponse;
import software.amazon.awssdk.services.macie2.model.GetAutomatedDiscoveryConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.GetAutomatedDiscoveryConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.GetBucketStatisticsRequest;
import software.amazon.awssdk.services.macie2.model.GetBucketStatisticsResponse;
import software.amazon.awssdk.services.macie2.model.GetClassificationExportConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.GetClassificationExportConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.GetClassificationScopeRequest;
import software.amazon.awssdk.services.macie2.model.GetClassificationScopeResponse;
import software.amazon.awssdk.services.macie2.model.GetCustomDataIdentifierRequest;
import software.amazon.awssdk.services.macie2.model.GetCustomDataIdentifierResponse;
import software.amazon.awssdk.services.macie2.model.GetFindingStatisticsRequest;
import software.amazon.awssdk.services.macie2.model.GetFindingStatisticsResponse;
import software.amazon.awssdk.services.macie2.model.GetFindingsFilterRequest;
import software.amazon.awssdk.services.macie2.model.GetFindingsFilterResponse;
import software.amazon.awssdk.services.macie2.model.GetFindingsPublicationConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.GetFindingsPublicationConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.GetFindingsRequest;
import software.amazon.awssdk.services.macie2.model.GetFindingsResponse;
import software.amazon.awssdk.services.macie2.model.GetInvitationsCountRequest;
import software.amazon.awssdk.services.macie2.model.GetInvitationsCountResponse;
import software.amazon.awssdk.services.macie2.model.GetMacieSessionRequest;
import software.amazon.awssdk.services.macie2.model.GetMacieSessionResponse;
import software.amazon.awssdk.services.macie2.model.GetMasterAccountRequest;
import software.amazon.awssdk.services.macie2.model.GetMasterAccountResponse;
import software.amazon.awssdk.services.macie2.model.GetMemberRequest;
import software.amazon.awssdk.services.macie2.model.GetMemberResponse;
import software.amazon.awssdk.services.macie2.model.GetResourceProfileRequest;
import software.amazon.awssdk.services.macie2.model.GetResourceProfileResponse;
import software.amazon.awssdk.services.macie2.model.GetRevealConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.GetRevealConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.GetSensitiveDataOccurrencesAvailabilityRequest;
import software.amazon.awssdk.services.macie2.model.GetSensitiveDataOccurrencesAvailabilityResponse;
import software.amazon.awssdk.services.macie2.model.GetSensitiveDataOccurrencesRequest;
import software.amazon.awssdk.services.macie2.model.GetSensitiveDataOccurrencesResponse;
import software.amazon.awssdk.services.macie2.model.GetSensitivityInspectionTemplateRequest;
import software.amazon.awssdk.services.macie2.model.GetSensitivityInspectionTemplateResponse;
import software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest;
import software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse;
import software.amazon.awssdk.services.macie2.model.GetUsageTotalsRequest;
import software.amazon.awssdk.services.macie2.model.GetUsageTotalsResponse;
import software.amazon.awssdk.services.macie2.model.ListAllowListsRequest;
import software.amazon.awssdk.services.macie2.model.ListAllowListsResponse;
import software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest;
import software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse;
import software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest;
import software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse;
import software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest;
import software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse;
import software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest;
import software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse;
import software.amazon.awssdk.services.macie2.model.ListFindingsRequest;
import software.amazon.awssdk.services.macie2.model.ListFindingsResponse;
import software.amazon.awssdk.services.macie2.model.ListInvitationsRequest;
import software.amazon.awssdk.services.macie2.model.ListInvitationsResponse;
import software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest;
import software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse;
import software.amazon.awssdk.services.macie2.model.ListMembersRequest;
import software.amazon.awssdk.services.macie2.model.ListMembersResponse;
import software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest;
import software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse;
import software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest;
import software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse;
import software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest;
import software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse;
import software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest;
import software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse;
import software.amazon.awssdk.services.macie2.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.macie2.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.macie2.model.PutClassificationExportConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.PutClassificationExportConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.PutFindingsPublicationConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.PutFindingsPublicationConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.SearchResourcesRequest;
import software.amazon.awssdk.services.macie2.model.SearchResourcesResponse;
import software.amazon.awssdk.services.macie2.model.TagResourceRequest;
import software.amazon.awssdk.services.macie2.model.TagResourceResponse;
import software.amazon.awssdk.services.macie2.model.TestCustomDataIdentifierRequest;
import software.amazon.awssdk.services.macie2.model.TestCustomDataIdentifierResponse;
import software.amazon.awssdk.services.macie2.model.UntagResourceRequest;
import software.amazon.awssdk.services.macie2.model.UntagResourceResponse;
import software.amazon.awssdk.services.macie2.model.UpdateAllowListRequest;
import software.amazon.awssdk.services.macie2.model.UpdateAllowListResponse;
import software.amazon.awssdk.services.macie2.model.UpdateAutomatedDiscoveryConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.UpdateAutomatedDiscoveryConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.UpdateClassificationJobRequest;
import software.amazon.awssdk.services.macie2.model.UpdateClassificationJobResponse;
import software.amazon.awssdk.services.macie2.model.UpdateClassificationScopeRequest;
import software.amazon.awssdk.services.macie2.model.UpdateClassificationScopeResponse;
import software.amazon.awssdk.services.macie2.model.UpdateFindingsFilterRequest;
import software.amazon.awssdk.services.macie2.model.UpdateFindingsFilterResponse;
import software.amazon.awssdk.services.macie2.model.UpdateMacieSessionRequest;
import software.amazon.awssdk.services.macie2.model.UpdateMacieSessionResponse;
import software.amazon.awssdk.services.macie2.model.UpdateMemberSessionRequest;
import software.amazon.awssdk.services.macie2.model.UpdateMemberSessionResponse;
import software.amazon.awssdk.services.macie2.model.UpdateOrganizationConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.UpdateOrganizationConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.UpdateResourceProfileDetectionsRequest;
import software.amazon.awssdk.services.macie2.model.UpdateResourceProfileDetectionsResponse;
import software.amazon.awssdk.services.macie2.model.UpdateResourceProfileRequest;
import software.amazon.awssdk.services.macie2.model.UpdateResourceProfileResponse;
import software.amazon.awssdk.services.macie2.model.UpdateRevealConfigurationRequest;
import software.amazon.awssdk.services.macie2.model.UpdateRevealConfigurationResponse;
import software.amazon.awssdk.services.macie2.model.UpdateSensitivityInspectionTemplateRequest;
import software.amazon.awssdk.services.macie2.model.UpdateSensitivityInspectionTemplateResponse;
import software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher;
import software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher;
import software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher;
import software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher;
import software.amazon.awssdk.services.macie2.waiters.Macie2AsyncWaiter;
/**
* Service client for accessing Amazon Macie 2 asynchronously. This can be created using the static {@link #builder()}
* method.
*
*
* Amazon Macie
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface Macie2AsyncClient extends SdkClient {
String SERVICE_NAME = "macie2";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "macie2";
/**
* Create a {@link Macie2AsyncClient} 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 Macie2AsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link Macie2AsyncClient}.
*/
static Macie2AsyncClientBuilder builder() {
return new DefaultMacie2AsyncClientBuilder();
}
/**
*
* Accepts an Amazon Macie membership invitation that was received from a specific 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.AcceptInvitation
* @see AWS API
* Documentation
*/
default CompletableFuture acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Accepts an Amazon Macie membership invitation that was received from a specific 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.AcceptInvitation
* @see AWS API
* Documentation
*/
default CompletableFuture acceptInvitation(
Consumer acceptInvitationRequest) {
return acceptInvitation(AcceptInvitationRequest.builder().applyMutation(acceptInvitationRequest).build());
}
/**
*
* Retrieves information about one or more custom data identifiers.
*
*
* @param batchGetCustomDataIdentifiersRequest
* @return A Java Future containing the result of the BatchGetCustomDataIdentifiers operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.BatchGetCustomDataIdentifiers
* @see AWS API Documentation
*/
default CompletableFuture batchGetCustomDataIdentifiers(
BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about one or more custom data identifiers.
*
*
*
* This is a convenience which creates an instance of the {@link BatchGetCustomDataIdentifiersRequest.Builder}
* avoiding the need to create one manually via {@link BatchGetCustomDataIdentifiersRequest#builder()}
*
*
* @param batchGetCustomDataIdentifiersRequest
* A {@link Consumer} that will call methods on {@link BatchGetCustomDataIdentifiersRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the BatchGetCustomDataIdentifiers operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.BatchGetCustomDataIdentifiers
* @see AWS API Documentation
*/
default CompletableFuture batchGetCustomDataIdentifiers(
Consumer batchGetCustomDataIdentifiersRequest) {
return batchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest.builder()
.applyMutation(batchGetCustomDataIdentifiersRequest).build());
}
/**
*
* Creates and defines the settings for an allow list.
*
*
* @param createAllowListRequest
* @return A Java Future containing the result of the CreateAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture createAllowList(CreateAllowListRequest createAllowListRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates and defines the settings for an allow list.
*
*
*
* This is a convenience which creates an instance of the {@link CreateAllowListRequest.Builder} avoiding the need
* to create one manually via {@link CreateAllowListRequest#builder()}
*
*
* @param createAllowListRequest
* A {@link Consumer} that will call methods on {@link CreateAllowListRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture createAllowList(
Consumer createAllowListRequest) {
return createAllowList(CreateAllowListRequest.builder().applyMutation(createAllowListRequest).build());
}
/**
*
* Creates and defines the settings for a classification job.
*
*
* @param createClassificationJobRequest
* @return A Java Future containing the result of the CreateClassificationJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateClassificationJob
* @see AWS API Documentation
*/
default CompletableFuture createClassificationJob(
CreateClassificationJobRequest createClassificationJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates and defines the settings for a classification job.
*
*
*
* This is a convenience which creates an instance of the {@link CreateClassificationJobRequest.Builder} avoiding
* the need to create one manually via {@link CreateClassificationJobRequest#builder()}
*
*
* @param createClassificationJobRequest
* A {@link Consumer} that will call methods on {@link CreateClassificationJobRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateClassificationJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateClassificationJob
* @see AWS API Documentation
*/
default CompletableFuture createClassificationJob(
Consumer createClassificationJobRequest) {
return createClassificationJob(CreateClassificationJobRequest.builder().applyMutation(createClassificationJobRequest)
.build());
}
/**
*
* Creates and defines the criteria and other settings for a custom data identifier.
*
*
* @param createCustomDataIdentifierRequest
* @return A Java Future containing the result of the CreateCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture createCustomDataIdentifier(
CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates and defines the criteria and other settings for a custom data identifier.
*
*
*
* This is a convenience which creates an instance of the {@link CreateCustomDataIdentifierRequest.Builder} avoiding
* the need to create one manually via {@link CreateCustomDataIdentifierRequest#builder()}
*
*
* @param createCustomDataIdentifierRequest
* A {@link Consumer} that will call methods on {@link CreateCustomDataIdentifierRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture createCustomDataIdentifier(
Consumer createCustomDataIdentifierRequest) {
return createCustomDataIdentifier(CreateCustomDataIdentifierRequest.builder()
.applyMutation(createCustomDataIdentifierRequest).build());
}
/**
*
* Creates and defines the criteria and other settings for a findings filter.
*
*
* @param createFindingsFilterRequest
* @return A Java Future containing the result of the CreateFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateFindingsFilter
* @see AWS
* API Documentation
*/
default CompletableFuture createFindingsFilter(
CreateFindingsFilterRequest createFindingsFilterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates and defines the criteria and other settings for a findings filter.
*
*
*
* This is a convenience which creates an instance of the {@link CreateFindingsFilterRequest.Builder} avoiding the
* need to create one manually via {@link CreateFindingsFilterRequest#builder()}
*
*
* @param createFindingsFilterRequest
* A {@link Consumer} that will call methods on {@link CreateFindingsFilterRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the CreateFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateFindingsFilter
* @see AWS
* API Documentation
*/
default CompletableFuture createFindingsFilter(
Consumer createFindingsFilterRequest) {
return createFindingsFilter(CreateFindingsFilterRequest.builder().applyMutation(createFindingsFilterRequest).build());
}
/**
*
* Sends an Amazon Macie membership invitation to one or more accounts.
*
*
* @param createInvitationsRequest
* @return A Java Future containing the result of the CreateInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture createInvitations(CreateInvitationsRequest createInvitationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Sends an Amazon Macie membership invitation to one or more accounts.
*
*
*
* This is a convenience which creates an instance of the {@link CreateInvitationsRequest.Builder} avoiding the need
* to create one manually via {@link CreateInvitationsRequest#builder()}
*
*
* @param createInvitationsRequest
* A {@link Consumer} that will call methods on {@link CreateInvitationsRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateInvitations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture createInvitations(
Consumer createInvitationsRequest) {
return createInvitations(CreateInvitationsRequest.builder().applyMutation(createInvitationsRequest).build());
}
/**
*
* Associates an account with an Amazon Macie administrator account.
*
*
* @param createMemberRequest
* @return A Java Future containing the result of the CreateMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateMember
* @see AWS API
* Documentation
*/
default CompletableFuture createMember(CreateMemberRequest createMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Associates an account with an Amazon Macie administrator account.
*
*
*
* This is a convenience which creates an instance of the {@link CreateMemberRequest.Builder} avoiding the need to
* create one manually via {@link CreateMemberRequest#builder()}
*
*
* @param createMemberRequest
* A {@link Consumer} that will call methods on {@link CreateMemberRequest.Builder} to create a request.
* @return A Java Future containing the result of the CreateMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateMember
* @see AWS API
* Documentation
*/
default CompletableFuture createMember(Consumer createMemberRequest) {
return createMember(CreateMemberRequest.builder().applyMutation(createMemberRequest).build());
}
/**
*
* Creates sample findings.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateSampleFindings
* @see AWS
* API Documentation
*/
default CompletableFuture createSampleFindings(
CreateSampleFindingsRequest createSampleFindingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates sample findings.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.CreateSampleFindings
* @see AWS
* API Documentation
*/
default CompletableFuture createSampleFindings(
Consumer createSampleFindingsRequest) {
return createSampleFindings(CreateSampleFindingsRequest.builder().applyMutation(createSampleFindingsRequest).build());
}
/**
*
* Declines Amazon Macie membership invitations that were received from specific accounts.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeclineInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Declines Amazon Macie membership invitations that were received from specific accounts.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeclineInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture declineInvitations(
Consumer declineInvitationsRequest) {
return declineInvitations(DeclineInvitationsRequest.builder().applyMutation(declineInvitationsRequest).build());
}
/**
*
* Deletes an allow list.
*
*
* @param deleteAllowListRequest
* @return A Java Future containing the result of the DeleteAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture deleteAllowList(DeleteAllowListRequest deleteAllowListRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an allow list.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteAllowListRequest.Builder} avoiding the need
* to create one manually via {@link DeleteAllowListRequest#builder()}
*
*
* @param deleteAllowListRequest
* A {@link Consumer} that will call methods on {@link DeleteAllowListRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture deleteAllowList(
Consumer deleteAllowListRequest) {
return deleteAllowList(DeleteAllowListRequest.builder().applyMutation(deleteAllowListRequest).build());
}
/**
*
* Soft deletes a custom data identifier.
*
*
* @param deleteCustomDataIdentifierRequest
* @return A Java Future containing the result of the DeleteCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture deleteCustomDataIdentifier(
DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Soft deletes a custom data identifier.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteCustomDataIdentifierRequest.Builder} avoiding
* the need to create one manually via {@link DeleteCustomDataIdentifierRequest#builder()}
*
*
* @param deleteCustomDataIdentifierRequest
* A {@link Consumer} that will call methods on {@link DeleteCustomDataIdentifierRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture deleteCustomDataIdentifier(
Consumer deleteCustomDataIdentifierRequest) {
return deleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest.builder()
.applyMutation(deleteCustomDataIdentifierRequest).build());
}
/**
*
* Deletes a findings filter.
*
*
* @param deleteFindingsFilterRequest
* @return A Java Future containing the result of the DeleteFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteFindingsFilter
* @see AWS
* API Documentation
*/
default CompletableFuture deleteFindingsFilter(
DeleteFindingsFilterRequest deleteFindingsFilterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a findings filter.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteFindingsFilterRequest.Builder} avoiding the
* need to create one manually via {@link DeleteFindingsFilterRequest#builder()}
*
*
* @param deleteFindingsFilterRequest
* A {@link Consumer} that will call methods on {@link DeleteFindingsFilterRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DeleteFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteFindingsFilter
* @see AWS
* API Documentation
*/
default CompletableFuture deleteFindingsFilter(
Consumer deleteFindingsFilterRequest) {
return deleteFindingsFilter(DeleteFindingsFilterRequest.builder().applyMutation(deleteFindingsFilterRequest).build());
}
/**
*
* Deletes Amazon Macie membership invitations that were received from specific accounts.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes Amazon Macie membership invitations that were received from specific accounts.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture deleteInvitations(
Consumer deleteInvitationsRequest) {
return deleteInvitations(DeleteInvitationsRequest.builder().applyMutation(deleteInvitationsRequest).build());
}
/**
*
* Deletes the association between an Amazon Macie administrator account and an account.
*
*
* @param deleteMemberRequest
* @return A Java Future containing the result of the DeleteMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteMember
* @see AWS API
* Documentation
*/
default CompletableFuture deleteMember(DeleteMemberRequest deleteMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the association between an Amazon Macie administrator account and an account.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteMemberRequest.Builder} avoiding the need to
* create one manually via {@link DeleteMemberRequest#builder()}
*
*
* @param deleteMemberRequest
* A {@link Consumer} that will call methods on {@link DeleteMemberRequest.Builder} to create a request.
* @return A Java Future containing the result of the DeleteMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DeleteMember
* @see AWS API
* Documentation
*/
default CompletableFuture deleteMember(Consumer deleteMemberRequest) {
return deleteMember(DeleteMemberRequest.builder().applyMutation(deleteMemberRequest).build());
}
/**
*
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
* monitors and analyzes for an account.
*
*
* @param describeBucketsRequest
* @return A Java Future containing the result of the DescribeBuckets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeBuckets
* @see AWS API
* Documentation
*/
default CompletableFuture describeBuckets(DescribeBucketsRequest describeBucketsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
* monitors and analyzes for an account.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeBucketsRequest.Builder} avoiding the need
* to create one manually via {@link DescribeBucketsRequest#builder()}
*
*
* @param describeBucketsRequest
* A {@link Consumer} that will call methods on {@link DescribeBucketsRequest.Builder} to create a request.
* @return A Java Future containing the result of the DescribeBuckets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeBuckets
* @see AWS API
* Documentation
*/
default CompletableFuture describeBuckets(
Consumer describeBucketsRequest) {
return describeBuckets(DescribeBucketsRequest.builder().applyMutation(describeBucketsRequest).build());
}
/**
*
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
* monitors and analyzes for an account.
*
*
*
* This is a variant of
* {@link #describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)} 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.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse 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 #describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)} operation.
*
*
* @param describeBucketsRequest
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeBuckets
* @see AWS API
* Documentation
*/
default DescribeBucketsPublisher describeBucketsPaginator(DescribeBucketsRequest describeBucketsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
* monitors and analyzes for an account.
*
*
*
* This is a variant of
* {@link #describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)} 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.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse 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 #describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link DescribeBucketsRequest.Builder} avoiding the need
* to create one manually via {@link DescribeBucketsRequest#builder()}
*
*
* @param describeBucketsRequest
* A {@link Consumer} that will call methods on {@link DescribeBucketsRequest.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeBuckets
* @see AWS API
* Documentation
*/
default DescribeBucketsPublisher describeBucketsPaginator(Consumer describeBucketsRequest) {
return describeBucketsPaginator(DescribeBucketsRequest.builder().applyMutation(describeBucketsRequest).build());
}
/**
*
* Retrieves the status and settings for a classification job.
*
*
* @param describeClassificationJobRequest
* @return A Java Future containing the result of the DescribeClassificationJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeClassificationJob
* @see AWS API Documentation
*/
default CompletableFuture describeClassificationJob(
DescribeClassificationJobRequest describeClassificationJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the status and settings for a classification job.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeClassificationJobRequest.Builder} avoiding
* the need to create one manually via {@link DescribeClassificationJobRequest#builder()}
*
*
* @param describeClassificationJobRequest
* A {@link Consumer} that will call methods on {@link DescribeClassificationJobRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DescribeClassificationJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeClassificationJob
* @see AWS API Documentation
*/
default CompletableFuture describeClassificationJob(
Consumer describeClassificationJobRequest) {
return describeClassificationJob(DescribeClassificationJobRequest.builder()
.applyMutation(describeClassificationJobRequest).build());
}
/**
*
* Retrieves the Amazon Macie configuration settings for an organization in Organizations.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeOrganizationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture describeOrganizationConfiguration(
DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the Amazon Macie configuration settings for an organization in Organizations.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DescribeOrganizationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture describeOrganizationConfiguration(
Consumer describeOrganizationConfigurationRequest) {
return describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest.builder()
.applyMutation(describeOrganizationConfigurationRequest).build());
}
/**
*
* Disables Amazon Macie and deletes all settings and resources for a Macie account.
*
*
* @param disableMacieRequest
* @return A Java Future containing the result of the DisableMacie operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisableMacie
* @see AWS API
* Documentation
*/
default CompletableFuture disableMacie(DisableMacieRequest disableMacieRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Disables Amazon Macie and deletes all settings and resources for a Macie account.
*
*
*
* This is a convenience which creates an instance of the {@link DisableMacieRequest.Builder} avoiding the need to
* create one manually via {@link DisableMacieRequest#builder()}
*
*
* @param disableMacieRequest
* A {@link Consumer} that will call methods on {@link DisableMacieRequest.Builder} to create a request.
* @return A Java Future containing the result of the DisableMacie operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisableMacie
* @see AWS API
* Documentation
*/
default CompletableFuture disableMacie(Consumer disableMacieRequest) {
return disableMacie(DisableMacieRequest.builder().applyMutation(disableMacieRequest).build());
}
/**
*
* Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisableOrganizationAdminAccount
* @see AWS API Documentation
*/
default CompletableFuture disableOrganizationAdminAccount(
DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisableOrganizationAdminAccount
* @see AWS API Documentation
*/
default CompletableFuture disableOrganizationAdminAccount(
Consumer disableOrganizationAdminAccountRequest) {
return disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest.builder()
.applyMutation(disableOrganizationAdminAccountRequest).build());
}
/**
*
* Disassociates a member account from its Amazon Macie administrator 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisassociateFromAdministratorAccount
* @see AWS API Documentation
*/
default CompletableFuture disassociateFromAdministratorAccount(
DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates a member account from its Amazon Macie administrator 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisassociateFromAdministratorAccount
* @see AWS API Documentation
*/
default CompletableFuture disassociateFromAdministratorAccount(
Consumer disassociateFromAdministratorAccountRequest) {
return disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest.builder()
.applyMutation(disassociateFromAdministratorAccountRequest).build());
}
/**
*
* (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been
* replaced by the DisassociateFromAdministratorAccount
* operation.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisassociateFromMasterAccount
* @see AWS API Documentation
*/
default CompletableFuture disassociateFromMasterAccount(
DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been
* replaced by the DisassociateFromAdministratorAccount
* operation.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisassociateFromMasterAccount
* @see AWS API Documentation
*/
default CompletableFuture disassociateFromMasterAccount(
Consumer disassociateFromMasterAccountRequest) {
return disassociateFromMasterAccount(DisassociateFromMasterAccountRequest.builder()
.applyMutation(disassociateFromMasterAccountRequest).build());
}
/**
*
* Disassociates an Amazon Macie administrator account from a member account.
*
*
* @param disassociateMemberRequest
* @return A Java Future containing the result of the DisassociateMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisassociateMember
* @see AWS API
* Documentation
*/
default CompletableFuture disassociateMember(DisassociateMemberRequest disassociateMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Disassociates an Amazon Macie administrator account from a member account.
*
*
*
* This is a convenience which creates an instance of the {@link DisassociateMemberRequest.Builder} avoiding the
* need to create one manually via {@link DisassociateMemberRequest#builder()}
*
*
* @param disassociateMemberRequest
* A {@link Consumer} that will call methods on {@link DisassociateMemberRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the DisassociateMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.DisassociateMember
* @see AWS API
* Documentation
*/
default CompletableFuture disassociateMember(
Consumer disassociateMemberRequest) {
return disassociateMember(DisassociateMemberRequest.builder().applyMutation(disassociateMemberRequest).build());
}
/**
*
* Enables Amazon Macie and specifies the configuration settings for a Macie account.
*
*
* @param enableMacieRequest
* @return A Java Future containing the result of the EnableMacie operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.EnableMacie
* @see AWS API
* Documentation
*/
default CompletableFuture enableMacie(EnableMacieRequest enableMacieRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables Amazon Macie and specifies the configuration settings for a Macie account.
*
*
*
* This is a convenience which creates an instance of the {@link EnableMacieRequest.Builder} avoiding the need to
* create one manually via {@link EnableMacieRequest#builder()}
*
*
* @param enableMacieRequest
* A {@link Consumer} that will call methods on {@link EnableMacieRequest.Builder} to create a request.
* @return A Java Future containing the result of the EnableMacie operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.EnableMacie
* @see AWS API
* Documentation
*/
default CompletableFuture enableMacie(Consumer enableMacieRequest) {
return enableMacie(EnableMacieRequest.builder().applyMutation(enableMacieRequest).build());
}
/**
*
* Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.EnableOrganizationAdminAccount
* @see AWS API Documentation
*/
default CompletableFuture enableOrganizationAdminAccount(
EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.EnableOrganizationAdminAccount
* @see AWS API Documentation
*/
default CompletableFuture enableOrganizationAdminAccount(
Consumer enableOrganizationAdminAccountRequest) {
return enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest.builder()
.applyMutation(enableOrganizationAdminAccountRequest).build());
}
/**
*
* Retrieves information about the Amazon Macie administrator account for an account.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetAdministratorAccount
* @see AWS API Documentation
*/
default CompletableFuture getAdministratorAccount(
GetAdministratorAccountRequest getAdministratorAccountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the Amazon Macie administrator account for an account.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetAdministratorAccount
* @see AWS API Documentation
*/
default CompletableFuture getAdministratorAccount(
Consumer getAdministratorAccountRequest) {
return getAdministratorAccount(GetAdministratorAccountRequest.builder().applyMutation(getAdministratorAccountRequest)
.build());
}
/**
*
* Retrieves the settings and status of an allow list.
*
*
* @param getAllowListRequest
* @return A Java Future containing the result of the GetAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture getAllowList(GetAllowListRequest getAllowListRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the settings and status of an allow list.
*
*
*
* This is a convenience which creates an instance of the {@link GetAllowListRequest.Builder} avoiding the need to
* create one manually via {@link GetAllowListRequest#builder()}
*
*
* @param getAllowListRequest
* A {@link Consumer} that will call methods on {@link GetAllowListRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture getAllowList(Consumer getAllowListRequest) {
return getAllowList(GetAllowListRequest.builder().applyMutation(getAllowListRequest).build());
}
/**
*
* Retrieves the configuration settings and status of automated sensitive data discovery for an account.
*
*
* @param getAutomatedDiscoveryConfigurationRequest
* @return A Java Future containing the result of the GetAutomatedDiscoveryConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetAutomatedDiscoveryConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getAutomatedDiscoveryConfiguration(
GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the configuration settings and status of automated sensitive data discovery for an account.
*
*
*
* This is a convenience which creates an instance of the {@link GetAutomatedDiscoveryConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link GetAutomatedDiscoveryConfigurationRequest#builder()}
*
*
* @param getAutomatedDiscoveryConfigurationRequest
* A {@link Consumer} that will call methods on {@link GetAutomatedDiscoveryConfigurationRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetAutomatedDiscoveryConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetAutomatedDiscoveryConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getAutomatedDiscoveryConfiguration(
Consumer getAutomatedDiscoveryConfigurationRequest) {
return getAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest.builder()
.applyMutation(getAutomatedDiscoveryConfigurationRequest).build());
}
/**
*
* Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes
* for an account.
*
*
* @param getBucketStatisticsRequest
* @return A Java Future containing the result of the GetBucketStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetBucketStatistics
* @see AWS
* API Documentation
*/
default CompletableFuture getBucketStatistics(
GetBucketStatisticsRequest getBucketStatisticsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes
* for an account.
*
*
*
* This is a convenience which creates an instance of the {@link GetBucketStatisticsRequest.Builder} avoiding the
* need to create one manually via {@link GetBucketStatisticsRequest#builder()}
*
*
* @param getBucketStatisticsRequest
* A {@link Consumer} that will call methods on {@link GetBucketStatisticsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetBucketStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetBucketStatistics
* @see AWS
* API Documentation
*/
default CompletableFuture getBucketStatistics(
Consumer getBucketStatisticsRequest) {
return getBucketStatistics(GetBucketStatisticsRequest.builder().applyMutation(getBucketStatisticsRequest).build());
}
/**
*
* Retrieves the configuration settings for storing data classification results.
*
*
* @param getClassificationExportConfigurationRequest
* @return A Java Future containing the result of the GetClassificationExportConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetClassificationExportConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getClassificationExportConfiguration(
GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the configuration settings for storing data classification results.
*
*
*
* This is a convenience which creates an instance of the
* {@link GetClassificationExportConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link GetClassificationExportConfigurationRequest#builder()}
*
*
* @param getClassificationExportConfigurationRequest
* A {@link Consumer} that will call methods on {@link GetClassificationExportConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the GetClassificationExportConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetClassificationExportConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getClassificationExportConfiguration(
Consumer getClassificationExportConfigurationRequest) {
return getClassificationExportConfiguration(GetClassificationExportConfigurationRequest.builder()
.applyMutation(getClassificationExportConfigurationRequest).build());
}
/**
*
* Retrieves the classification scope settings for an account.
*
*
* @param getClassificationScopeRequest
* @return A Java Future containing the result of the GetClassificationScope operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetClassificationScope
* @see AWS
* API Documentation
*/
default CompletableFuture getClassificationScope(
GetClassificationScopeRequest getClassificationScopeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the classification scope settings for an account.
*
*
*
* This is a convenience which creates an instance of the {@link GetClassificationScopeRequest.Builder} avoiding the
* need to create one manually via {@link GetClassificationScopeRequest#builder()}
*
*
* @param getClassificationScopeRequest
* A {@link Consumer} that will call methods on {@link GetClassificationScopeRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetClassificationScope operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetClassificationScope
* @see AWS
* API Documentation
*/
default CompletableFuture getClassificationScope(
Consumer getClassificationScopeRequest) {
return getClassificationScope(GetClassificationScopeRequest.builder().applyMutation(getClassificationScopeRequest)
.build());
}
/**
*
* Retrieves the criteria and other settings for a custom data identifier.
*
*
* @param getCustomDataIdentifierRequest
* @return A Java Future containing the result of the GetCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture getCustomDataIdentifier(
GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the criteria and other settings for a custom data identifier.
*
*
*
* This is a convenience which creates an instance of the {@link GetCustomDataIdentifierRequest.Builder} avoiding
* the need to create one manually via {@link GetCustomDataIdentifierRequest#builder()}
*
*
* @param getCustomDataIdentifierRequest
* A {@link Consumer} that will call methods on {@link GetCustomDataIdentifierRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture getCustomDataIdentifier(
Consumer getCustomDataIdentifierRequest) {
return getCustomDataIdentifier(GetCustomDataIdentifierRequest.builder().applyMutation(getCustomDataIdentifierRequest)
.build());
}
/**
*
* Retrieves (queries) aggregated statistical data about findings.
*
*
* @param getFindingStatisticsRequest
* @return A Java Future containing the result of the GetFindingStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindingStatistics
* @see AWS
* API Documentation
*/
default CompletableFuture getFindingStatistics(
GetFindingStatisticsRequest getFindingStatisticsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) aggregated statistical data about findings.
*
*
*
* This is a convenience which creates an instance of the {@link GetFindingStatisticsRequest.Builder} avoiding the
* need to create one manually via {@link GetFindingStatisticsRequest#builder()}
*
*
* @param getFindingStatisticsRequest
* A {@link Consumer} that will call methods on {@link GetFindingStatisticsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetFindingStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindingStatistics
* @see AWS
* API Documentation
*/
default CompletableFuture getFindingStatistics(
Consumer getFindingStatisticsRequest) {
return getFindingStatistics(GetFindingStatisticsRequest.builder().applyMutation(getFindingStatisticsRequest).build());
}
/**
*
* Retrieves the details of one or more findings.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindings
* @see AWS API
* Documentation
*/
default CompletableFuture getFindings(GetFindingsRequest getFindingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the details of one or more findings.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindings
* @see AWS API
* Documentation
*/
default CompletableFuture getFindings(Consumer getFindingsRequest) {
return getFindings(GetFindingsRequest.builder().applyMutation(getFindingsRequest).build());
}
/**
*
* Retrieves the criteria and other settings for a findings filter.
*
*
* @param getFindingsFilterRequest
* @return A Java Future containing the result of the GetFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindingsFilter
* @see AWS API
* Documentation
*/
default CompletableFuture getFindingsFilter(GetFindingsFilterRequest getFindingsFilterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the criteria and other settings for a findings filter.
*
*
*
* This is a convenience which creates an instance of the {@link GetFindingsFilterRequest.Builder} avoiding the need
* to create one manually via {@link GetFindingsFilterRequest#builder()}
*
*
* @param getFindingsFilterRequest
* A {@link Consumer} that will call methods on {@link GetFindingsFilterRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindingsFilter
* @see AWS API
* Documentation
*/
default CompletableFuture getFindingsFilter(
Consumer getFindingsFilterRequest) {
return getFindingsFilter(GetFindingsFilterRequest.builder().applyMutation(getFindingsFilterRequest).build());
}
/**
*
* Retrieves the configuration settings for publishing findings to Security Hub.
*
*
* @param getFindingsPublicationConfigurationRequest
* @return A Java Future containing the result of the GetFindingsPublicationConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindingsPublicationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getFindingsPublicationConfiguration(
GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the configuration settings for publishing findings to Security Hub.
*
*
*
* This is a convenience which creates an instance of the {@link GetFindingsPublicationConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link GetFindingsPublicationConfigurationRequest#builder()}
*
*
* @param getFindingsPublicationConfigurationRequest
* A {@link Consumer} that will call methods on {@link GetFindingsPublicationConfigurationRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetFindingsPublicationConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetFindingsPublicationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture getFindingsPublicationConfiguration(
Consumer getFindingsPublicationConfigurationRequest) {
return getFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest.builder()
.applyMutation(getFindingsPublicationConfigurationRequest).build());
}
/**
*
* Retrieves the count of Amazon Macie membership invitations that were received by an account.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetInvitationsCount
* @see AWS
* API Documentation
*/
default CompletableFuture getInvitationsCount(
GetInvitationsCountRequest getInvitationsCountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the count of Amazon Macie membership invitations that were received by an account.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetInvitationsCount
* @see AWS
* API Documentation
*/
default CompletableFuture getInvitationsCount(
Consumer getInvitationsCountRequest) {
return getInvitationsCount(GetInvitationsCountRequest.builder().applyMutation(getInvitationsCountRequest).build());
}
/**
*
* Retrieves the status and configuration settings for an Amazon Macie account.
*
*
* @param getMacieSessionRequest
* @return A Java Future containing the result of the GetMacieSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetMacieSession
* @see AWS API
* Documentation
*/
default CompletableFuture getMacieSession(GetMacieSessionRequest getMacieSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the status and configuration settings for an Amazon Macie account.
*
*
*
* This is a convenience which creates an instance of the {@link GetMacieSessionRequest.Builder} avoiding the need
* to create one manually via {@link GetMacieSessionRequest#builder()}
*
*
* @param getMacieSessionRequest
* A {@link Consumer} that will call methods on {@link GetMacieSessionRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetMacieSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetMacieSession
* @see AWS API
* Documentation
*/
default CompletableFuture getMacieSession(
Consumer getMacieSessionRequest) {
return getMacieSession(GetMacieSessionRequest.builder().applyMutation(getMacieSessionRequest).build());
}
/**
*
* (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation
* has been replaced by the GetAdministratorAccount operation.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetMasterAccount
* @see AWS API
* Documentation
*/
default CompletableFuture getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) {
throw new UnsupportedOperationException();
}
/**
*
* (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation
* has been replaced by the GetAdministratorAccount operation.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetMasterAccount
* @see AWS API
* Documentation
*/
default CompletableFuture getMasterAccount(
Consumer getMasterAccountRequest) {
return getMasterAccount(GetMasterAccountRequest.builder().applyMutation(getMasterAccountRequest).build());
}
/**
*
* Retrieves information about an account that's associated with an Amazon Macie administrator account.
*
*
* @param getMemberRequest
* @return A Java Future containing the result of the GetMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetMember
* @see AWS API
* Documentation
*/
default CompletableFuture getMember(GetMemberRequest getMemberRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about an account that's associated with an Amazon Macie administrator account.
*
*
*
* This is a convenience which creates an instance of the {@link GetMemberRequest.Builder} avoiding the need to
* create one manually via {@link GetMemberRequest#builder()}
*
*
* @param getMemberRequest
* A {@link Consumer} that will call methods on {@link GetMemberRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetMember operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetMember
* @see AWS API
* Documentation
*/
default CompletableFuture getMember(Consumer getMemberRequest) {
return getMember(GetMemberRequest.builder().applyMutation(getMemberRequest).build());
}
/**
*
* Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
*
*
* @param getResourceProfileRequest
* @return A Java Future containing the result of the GetResourceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetResourceProfile
* @see AWS API
* Documentation
*/
default CompletableFuture getResourceProfile(GetResourceProfileRequest getResourceProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
*
*
*
* This is a convenience which creates an instance of the {@link GetResourceProfileRequest.Builder} avoiding the
* need to create one manually via {@link GetResourceProfileRequest#builder()}
*
*
* @param getResourceProfileRequest
* A {@link Consumer} that will call methods on {@link GetResourceProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetResourceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetResourceProfile
* @see AWS API
* Documentation
*/
default CompletableFuture getResourceProfile(
Consumer getResourceProfileRequest) {
return getResourceProfile(GetResourceProfileRequest.builder().applyMutation(getResourceProfileRequest).build());
}
/**
*
* Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by
* findings.
*
*
* @param getRevealConfigurationRequest
* @return A Java Future containing the result of the GetRevealConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetRevealConfiguration
* @see AWS
* API Documentation
*/
default CompletableFuture getRevealConfiguration(
GetRevealConfigurationRequest getRevealConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by
* findings.
*
*
*
* This is a convenience which creates an instance of the {@link GetRevealConfigurationRequest.Builder} avoiding the
* need to create one manually via {@link GetRevealConfigurationRequest#builder()}
*
*
* @param getRevealConfigurationRequest
* A {@link Consumer} that will call methods on {@link GetRevealConfigurationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetRevealConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetRevealConfiguration
* @see AWS
* API Documentation
*/
default CompletableFuture getRevealConfiguration(
Consumer getRevealConfigurationRequest) {
return getRevealConfiguration(GetRevealConfigurationRequest.builder().applyMutation(getRevealConfigurationRequest)
.build());
}
/**
*
* Retrieves occurrences of sensitive data reported by a finding.
*
*
* @param getSensitiveDataOccurrencesRequest
* @return A Java Future containing the result of the GetSensitiveDataOccurrences operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - UnprocessableEntityException The request failed because it contains instructions that Amazon Macie
* can't process (Unprocessable Entity).
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetSensitiveDataOccurrences
* @see AWS API Documentation
*/
default CompletableFuture getSensitiveDataOccurrences(
GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves occurrences of sensitive data reported by a finding.
*
*
*
* This is a convenience which creates an instance of the {@link GetSensitiveDataOccurrencesRequest.Builder}
* avoiding the need to create one manually via {@link GetSensitiveDataOccurrencesRequest#builder()}
*
*
* @param getSensitiveDataOccurrencesRequest
* A {@link Consumer} that will call methods on {@link GetSensitiveDataOccurrencesRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the GetSensitiveDataOccurrences operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - UnprocessableEntityException The request failed because it contains instructions that Amazon Macie
* can't process (Unprocessable Entity).
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetSensitiveDataOccurrences
* @see AWS API Documentation
*/
default CompletableFuture getSensitiveDataOccurrences(
Consumer getSensitiveDataOccurrencesRequest) {
return getSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest.builder()
.applyMutation(getSensitiveDataOccurrencesRequest).build());
}
/**
*
* Checks whether occurrences of sensitive data can be retrieved for a finding.
*
*
* @param getSensitiveDataOccurrencesAvailabilityRequest
* @return A Java Future containing the result of the GetSensitiveDataOccurrencesAvailability operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetSensitiveDataOccurrencesAvailability
* @see AWS API Documentation
*/
default CompletableFuture getSensitiveDataOccurrencesAvailability(
GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Checks whether occurrences of sensitive data can be retrieved for a finding.
*
*
*
* This is a convenience which creates an instance of the
* {@link GetSensitiveDataOccurrencesAvailabilityRequest.Builder} avoiding the need to create one manually via
* {@link GetSensitiveDataOccurrencesAvailabilityRequest#builder()}
*
*
* @param getSensitiveDataOccurrencesAvailabilityRequest
* A {@link Consumer} that will call methods on
* {@link GetSensitiveDataOccurrencesAvailabilityRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetSensitiveDataOccurrencesAvailability operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetSensitiveDataOccurrencesAvailability
* @see AWS API Documentation
*/
default CompletableFuture getSensitiveDataOccurrencesAvailability(
Consumer getSensitiveDataOccurrencesAvailabilityRequest) {
return getSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest.builder()
.applyMutation(getSensitiveDataOccurrencesAvailabilityRequest).build());
}
/**
*
* Retrieves the settings for the sensitivity inspection template for an account.
*
*
* @param getSensitivityInspectionTemplateRequest
* @return A Java Future containing the result of the GetSensitivityInspectionTemplate operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetSensitivityInspectionTemplate
* @see AWS API Documentation
*/
default CompletableFuture getSensitivityInspectionTemplate(
GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the settings for the sensitivity inspection template for an account.
*
*
*
* This is a convenience which creates an instance of the {@link GetSensitivityInspectionTemplateRequest.Builder}
* avoiding the need to create one manually via {@link GetSensitivityInspectionTemplateRequest#builder()}
*
*
* @param getSensitivityInspectionTemplateRequest
* A {@link Consumer} that will call methods on {@link GetSensitivityInspectionTemplateRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the GetSensitivityInspectionTemplate operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetSensitivityInspectionTemplate
* @see AWS API Documentation
*/
default CompletableFuture getSensitivityInspectionTemplate(
Consumer getSensitivityInspectionTemplateRequest) {
return getSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest.builder()
.applyMutation(getSensitivityInspectionTemplateRequest).build());
}
/**
*
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetUsageStatistics
* @see AWS API
* Documentation
*/
default CompletableFuture getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetUsageStatistics
* @see AWS API
* Documentation
*/
default CompletableFuture getUsageStatistics(
Consumer getUsageStatisticsRequest) {
return getUsageStatistics(GetUsageStatisticsRequest.builder().applyMutation(getUsageStatisticsRequest).build());
}
/**
*
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*
*
*
* This is a variant of
* {@link #getUsageStatistics(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetUsageStatistics
* @see AWS API
* Documentation
*/
default GetUsageStatisticsPublisher getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) quotas and aggregated usage data for one or more accounts.
*
*
*
* This is a variant of
* {@link #getUsageStatistics(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetUsageStatistics
* @see AWS API
* Documentation
*/
default GetUsageStatisticsPublisher getUsageStatisticsPaginator(
Consumer getUsageStatisticsRequest) {
return getUsageStatisticsPaginator(GetUsageStatisticsRequest.builder().applyMutation(getUsageStatisticsRequest).build());
}
/**
*
* Retrieves (queries) aggregated usage data for an account.
*
*
* @param getUsageTotalsRequest
* @return A Java Future containing the result of the GetUsageTotals operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetUsageTotals
* @see AWS API
* Documentation
*/
default CompletableFuture getUsageTotals(GetUsageTotalsRequest getUsageTotalsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) aggregated usage data for an account.
*
*
*
* This is a convenience which creates an instance of the {@link GetUsageTotalsRequest.Builder} avoiding the need to
* create one manually via {@link GetUsageTotalsRequest#builder()}
*
*
* @param getUsageTotalsRequest
* A {@link Consumer} that will call methods on {@link GetUsageTotalsRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetUsageTotals operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.GetUsageTotals
* @see AWS API
* Documentation
*/
default CompletableFuture getUsageTotals(Consumer getUsageTotalsRequest) {
return getUsageTotals(GetUsageTotalsRequest.builder().applyMutation(getUsageTotalsRequest).build());
}
/**
*
* Retrieves a subset of information about all the allow lists for an account.
*
*
* @param listAllowListsRequest
* @return A Java Future containing the result of the ListAllowLists operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListAllowLists
* @see AWS API
* Documentation
*/
default CompletableFuture listAllowLists(ListAllowListsRequest listAllowListsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about all the allow lists for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListAllowListsRequest.Builder} avoiding the need to
* create one manually via {@link ListAllowListsRequest#builder()}
*
*
* @param listAllowListsRequest
* A {@link Consumer} that will call methods on {@link ListAllowListsRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListAllowLists operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListAllowLists
* @see AWS API
* Documentation
*/
default CompletableFuture listAllowLists(Consumer listAllowListsRequest) {
return listAllowLists(ListAllowListsRequest.builder().applyMutation(listAllowListsRequest).build());
}
/**
*
* Retrieves a subset of information about all the allow lists for an account.
*
*
*
* This is a variant of {@link #listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)}
* 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.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListAllowListsResponse 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 #listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)} operation.
*
*
* @param listAllowListsRequest
* @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.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListAllowLists
* @see AWS API
* Documentation
*/
default ListAllowListsPublisher listAllowListsPaginator(ListAllowListsRequest listAllowListsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about all the allow lists for an account.
*
*
*
* This is a variant of {@link #listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)}
* 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.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListAllowListsResponse 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 #listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link ListAllowListsRequest.Builder} avoiding the need to
* create one manually via {@link ListAllowListsRequest#builder()}
*
*
* @param listAllowListsRequest
* A {@link Consumer} that will call methods on {@link ListAllowListsRequest.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.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListAllowLists
* @see AWS API
* Documentation
*/
default ListAllowListsPublisher listAllowListsPaginator(Consumer listAllowListsRequest) {
return listAllowListsPaginator(ListAllowListsRequest.builder().applyMutation(listAllowListsRequest).build());
}
/**
*
* Retrieves a subset of information about one or more classification jobs.
*
*
* @param listClassificationJobsRequest
* @return A Java Future containing the result of the ListClassificationJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationJobs
* @see AWS
* API Documentation
*/
default CompletableFuture listClassificationJobs(
ListClassificationJobsRequest listClassificationJobsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about one or more classification jobs.
*
*
*
* This is a convenience which creates an instance of the {@link ListClassificationJobsRequest.Builder} avoiding the
* need to create one manually via {@link ListClassificationJobsRequest#builder()}
*
*
* @param listClassificationJobsRequest
* A {@link Consumer} that will call methods on {@link ListClassificationJobsRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListClassificationJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationJobs
* @see AWS
* API Documentation
*/
default CompletableFuture listClassificationJobs(
Consumer listClassificationJobsRequest) {
return listClassificationJobs(ListClassificationJobsRequest.builder().applyMutation(listClassificationJobsRequest)
.build());
}
/**
*
* Retrieves a subset of information about one or more classification jobs.
*
*
*
* This is a variant of
* {@link #listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)}
* 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.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse 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 #listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)}
* operation.
*
*
* @param listClassificationJobsRequest
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationJobs
* @see AWS
* API Documentation
*/
default ListClassificationJobsPublisher listClassificationJobsPaginator(
ListClassificationJobsRequest listClassificationJobsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about one or more classification jobs.
*
*
*
* This is a variant of
* {@link #listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)}
* 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.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse 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 #listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListClassificationJobsRequest.Builder} avoiding the
* need to create one manually via {@link ListClassificationJobsRequest#builder()}
*
*
* @param listClassificationJobsRequest
* A {@link Consumer} that will call methods on {@link ListClassificationJobsRequest.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationJobs
* @see AWS
* API Documentation
*/
default ListClassificationJobsPublisher listClassificationJobsPaginator(
Consumer listClassificationJobsRequest) {
return listClassificationJobsPaginator(ListClassificationJobsRequest.builder()
.applyMutation(listClassificationJobsRequest).build());
}
/**
*
* Retrieves a subset of information about the classification scope for an account.
*
*
* @param listClassificationScopesRequest
* @return A Java Future containing the result of the ListClassificationScopes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationScopes
* @see AWS API Documentation
*/
default CompletableFuture listClassificationScopes(
ListClassificationScopesRequest listClassificationScopesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about the classification scope for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListClassificationScopesRequest.Builder} avoiding
* the need to create one manually via {@link ListClassificationScopesRequest#builder()}
*
*
* @param listClassificationScopesRequest
* A {@link Consumer} that will call methods on {@link ListClassificationScopesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListClassificationScopes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationScopes
* @see AWS API Documentation
*/
default CompletableFuture listClassificationScopes(
Consumer listClassificationScopesRequest) {
return listClassificationScopes(ListClassificationScopesRequest.builder().applyMutation(listClassificationScopesRequest)
.build());
}
/**
*
* Retrieves a subset of information about the classification scope for an account.
*
*
*
* This is a variant of
* {@link #listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)}
* 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.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse 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 null 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 #listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)}
* operation.
*
*
* @param listClassificationScopesRequest
* @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.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationScopes
* @see AWS API Documentation
*/
default ListClassificationScopesPublisher listClassificationScopesPaginator(
ListClassificationScopesRequest listClassificationScopesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about the classification scope for an account.
*
*
*
* This is a variant of
* {@link #listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)}
* 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.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse 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 null 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 #listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListClassificationScopesRequest.Builder} avoiding
* the need to create one manually via {@link ListClassificationScopesRequest#builder()}
*
*
* @param listClassificationScopesRequest
* A {@link Consumer} that will call methods on {@link ListClassificationScopesRequest.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.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListClassificationScopes
* @see AWS API Documentation
*/
default ListClassificationScopesPublisher listClassificationScopesPaginator(
Consumer listClassificationScopesRequest) {
return listClassificationScopesPaginator(ListClassificationScopesRequest.builder()
.applyMutation(listClassificationScopesRequest).build());
}
/**
*
* Retrieves a subset of information about all the custom data identifiers for an account.
*
*
* @param listCustomDataIdentifiersRequest
* @return A Java Future containing the result of the ListCustomDataIdentifiers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListCustomDataIdentifiers
* @see AWS API Documentation
*/
default CompletableFuture listCustomDataIdentifiers(
ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about all the custom data identifiers for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListCustomDataIdentifiersRequest.Builder} avoiding
* the need to create one manually via {@link ListCustomDataIdentifiersRequest#builder()}
*
*
* @param listCustomDataIdentifiersRequest
* A {@link Consumer} that will call methods on {@link ListCustomDataIdentifiersRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListCustomDataIdentifiers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListCustomDataIdentifiers
* @see AWS API Documentation
*/
default CompletableFuture listCustomDataIdentifiers(
Consumer listCustomDataIdentifiersRequest) {
return listCustomDataIdentifiers(ListCustomDataIdentifiersRequest.builder()
.applyMutation(listCustomDataIdentifiersRequest).build());
}
/**
*
* Retrieves a subset of information about all the custom data identifiers for an account.
*
*
*
* This is a variant of
* {@link #listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)}
* 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.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse 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 #listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)}
* operation.
*
*
* @param listCustomDataIdentifiersRequest
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListCustomDataIdentifiers
* @see AWS API Documentation
*/
default ListCustomDataIdentifiersPublisher listCustomDataIdentifiersPaginator(
ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about all the custom data identifiers for an account.
*
*
*
* This is a variant of
* {@link #listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)}
* 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.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse 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 #listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListCustomDataIdentifiersRequest.Builder} avoiding
* the need to create one manually via {@link ListCustomDataIdentifiersRequest#builder()}
*
*
* @param listCustomDataIdentifiersRequest
* A {@link Consumer} that will call methods on {@link ListCustomDataIdentifiersRequest.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListCustomDataIdentifiers
* @see AWS API Documentation
*/
default ListCustomDataIdentifiersPublisher listCustomDataIdentifiersPaginator(
Consumer listCustomDataIdentifiersRequest) {
return listCustomDataIdentifiersPaginator(ListCustomDataIdentifiersRequest.builder()
.applyMutation(listCustomDataIdentifiersRequest).build());
}
/**
*
* Retrieves a subset of information about one or more findings.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindings
* @see AWS API
* Documentation
*/
default CompletableFuture listFindings(ListFindingsRequest listFindingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about one or more findings.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindings
* @see AWS API
* Documentation
*/
default CompletableFuture listFindings(Consumer listFindingsRequest) {
return listFindings(ListFindingsRequest.builder().applyMutation(listFindingsRequest).build());
}
/**
*
* Retrieves a subset of information about all the findings filters for an account.
*
*
* @param listFindingsFiltersRequest
* @return A Java Future containing the result of the ListFindingsFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindingsFilters
* @see AWS
* API Documentation
*/
default CompletableFuture listFindingsFilters(
ListFindingsFiltersRequest listFindingsFiltersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about all the findings filters for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListFindingsFiltersRequest.Builder} avoiding the
* need to create one manually via {@link ListFindingsFiltersRequest#builder()}
*
*
* @param listFindingsFiltersRequest
* A {@link Consumer} that will call methods on {@link ListFindingsFiltersRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListFindingsFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindingsFilters
* @see AWS
* API Documentation
*/
default CompletableFuture listFindingsFilters(
Consumer listFindingsFiltersRequest) {
return listFindingsFilters(ListFindingsFiltersRequest.builder().applyMutation(listFindingsFiltersRequest).build());
}
/**
*
* Retrieves a subset of information about all the findings filters for an account.
*
*
*
* This is a variant of
* {@link #listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)} 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.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse 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 #listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)}
* operation.
*
*
* @param listFindingsFiltersRequest
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindingsFilters
* @see AWS
* API Documentation
*/
default ListFindingsFiltersPublisher listFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about all the findings filters for an account.
*
*
*
* This is a variant of
* {@link #listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)} 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.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse 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 #listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListFindingsFiltersRequest.Builder} avoiding the
* need to create one manually via {@link ListFindingsFiltersRequest#builder()}
*
*
* @param listFindingsFiltersRequest
* A {@link Consumer} that will call methods on {@link ListFindingsFiltersRequest.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindingsFilters
* @see AWS
* API Documentation
*/
default ListFindingsFiltersPublisher listFindingsFiltersPaginator(
Consumer listFindingsFiltersRequest) {
return listFindingsFiltersPaginator(ListFindingsFiltersRequest.builder().applyMutation(listFindingsFiltersRequest)
.build());
}
/**
*
* Retrieves a subset of information about one or more findings.
*
*
*
* This is a variant of {@link #listFindings(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindings
* @see AWS API
* Documentation
*/
default ListFindingsPublisher listFindingsPaginator(ListFindingsRequest listFindingsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about one or more findings.
*
*
*
* This is a variant of {@link #listFindings(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListFindings
* @see AWS API
* Documentation
*/
default ListFindingsPublisher listFindingsPaginator(Consumer listFindingsRequest) {
return listFindingsPaginator(ListFindingsRequest.builder().applyMutation(listFindingsRequest).build());
}
/**
*
* Retrieves information about the Amazon Macie membership invitations that were received by an 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture listInvitations(ListInvitationsRequest listInvitationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the Amazon Macie membership invitations that were received by an 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListInvitations
* @see AWS API
* Documentation
*/
default CompletableFuture listInvitations(
Consumer listInvitationsRequest) {
return listInvitations(ListInvitationsRequest.builder().applyMutation(listInvitationsRequest).build());
}
/**
*
* Retrieves information about the Amazon Macie membership invitations that were received by an account.
*
*
*
* This is a variant of
* {@link #listInvitations(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListInvitations
* @see AWS API
* Documentation
*/
default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the Amazon Macie membership invitations that were received by an account.
*
*
*
* This is a variant of
* {@link #listInvitations(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListInvitations
* @see AWS API
* Documentation
*/
default ListInvitationsPublisher listInvitationsPaginator(Consumer listInvitationsRequest) {
return listInvitationsPaginator(ListInvitationsRequest.builder().applyMutation(listInvitationsRequest).build());
}
/**
*
* Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
*
*
* @param listManagedDataIdentifiersRequest
* @return A Java Future containing the result of the ListManagedDataIdentifiers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListManagedDataIdentifiers
* @see AWS API Documentation
*/
default CompletableFuture listManagedDataIdentifiers(
ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
*
*
*
* This is a convenience which creates an instance of the {@link ListManagedDataIdentifiersRequest.Builder} avoiding
* the need to create one manually via {@link ListManagedDataIdentifiersRequest#builder()}
*
*
* @param listManagedDataIdentifiersRequest
* A {@link Consumer} that will call methods on {@link ListManagedDataIdentifiersRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListManagedDataIdentifiers operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListManagedDataIdentifiers
* @see AWS API Documentation
*/
default CompletableFuture listManagedDataIdentifiers(
Consumer listManagedDataIdentifiersRequest) {
return listManagedDataIdentifiers(ListManagedDataIdentifiersRequest.builder()
.applyMutation(listManagedDataIdentifiersRequest).build());
}
/**
*
* Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
*
*
*
* This is a variant of
* {@link #listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)}
* 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.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse 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 null 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 #listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)}
* operation.
*
*
* @param listManagedDataIdentifiersRequest
* @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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListManagedDataIdentifiers
* @see AWS API Documentation
*/
default ListManagedDataIdentifiersPublisher listManagedDataIdentifiersPaginator(
ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
*
*
*
* This is a variant of
* {@link #listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)}
* 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.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse 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 null 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 #listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListManagedDataIdentifiersRequest.Builder} avoiding
* the need to create one manually via {@link ListManagedDataIdentifiersRequest#builder()}
*
*
* @param listManagedDataIdentifiersRequest
* A {@link Consumer} that will call methods on {@link ListManagedDataIdentifiersRequest.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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListManagedDataIdentifiers
* @see AWS API Documentation
*/
default ListManagedDataIdentifiersPublisher listManagedDataIdentifiersPaginator(
Consumer listManagedDataIdentifiersRequest) {
return listManagedDataIdentifiersPaginator(ListManagedDataIdentifiersRequest.builder()
.applyMutation(listManagedDataIdentifiersRequest).build());
}
/**
*
* Retrieves information about the accounts that are associated with an Amazon Macie 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListMembers
* @see AWS API
* Documentation
*/
default CompletableFuture listMembers(ListMembersRequest listMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the accounts that are associated with an Amazon Macie 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListMembers
* @see AWS API
* Documentation
*/
default CompletableFuture listMembers(Consumer listMembersRequest) {
return listMembers(ListMembersRequest.builder().applyMutation(listMembersRequest).build());
}
/**
*
* Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
*
*
*
* This is a variant of {@link #listMembers(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListMembers
* @see AWS API
* Documentation
*/
default ListMembersPublisher listMembersPaginator(ListMembersRequest listMembersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
*
*
*
* This is a variant of {@link #listMembers(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListMembers
* @see AWS API
* Documentation
*/
default ListMembersPublisher listMembersPaginator(Consumer listMembersRequest) {
return listMembersPaginator(ListMembersRequest.builder().applyMutation(listMembersRequest).build());
}
/**
*
* Retrieves information about the delegated Amazon Macie administrator account for an organization in
* Organizations.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListOrganizationAdminAccounts
* @see AWS API Documentation
*/
default CompletableFuture listOrganizationAdminAccounts(
ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the delegated Amazon Macie administrator account for an organization in
* Organizations.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListOrganizationAdminAccounts
* @see AWS API Documentation
*/
default CompletableFuture listOrganizationAdminAccounts(
Consumer listOrganizationAdminAccountsRequest) {
return listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest.builder()
.applyMutation(listOrganizationAdminAccountsRequest).build());
}
/**
*
* Retrieves information about the delegated Amazon Macie administrator account for an organization in
* Organizations.
*
*
*
* This is a variant of
* {@link #listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListOrganizationAdminAccounts
* @see AWS API Documentation
*/
default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(
ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the delegated Amazon Macie administrator account for an organization in
* Organizations.
*
*
*
* This is a variant of
* {@link #listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.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.macie2.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.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.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.macie2.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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListOrganizationAdminAccounts
* @see AWS API Documentation
*/
default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(
Consumer listOrganizationAdminAccountsRequest) {
return listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest.builder()
.applyMutation(listOrganizationAdminAccountsRequest).build());
}
/**
*
* Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
*
*
* @param listResourceProfileArtifactsRequest
* @return A Java Future containing the result of the ListResourceProfileArtifacts operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileArtifacts
* @see AWS API Documentation
*/
default CompletableFuture listResourceProfileArtifacts(
ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
*
*
*
* This is a convenience which creates an instance of the {@link ListResourceProfileArtifactsRequest.Builder}
* avoiding the need to create one manually via {@link ListResourceProfileArtifactsRequest#builder()}
*
*
* @param listResourceProfileArtifactsRequest
* A {@link Consumer} that will call methods on {@link ListResourceProfileArtifactsRequest.Builder} to create
* a request.
* @return A Java Future containing the result of the ListResourceProfileArtifacts operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileArtifacts
* @see AWS API Documentation
*/
default CompletableFuture listResourceProfileArtifacts(
Consumer listResourceProfileArtifactsRequest) {
return listResourceProfileArtifacts(ListResourceProfileArtifactsRequest.builder()
.applyMutation(listResourceProfileArtifactsRequest).build());
}
/**
*
* Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
*
*
*
* This is a variant of
* {@link #listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)}
* 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.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse 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 null 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 #listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)}
* operation.
*
*
* @param listResourceProfileArtifactsRequest
* @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.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileArtifacts
* @see AWS API Documentation
*/
default ListResourceProfileArtifactsPublisher listResourceProfileArtifactsPaginator(
ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
*
*
*
* This is a variant of
* {@link #listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)}
* 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.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse 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 null 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 #listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListResourceProfileArtifactsRequest.Builder}
* avoiding the need to create one manually via {@link ListResourceProfileArtifactsRequest#builder()}
*
*
* @param listResourceProfileArtifactsRequest
* A {@link Consumer} that will call methods on {@link ListResourceProfileArtifactsRequest.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.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileArtifacts
* @see AWS API Documentation
*/
default ListResourceProfileArtifactsPublisher listResourceProfileArtifactsPaginator(
Consumer listResourceProfileArtifactsRequest) {
return listResourceProfileArtifactsPaginator(ListResourceProfileArtifactsRequest.builder()
.applyMutation(listResourceProfileArtifactsRequest).build());
}
/**
*
* Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
*
*
* @param listResourceProfileDetectionsRequest
* @return A Java Future containing the result of the ListResourceProfileDetections operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileDetections
* @see AWS API Documentation
*/
default CompletableFuture listResourceProfileDetections(
ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
*
*
*
* This is a convenience which creates an instance of the {@link ListResourceProfileDetectionsRequest.Builder}
* avoiding the need to create one manually via {@link ListResourceProfileDetectionsRequest#builder()}
*
*
* @param listResourceProfileDetectionsRequest
* A {@link Consumer} that will call methods on {@link ListResourceProfileDetectionsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListResourceProfileDetections operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileDetections
* @see AWS API Documentation
*/
default CompletableFuture listResourceProfileDetections(
Consumer listResourceProfileDetectionsRequest) {
return listResourceProfileDetections(ListResourceProfileDetectionsRequest.builder()
.applyMutation(listResourceProfileDetectionsRequest).build());
}
/**
*
* Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
*
*
*
* This is a variant of
* {@link #listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)}
* 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.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse 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 #listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)}
* operation.
*
*
* @param listResourceProfileDetectionsRequest
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileDetections
* @see AWS API Documentation
*/
default ListResourceProfileDetectionsPublisher listResourceProfileDetectionsPaginator(
ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
*
*
*
* This is a variant of
* {@link #listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)}
* 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.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse 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 #listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListResourceProfileDetectionsRequest.Builder}
* avoiding the need to create one manually via {@link ListResourceProfileDetectionsRequest#builder()}
*
*
* @param listResourceProfileDetectionsRequest
* A {@link Consumer} that will call methods on {@link ListResourceProfileDetectionsRequest.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListResourceProfileDetections
* @see AWS API Documentation
*/
default ListResourceProfileDetectionsPublisher listResourceProfileDetectionsPaginator(
Consumer listResourceProfileDetectionsRequest) {
return listResourceProfileDetectionsPaginator(ListResourceProfileDetectionsRequest.builder()
.applyMutation(listResourceProfileDetectionsRequest).build());
}
/**
*
* Retrieves a subset of information about the sensitivity inspection template for an account.
*
*
* @param listSensitivityInspectionTemplatesRequest
* @return A Java Future containing the result of the ListSensitivityInspectionTemplates operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListSensitivityInspectionTemplates
* @see AWS API Documentation
*/
default CompletableFuture listSensitivityInspectionTemplates(
ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about the sensitivity inspection template for an account.
*
*
*
* This is a convenience which creates an instance of the {@link ListSensitivityInspectionTemplatesRequest.Builder}
* avoiding the need to create one manually via {@link ListSensitivityInspectionTemplatesRequest#builder()}
*
*
* @param listSensitivityInspectionTemplatesRequest
* A {@link Consumer} that will call methods on {@link ListSensitivityInspectionTemplatesRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the ListSensitivityInspectionTemplates operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListSensitivityInspectionTemplates
* @see AWS API Documentation
*/
default CompletableFuture listSensitivityInspectionTemplates(
Consumer listSensitivityInspectionTemplatesRequest) {
return listSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest.builder()
.applyMutation(listSensitivityInspectionTemplatesRequest).build());
}
/**
*
* Retrieves a subset of information about the sensitivity inspection template for an account.
*
*
*
* This is a variant of
* {@link #listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)}
* 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.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse 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 #listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)}
* operation.
*
*
* @param listSensitivityInspectionTemplatesRequest
* @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.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListSensitivityInspectionTemplates
* @see AWS API Documentation
*/
default ListSensitivityInspectionTemplatesPublisher listSensitivityInspectionTemplatesPaginator(
ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves a subset of information about the sensitivity inspection template for an account.
*
*
*
* This is a variant of
* {@link #listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)}
* 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.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse 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 #listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)}
* operation.
*
*
* This is a convenience which creates an instance of the {@link ListSensitivityInspectionTemplatesRequest.Builder}
* avoiding the need to create one manually via {@link ListSensitivityInspectionTemplatesRequest#builder()}
*
*
* @param listSensitivityInspectionTemplatesRequest
* A {@link Consumer} that will call methods on {@link ListSensitivityInspectionTemplatesRequest.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.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListSensitivityInspectionTemplates
* @see AWS API Documentation
*/
default ListSensitivityInspectionTemplatesPublisher listSensitivityInspectionTemplatesPaginator(
Consumer listSensitivityInspectionTemplatesRequest) {
return listSensitivityInspectionTemplatesPaginator(ListSensitivityInspectionTemplatesRequest.builder()
.applyMutation(listSensitivityInspectionTemplatesRequest).build());
}
/**
*
* Retrieves the tags (keys and values) that are associated with an Amazon Macie 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default CompletableFuture listTagsForResource(
ListTagsForResourceRequest listTagsForResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves the tags (keys and values) that are associated with an Amazon Macie 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 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.ListTagsForResource
* @see AWS
* API Documentation
*/
default CompletableFuture listTagsForResource(
Consumer listTagsForResourceRequest) {
return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build());
}
/**
*
* Creates or updates the configuration settings for storing data classification results.
*
*
* @param putClassificationExportConfigurationRequest
* @return A Java Future containing the result of the PutClassificationExportConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.PutClassificationExportConfiguration
* @see AWS API Documentation
*/
default CompletableFuture putClassificationExportConfiguration(
PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates or updates the configuration settings for storing data classification results.
*
*
*
* This is a convenience which creates an instance of the
* {@link PutClassificationExportConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link PutClassificationExportConfigurationRequest#builder()}
*
*
* @param putClassificationExportConfigurationRequest
* A {@link Consumer} that will call methods on {@link PutClassificationExportConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the PutClassificationExportConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.PutClassificationExportConfiguration
* @see AWS API Documentation
*/
default CompletableFuture putClassificationExportConfiguration(
Consumer putClassificationExportConfigurationRequest) {
return putClassificationExportConfiguration(PutClassificationExportConfigurationRequest.builder()
.applyMutation(putClassificationExportConfigurationRequest).build());
}
/**
*
* Updates the configuration settings for publishing findings to Security Hub.
*
*
* @param putFindingsPublicationConfigurationRequest
* @return A Java Future containing the result of the PutFindingsPublicationConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.PutFindingsPublicationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture putFindingsPublicationConfiguration(
PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the configuration settings for publishing findings to Security Hub.
*
*
*
* This is a convenience which creates an instance of the {@link PutFindingsPublicationConfigurationRequest.Builder}
* avoiding the need to create one manually via {@link PutFindingsPublicationConfigurationRequest#builder()}
*
*
* @param putFindingsPublicationConfigurationRequest
* A {@link Consumer} that will call methods on {@link PutFindingsPublicationConfigurationRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the PutFindingsPublicationConfiguration operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.PutFindingsPublicationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture putFindingsPublicationConfiguration(
Consumer putFindingsPublicationConfigurationRequest) {
return putFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest.builder()
.applyMutation(putFindingsPublicationConfigurationRequest).build());
}
/**
*
* Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
* monitors and analyzes.
*
*
* @param searchResourcesRequest
* @return A Java Future containing the result of the SearchResources operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.SearchResources
* @see AWS API
* Documentation
*/
default CompletableFuture searchResources(SearchResourcesRequest searchResourcesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
* monitors and analyzes.
*
*
*
* This is a convenience which creates an instance of the {@link SearchResourcesRequest.Builder} avoiding the need
* to create one manually via {@link SearchResourcesRequest#builder()}
*
*
* @param searchResourcesRequest
* A {@link Consumer} that will call methods on {@link SearchResourcesRequest.Builder} to create a request.
* @return A Java Future containing the result of the SearchResources operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.SearchResources
* @see AWS API
* Documentation
*/
default CompletableFuture searchResources(
Consumer searchResourcesRequest) {
return searchResources(SearchResourcesRequest.builder().applyMutation(searchResourcesRequest).build());
}
/**
*
* Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
* monitors and analyzes.
*
*
*
* This is a variant of
* {@link #searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)} 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.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.SearchResourcesResponse 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 #searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)} operation.
*
*
* @param searchResourcesRequest
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.SearchResources
* @see AWS API
* Documentation
*/
default SearchResourcesPublisher searchResourcesPaginator(SearchResourcesRequest searchResourcesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
* monitors and analyzes.
*
*
*
* This is a variant of
* {@link #searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)} 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.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.macie2.model.SearchResourcesResponse 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 #searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)} operation.
*
*
* This is a convenience which creates an instance of the {@link SearchResourcesRequest.Builder} avoiding the need
* to create one manually via {@link SearchResourcesRequest#builder()}
*
*
* @param searchResourcesRequest
* A {@link Consumer} that will call methods on {@link SearchResourcesRequest.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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.SearchResources
* @see AWS API
* Documentation
*/
default SearchResourcesPublisher searchResourcesPaginator(Consumer searchResourcesRequest) {
return searchResourcesPaginator(SearchResourcesRequest.builder().applyMutation(searchResourcesRequest).build());
}
/**
*
* Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie 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 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.TagResource
* @see AWS API
* Documentation
*/
default CompletableFuture tagResource(Consumer tagResourceRequest) {
return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build());
}
/**
*
* Tests a custom data identifier.
*
*
* @param testCustomDataIdentifierRequest
* @return A Java Future containing the result of the TestCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.TestCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture testCustomDataIdentifier(
TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Tests a custom data identifier.
*
*
*
* This is a convenience which creates an instance of the {@link TestCustomDataIdentifierRequest.Builder} avoiding
* the need to create one manually via {@link TestCustomDataIdentifierRequest#builder()}
*
*
* @param testCustomDataIdentifierRequest
* A {@link Consumer} that will call methods on {@link TestCustomDataIdentifierRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the TestCustomDataIdentifier operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.TestCustomDataIdentifier
* @see AWS API Documentation
*/
default CompletableFuture testCustomDataIdentifier(
Consumer testCustomDataIdentifierRequest) {
return testCustomDataIdentifier(TestCustomDataIdentifierRequest.builder().applyMutation(testCustomDataIdentifierRequest)
.build());
}
/**
*
* Removes one or more tags (keys and values) from an Amazon Macie 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Removes one or more tags (keys and values) from an Amazon Macie 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 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.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UntagResource
* @see AWS API
* Documentation
*/
default CompletableFuture untagResource(Consumer untagResourceRequest) {
return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build());
}
/**
*
* Updates the settings for an allow list.
*
*
* @param updateAllowListRequest
* @return A Java Future containing the result of the UpdateAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture updateAllowList(UpdateAllowListRequest updateAllowListRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the settings for an allow list.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAllowListRequest.Builder} avoiding the need
* to create one manually via {@link UpdateAllowListRequest#builder()}
*
*
* @param updateAllowListRequest
* A {@link Consumer} that will call methods on {@link UpdateAllowListRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateAllowList operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateAllowList
* @see AWS API
* Documentation
*/
default CompletableFuture updateAllowList(
Consumer updateAllowListRequest) {
return updateAllowList(UpdateAllowListRequest.builder().applyMutation(updateAllowListRequest).build());
}
/**
*
* Enables or disables automated sensitive data discovery for an account.
*
*
* @param updateAutomatedDiscoveryConfigurationRequest
* @return A Java Future containing the result of the UpdateAutomatedDiscoveryConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateAutomatedDiscoveryConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateAutomatedDiscoveryConfiguration(
UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables or disables automated sensitive data discovery for an account.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateAutomatedDiscoveryConfigurationRequest.Builder} avoiding the need to create one manually via
* {@link UpdateAutomatedDiscoveryConfigurationRequest#builder()}
*
*
* @param updateAutomatedDiscoveryConfigurationRequest
* A {@link Consumer} that will call methods on {@link UpdateAutomatedDiscoveryConfigurationRequest.Builder}
* to create a request.
* @return A Java Future containing the result of the UpdateAutomatedDiscoveryConfiguration operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateAutomatedDiscoveryConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateAutomatedDiscoveryConfiguration(
Consumer updateAutomatedDiscoveryConfigurationRequest) {
return updateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest.builder()
.applyMutation(updateAutomatedDiscoveryConfigurationRequest).build());
}
/**
*
* Changes the status of a classification job.
*
*
* @param updateClassificationJobRequest
* @return A Java Future containing the result of the UpdateClassificationJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateClassificationJob
* @see AWS API Documentation
*/
default CompletableFuture updateClassificationJob(
UpdateClassificationJobRequest updateClassificationJobRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Changes the status of a classification job.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateClassificationJobRequest.Builder} avoiding
* the need to create one manually via {@link UpdateClassificationJobRequest#builder()}
*
*
* @param updateClassificationJobRequest
* A {@link Consumer} that will call methods on {@link UpdateClassificationJobRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateClassificationJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateClassificationJob
* @see AWS API Documentation
*/
default CompletableFuture updateClassificationJob(
Consumer updateClassificationJobRequest) {
return updateClassificationJob(UpdateClassificationJobRequest.builder().applyMutation(updateClassificationJobRequest)
.build());
}
/**
*
* Updates the classification scope settings for an account.
*
*
* @param updateClassificationScopeRequest
* @return A Java Future containing the result of the UpdateClassificationScope operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateClassificationScope
* @see AWS API Documentation
*/
default CompletableFuture updateClassificationScope(
UpdateClassificationScopeRequest updateClassificationScopeRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the classification scope settings for an account.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateClassificationScopeRequest.Builder} avoiding
* the need to create one manually via {@link UpdateClassificationScopeRequest#builder()}
*
*
* @param updateClassificationScopeRequest
* A {@link Consumer} that will call methods on {@link UpdateClassificationScopeRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateClassificationScope operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateClassificationScope
* @see AWS API Documentation
*/
default CompletableFuture updateClassificationScope(
Consumer updateClassificationScopeRequest) {
return updateClassificationScope(UpdateClassificationScopeRequest.builder()
.applyMutation(updateClassificationScopeRequest).build());
}
/**
*
* Updates the criteria and other settings for a findings filter.
*
*
* @param updateFindingsFilterRequest
* @return A Java Future containing the result of the UpdateFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateFindingsFilter
* @see AWS
* API Documentation
*/
default CompletableFuture updateFindingsFilter(
UpdateFindingsFilterRequest updateFindingsFilterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the criteria and other settings for a findings filter.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateFindingsFilterRequest.Builder} avoiding the
* need to create one manually via {@link UpdateFindingsFilterRequest#builder()}
*
*
* @param updateFindingsFilterRequest
* A {@link Consumer} that will call methods on {@link UpdateFindingsFilterRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateFindingsFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateFindingsFilter
* @see AWS
* API Documentation
*/
default CompletableFuture updateFindingsFilter(
Consumer updateFindingsFilterRequest) {
return updateFindingsFilter(UpdateFindingsFilterRequest.builder().applyMutation(updateFindingsFilterRequest).build());
}
/**
*
* Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
*
*
* @param updateMacieSessionRequest
* @return A Java Future containing the result of the UpdateMacieSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateMacieSession
* @see AWS API
* Documentation
*/
default CompletableFuture updateMacieSession(UpdateMacieSessionRequest updateMacieSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateMacieSessionRequest.Builder} avoiding the
* need to create one manually via {@link UpdateMacieSessionRequest#builder()}
*
*
* @param updateMacieSessionRequest
* A {@link Consumer} that will call methods on {@link UpdateMacieSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateMacieSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateMacieSession
* @see AWS API
* Documentation
*/
default CompletableFuture updateMacieSession(
Consumer updateMacieSessionRequest) {
return updateMacieSession(UpdateMacieSessionRequest.builder().applyMutation(updateMacieSessionRequest).build());
}
/**
*
* Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
*
*
* @param updateMemberSessionRequest
* @return A Java Future containing the result of the UpdateMemberSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateMemberSession
* @see AWS
* API Documentation
*/
default CompletableFuture updateMemberSession(
UpdateMemberSessionRequest updateMemberSessionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateMemberSessionRequest.Builder} avoiding the
* need to create one manually via {@link UpdateMemberSessionRequest#builder()}
*
*
* @param updateMemberSessionRequest
* A {@link Consumer} that will call methods on {@link UpdateMemberSessionRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateMemberSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateMemberSession
* @see AWS
* API Documentation
*/
default CompletableFuture updateMemberSession(
Consumer updateMemberSessionRequest) {
return updateMemberSession(UpdateMemberSessionRequest.builder().applyMutation(updateMemberSessionRequest).build());
}
/**
*
* Updates the Amazon Macie configuration settings for an organization in Organizations.
*
*
* @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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateOrganizationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateOrganizationConfiguration(
UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the Amazon Macie configuration settings for an organization in Organizations.
*
*
*
* 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 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.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ConflictException The request failed because it conflicts with the current state of the specified
* resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateOrganizationConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateOrganizationConfiguration(
Consumer updateOrganizationConfigurationRequest) {
return updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest.builder()
.applyMutation(updateOrganizationConfigurationRequest).build());
}
/**
*
* Updates the sensitivity score for an S3 bucket.
*
*
* @param updateResourceProfileRequest
* @return A Java Future containing the result of the UpdateResourceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateResourceProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateResourceProfile(
UpdateResourceProfileRequest updateResourceProfileRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the sensitivity score for an S3 bucket.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateResourceProfileRequest.Builder} avoiding the
* need to create one manually via {@link UpdateResourceProfileRequest#builder()}
*
*
* @param updateResourceProfileRequest
* A {@link Consumer} that will call methods on {@link UpdateResourceProfileRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateResourceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateResourceProfile
* @see AWS
* API Documentation
*/
default CompletableFuture updateResourceProfile(
Consumer updateResourceProfileRequest) {
return updateResourceProfile(UpdateResourceProfileRequest.builder().applyMutation(updateResourceProfileRequest).build());
}
/**
*
* Updates the sensitivity scoring settings for an S3 bucket.
*
*
* @param updateResourceProfileDetectionsRequest
* @return A Java Future containing the result of the UpdateResourceProfileDetections operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateResourceProfileDetections
* @see AWS API Documentation
*/
default CompletableFuture updateResourceProfileDetections(
UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the sensitivity scoring settings for an S3 bucket.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateResourceProfileDetectionsRequest.Builder}
* avoiding the need to create one manually via {@link UpdateResourceProfileDetectionsRequest#builder()}
*
*
* @param updateResourceProfileDetectionsRequest
* A {@link Consumer} that will call methods on {@link UpdateResourceProfileDetectionsRequest.Builder} to
* create a request.
* @return A Java Future containing the result of the UpdateResourceProfileDetections operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or
* more service quotas for your account.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - ResourceNotFoundException The request failed because the specified resource wasn't found.
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateResourceProfileDetections
* @see AWS API Documentation
*/
default CompletableFuture updateResourceProfileDetections(
Consumer updateResourceProfileDetectionsRequest) {
return updateResourceProfileDetections(UpdateResourceProfileDetectionsRequest.builder()
.applyMutation(updateResourceProfileDetectionsRequest).build());
}
/**
*
* Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
*
*
* @param updateRevealConfigurationRequest
* @return A Java Future containing the result of the UpdateRevealConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateRevealConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateRevealConfiguration(
UpdateRevealConfigurationRequest updateRevealConfigurationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateRevealConfigurationRequest.Builder} avoiding
* the need to create one manually via {@link UpdateRevealConfigurationRequest#builder()}
*
*
* @param updateRevealConfigurationRequest
* A {@link Consumer} that will call methods on {@link UpdateRevealConfigurationRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the UpdateRevealConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions.
*
* - ThrottlingException The request failed because you sent too many requests during a certain amount of
* time.
* - ValidationException The request failed because the input doesn't satisfy the constraints specified by
* the service.
* - InternalServerException The request failed due to an unknown internal server error, exception, or
* failure.
* - AccessDeniedException The request was denied because you don't have sufficient access to the
* specified resource.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an
* instance of this type.
*
* @sample Macie2AsyncClient.UpdateRevealConfiguration
* @see AWS API Documentation
*/
default CompletableFuture updateRevealConfiguration(
Consumer updateRevealConfigurationRequest) {
return updateRevealConfiguration(UpdateRevealConfigurationRequest.builder()
.applyMutation(updateRevealConfigurationRequest).build());
}
/**
*