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