@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface Macie2Client extends SdkClient
builder() method.
Amazon Macie is a fully managed data security and data privacy service that uses machine learning and pattern matching to discover and protect your sensitive data in AWS. Macie automates the discovery of sensitive data, such as PII and intellectual property, to provide you with insight into the data that your organization stores in AWS. Macie also provides an inventory of your Amazon S3 buckets, which it continually monitors for you. If Macie detects sensitive data or potential data access issues, it generates detailed findings for you to review and act upon as necessary.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default AcceptInvitationResponse |
acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)
Accepts an Amazon Macie membership invitation that was received from a specific account.
|
default AcceptInvitationResponse |
acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)
Accepts an Amazon Macie membership invitation that was received from a specific account.
|
default BatchGetCustomDataIdentifiersResponse |
batchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest)
Retrieves information about one or more custom data identifiers.
|
default BatchGetCustomDataIdentifiersResponse |
batchGetCustomDataIdentifiers(Consumer<BatchGetCustomDataIdentifiersRequest.Builder> batchGetCustomDataIdentifiersRequest)
Retrieves information about one or more custom data identifiers.
|
static Macie2ClientBuilder |
builder()
Create a builder that can be used to configure and create a
Macie2Client. |
static Macie2Client |
create()
Create a
Macie2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateClassificationJobResponse |
createClassificationJob(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest)
Creates and defines the settings for a classification job.
|
default CreateClassificationJobResponse |
createClassificationJob(CreateClassificationJobRequest createClassificationJobRequest)
Creates and defines the settings for a classification job.
|
default CreateCustomDataIdentifierResponse |
createCustomDataIdentifier(Consumer<CreateCustomDataIdentifierRequest.Builder> createCustomDataIdentifierRequest)
Creates and defines the criteria and other settings for a custom data identifier.
|
default CreateCustomDataIdentifierResponse |
createCustomDataIdentifier(CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest)
Creates and defines the criteria and other settings for a custom data identifier.
|
default CreateFindingsFilterResponse |
createFindingsFilter(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest)
Creates and defines the criteria and other settings for a findings filter.
|
default CreateFindingsFilterResponse |
createFindingsFilter(CreateFindingsFilterRequest createFindingsFilterRequest)
Creates and defines the criteria and other settings for a findings filter.
|
default CreateInvitationsResponse |
createInvitations(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest)
Sends an Amazon Macie membership invitation to one or more accounts.
|
default CreateInvitationsResponse |
createInvitations(CreateInvitationsRequest createInvitationsRequest)
Sends an Amazon Macie membership invitation to one or more accounts.
|
default CreateMemberResponse |
createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest)
Associates an account with an Amazon Macie administrator account.
|
default CreateMemberResponse |
createMember(CreateMemberRequest createMemberRequest)
Associates an account with an Amazon Macie administrator account.
|
default CreateSampleFindingsResponse |
createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest)
Creates sample findings.
|
default CreateSampleFindingsResponse |
createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest)
Creates sample findings.
|
default DeclineInvitationsResponse |
declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)
Declines Amazon Macie membership invitations that were received from specific accounts.
|
default DeclineInvitationsResponse |
declineInvitations(DeclineInvitationsRequest declineInvitationsRequest)
Declines Amazon Macie membership invitations that were received from specific accounts.
|
default DeleteCustomDataIdentifierResponse |
deleteCustomDataIdentifier(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest)
Soft deletes a custom data identifier.
|
default DeleteCustomDataIdentifierResponse |
deleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest)
Soft deletes a custom data identifier.
|
default DeleteFindingsFilterResponse |
deleteFindingsFilter(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest)
Deletes a findings filter.
|
default DeleteFindingsFilterResponse |
deleteFindingsFilter(DeleteFindingsFilterRequest deleteFindingsFilterRequest)
Deletes a findings filter.
|
default DeleteInvitationsResponse |
deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)
Deletes Amazon Macie membership invitations that were received from specific accounts.
|
default DeleteInvitationsResponse |
deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest)
Deletes Amazon Macie membership invitations that were received from specific accounts.
|
default DeleteMemberResponse |
deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest)
Deletes the association between an Amazon Macie administrator account and an account.
|
default DeleteMemberResponse |
deleteMember(DeleteMemberRequest deleteMemberRequest)
Deletes the association between an Amazon Macie administrator account and an account.
|
default DescribeBucketsResponse |
describeBuckets(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest)
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
monitors and analyzes.
|
default DescribeBucketsResponse |
describeBuckets(DescribeBucketsRequest describeBucketsRequest)
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
monitors and analyzes.
|
default DescribeBucketsIterable |
describeBucketsPaginator(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest)
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
monitors and analyzes.
|
default DescribeBucketsIterable |
describeBucketsPaginator(DescribeBucketsRequest describeBucketsRequest)
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
monitors and analyzes.
|
default DescribeClassificationJobResponse |
describeClassificationJob(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest)
Retrieves the status and settings for a classification job.
|
default DescribeClassificationJobResponse |
describeClassificationJob(DescribeClassificationJobRequest describeClassificationJobRequest)
Retrieves the status and settings for a classification job.
|
default DescribeOrganizationConfigurationResponse |
describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)
Retrieves the Amazon Macie configuration settings for an organization in Organizations.
|
default DescribeOrganizationConfigurationResponse |
describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)
Retrieves the Amazon Macie configuration settings for an organization in Organizations.
|
default DisableMacieResponse |
disableMacie(Consumer<DisableMacieRequest.Builder> disableMacieRequest)
Disables Amazon Macie and deletes all settings and resources for a Macie account.
|
default DisableMacieResponse |
disableMacie(DisableMacieRequest disableMacieRequest)
Disables Amazon Macie and deletes all settings and resources for a Macie account.
|
default DisableOrganizationAdminAccountResponse |
disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)
Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
|
default DisableOrganizationAdminAccountResponse |
disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)
Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
|
default DisassociateFromAdministratorAccountResponse |
disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)
Disassociates a member account from its Amazon Macie administrator account.
|
default DisassociateFromAdministratorAccountResponse |
disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)
Disassociates a member account from its Amazon Macie administrator account.
|
default DisassociateFromMasterAccountResponse |
disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)
(Deprecated) Disassociates a member account from its Amazon Macie administrator account.
|
default DisassociateFromMasterAccountResponse |
disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)
(Deprecated) Disassociates a member account from its Amazon Macie administrator account.
|
default DisassociateMemberResponse |
disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)
Disassociates an Amazon Macie administrator account from a member account.
|
default DisassociateMemberResponse |
disassociateMember(DisassociateMemberRequest disassociateMemberRequest)
Disassociates an Amazon Macie administrator account from a member account.
|
default EnableMacieResponse |
enableMacie(Consumer<EnableMacieRequest.Builder> enableMacieRequest)
Enables Amazon Macie and specifies the configuration settings for a Macie account.
|
default EnableMacieResponse |
enableMacie(EnableMacieRequest enableMacieRequest)
Enables Amazon Macie and specifies the configuration settings for a Macie account.
|
default EnableOrganizationAdminAccountResponse |
enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)
Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
|
default EnableOrganizationAdminAccountResponse |
enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)
Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
|
default GetAdministratorAccountResponse |
getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)
Retrieves information about the Amazon Macie administrator account for an account.
|
default GetAdministratorAccountResponse |
getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest)
Retrieves information about the Amazon Macie administrator account for an account.
|
default GetBucketStatisticsResponse |
getBucketStatistics(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest)
Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
|
default GetBucketStatisticsResponse |
getBucketStatistics(GetBucketStatisticsRequest getBucketStatisticsRequest)
Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
|
default GetClassificationExportConfigurationResponse |
getClassificationExportConfiguration(Consumer<GetClassificationExportConfigurationRequest.Builder> getClassificationExportConfigurationRequest)
Retrieves the configuration settings for storing data classification results.
|
default GetClassificationExportConfigurationResponse |
getClassificationExportConfiguration(GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest)
Retrieves the configuration settings for storing data classification results.
|
default GetCustomDataIdentifierResponse |
getCustomDataIdentifier(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest)
Retrieves the criteria and other settings for a custom data identifier.
|
default GetCustomDataIdentifierResponse |
getCustomDataIdentifier(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest)
Retrieves the criteria and other settings for a custom data identifier.
|
default GetFindingsResponse |
getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest)
Retrieves the details of one or more findings.
|
default GetFindingsResponse |
getFindings(GetFindingsRequest getFindingsRequest)
Retrieves the details of one or more findings.
|
default GetFindingsFilterResponse |
getFindingsFilter(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest)
Retrieves the criteria and other settings for a findings filter.
|
default GetFindingsFilterResponse |
getFindingsFilter(GetFindingsFilterRequest getFindingsFilterRequest)
Retrieves the criteria and other settings for a findings filter.
|
default GetFindingsPublicationConfigurationResponse |
getFindingsPublicationConfiguration(Consumer<GetFindingsPublicationConfigurationRequest.Builder> getFindingsPublicationConfigurationRequest)
Retrieves the configuration settings for publishing findings to Security Hub.
|
default GetFindingsPublicationConfigurationResponse |
getFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest)
Retrieves the configuration settings for publishing findings to Security Hub.
|
default GetFindingStatisticsResponse |
getFindingStatistics(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest)
Retrieves (queries) aggregated statistical data about findings.
|
default GetFindingStatisticsResponse |
getFindingStatistics(GetFindingStatisticsRequest getFindingStatisticsRequest)
Retrieves (queries) aggregated statistical data about findings.
|
default GetInvitationsCountResponse |
getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)
Retrieves the count of Amazon Macie membership invitations that were received by an account.
|
default GetInvitationsCountResponse |
getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest)
Retrieves the count of Amazon Macie membership invitations that were received by an account.
|
default GetMacieSessionResponse |
getMacieSession(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest)
Retrieves the current status and configuration settings for an Amazon Macie account.
|
default GetMacieSessionResponse |
getMacieSession(GetMacieSessionRequest getMacieSessionRequest)
Retrieves the current status and configuration settings for an Amazon Macie account.
|
default GetMasterAccountResponse |
getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account.
|
default GetMasterAccountResponse |
getMasterAccount(GetMasterAccountRequest getMasterAccountRequest)
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account.
|
default GetMemberResponse |
getMember(Consumer<GetMemberRequest.Builder> getMemberRequest)
Retrieves information about an account that's associated with an Amazon Macie administrator account.
|
default GetMemberResponse |
getMember(GetMemberRequest getMemberRequest)
Retrieves information about an account that's associated with an Amazon Macie administrator account.
|
default GetUsageStatisticsResponse |
getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
|
default GetUsageStatisticsResponse |
getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest)
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
|
default GetUsageStatisticsIterable |
getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
|
default GetUsageStatisticsIterable |
getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest)
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
|
default GetUsageTotalsResponse |
getUsageTotals(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest)
Retrieves (queries) aggregated usage data for an account.
|
default GetUsageTotalsResponse |
getUsageTotals(GetUsageTotalsRequest getUsageTotalsRequest)
Retrieves (queries) aggregated usage data for an account.
|
default ListClassificationJobsResponse |
listClassificationJobs(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest)
Retrieves a subset of information about one or more classification jobs.
|
default ListClassificationJobsResponse |
listClassificationJobs(ListClassificationJobsRequest listClassificationJobsRequest)
Retrieves a subset of information about one or more classification jobs.
|
default ListClassificationJobsIterable |
listClassificationJobsPaginator(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest)
Retrieves a subset of information about one or more classification jobs.
|
default ListClassificationJobsIterable |
listClassificationJobsPaginator(ListClassificationJobsRequest listClassificationJobsRequest)
Retrieves a subset of information about one or more classification jobs.
|
default ListCustomDataIdentifiersResponse |
listCustomDataIdentifiers(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest)
Retrieves a subset of information about all the custom data identifiers for an account.
|
default ListCustomDataIdentifiersResponse |
listCustomDataIdentifiers(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest)
Retrieves a subset of information about all the custom data identifiers for an account.
|
default ListCustomDataIdentifiersIterable |
listCustomDataIdentifiersPaginator(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest)
Retrieves a subset of information about all the custom data identifiers for an account.
|
default ListCustomDataIdentifiersIterable |
listCustomDataIdentifiersPaginator(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest)
Retrieves a subset of information about all the custom data identifiers for an account.
|
default ListFindingsResponse |
listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Retrieves a subset of information about one or more findings.
|
default ListFindingsResponse |
listFindings(ListFindingsRequest listFindingsRequest)
Retrieves a subset of information about one or more findings.
|
default ListFindingsFiltersResponse |
listFindingsFilters(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest)
Retrieves a subset of information about all the findings filters for an account.
|
default ListFindingsFiltersResponse |
listFindingsFilters(ListFindingsFiltersRequest listFindingsFiltersRequest)
Retrieves a subset of information about all the findings filters for an account.
|
default ListFindingsFiltersIterable |
listFindingsFiltersPaginator(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest)
Retrieves a subset of information about all the findings filters for an account.
|
default ListFindingsFiltersIterable |
listFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest)
Retrieves a subset of information about all the findings filters for an account.
|
default ListFindingsIterable |
listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest)
Retrieves a subset of information about one or more findings.
|
default ListFindingsIterable |
listFindingsPaginator(ListFindingsRequest listFindingsRequest)
Retrieves a subset of information about one or more findings.
|
default ListInvitationsResponse |
listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Retrieves information about the Amazon Macie membership invitations that were received by an account.
|
default ListInvitationsResponse |
listInvitations(ListInvitationsRequest listInvitationsRequest)
Retrieves information about the Amazon Macie membership invitations that were received by an account.
|
default ListInvitationsIterable |
listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)
Retrieves information about the Amazon Macie membership invitations that were received by an account.
|
default ListInvitationsIterable |
listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest)
Retrieves information about the Amazon Macie membership invitations that were received by an account.
|
default ListManagedDataIdentifiersResponse |
listManagedDataIdentifiers(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest)
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
|
default ListManagedDataIdentifiersResponse |
listManagedDataIdentifiers(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest)
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
|
default ListMembersResponse |
listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest)
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
|
default ListMembersResponse |
listMembers(ListMembersRequest listMembersRequest)
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
|
default ListMembersIterable |
listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest)
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
|
default ListMembersIterable |
listMembersPaginator(ListMembersRequest listMembersRequest)
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
|
default ListOrganizationAdminAccountsResponse |
listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Retrieves information about the delegated Amazon Macie administrator account for an organization in
Organizations.
|
default ListOrganizationAdminAccountsResponse |
listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Retrieves information about the delegated Amazon Macie administrator account for an organization in
Organizations.
|
default ListOrganizationAdminAccountsIterable |
listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)
Retrieves information about the delegated Amazon Macie administrator account for an organization in
Organizations.
|
default ListOrganizationAdminAccountsIterable |
listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)
Retrieves information about the delegated Amazon Macie administrator account for an organization in
Organizations.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier,
findings filter, or member account.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier,
findings filter, or member account.
|
default PutClassificationExportConfigurationResponse |
putClassificationExportConfiguration(Consumer<PutClassificationExportConfigurationRequest.Builder> putClassificationExportConfigurationRequest)
Creates or updates the configuration settings for storing data classification results.
|
default PutClassificationExportConfigurationResponse |
putClassificationExportConfiguration(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest)
Creates or updates the configuration settings for storing data classification results.
|
default PutFindingsPublicationConfigurationResponse |
putFindingsPublicationConfiguration(Consumer<PutFindingsPublicationConfigurationRequest.Builder> putFindingsPublicationConfigurationRequest)
Updates the configuration settings for publishing findings to Security Hub.
|
default PutFindingsPublicationConfigurationResponse |
putFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest)
Updates the configuration settings for publishing findings to Security Hub.
|
default SearchResourcesResponse |
searchResources(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest)
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
monitors and analyzes.
|
default SearchResourcesResponse |
searchResources(SearchResourcesRequest searchResourcesRequest)
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
monitors and analyzes.
|
default SearchResourcesIterable |
searchResourcesPaginator(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest)
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
monitors and analyzes.
|
default SearchResourcesIterable |
searchResourcesPaginator(SearchResourcesRequest searchResourcesRequest)
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie
monitors and analyzes.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data
identifier, findings filter, or member account.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data
identifier, findings filter, or member account.
|
default TestCustomDataIdentifierResponse |
testCustomDataIdentifier(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest)
Tests a custom data identifier.
|
default TestCustomDataIdentifierResponse |
testCustomDataIdentifier(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest)
Tests a custom data identifier.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or
member account.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or
member account.
|
default UpdateClassificationJobResponse |
updateClassificationJob(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest)
Changes the status of a classification job.
|
default UpdateClassificationJobResponse |
updateClassificationJob(UpdateClassificationJobRequest updateClassificationJobRequest)
Changes the status of a classification job.
|
default UpdateFindingsFilterResponse |
updateFindingsFilter(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest)
Updates the criteria and other settings for a findings filter.
|
default UpdateFindingsFilterResponse |
updateFindingsFilter(UpdateFindingsFilterRequest updateFindingsFilterRequest)
Updates the criteria and other settings for a findings filter.
|
default UpdateMacieSessionResponse |
updateMacieSession(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest)
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
|
default UpdateMacieSessionResponse |
updateMacieSession(UpdateMacieSessionRequest updateMacieSessionRequest)
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
|
default UpdateMemberSessionResponse |
updateMemberSession(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest)
Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
|
default UpdateMemberSessionResponse |
updateMemberSession(UpdateMemberSessionRequest updateMemberSessionRequest)
Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
|
default UpdateOrganizationConfigurationResponse |
updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)
Updates the Amazon Macie configuration settings for an organization in Organizations.
|
default UpdateOrganizationConfigurationResponse |
updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)
Updates the Amazon Macie configuration settings for an organization in Organizations.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.static Macie2Client create()
Macie2Client with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static Macie2ClientBuilder builder()
Macie2Client.default AcceptInvitationResponse acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Accepts an Amazon Macie membership invitation that was received from a specific account.
acceptInvitationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault AcceptInvitationResponse acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Accepts an Amazon Macie membership invitation that was received from a specific account.
This is a convenience which creates an instance of the AcceptInvitationRequest.Builder avoiding the need
to create one manually via AcceptInvitationRequest.builder()
acceptInvitationRequest - A Consumer that will call methods on AcceptInvitationRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchGetCustomDataIdentifiersResponse batchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about one or more custom data identifiers.
batchGetCustomDataIdentifiersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BatchGetCustomDataIdentifiersResponse batchGetCustomDataIdentifiers(Consumer<BatchGetCustomDataIdentifiersRequest.Builder> batchGetCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about one or more custom data identifiers.
This is a convenience which creates an instance of the BatchGetCustomDataIdentifiersRequest.Builder
avoiding the need to create one manually via BatchGetCustomDataIdentifiersRequest.builder()
batchGetCustomDataIdentifiersRequest - A Consumer that will call methods on BatchGetCustomDataIdentifiersRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateClassificationJobResponse createClassificationJob(CreateClassificationJobRequest createClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the settings for a classification job.
createClassificationJobRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateClassificationJobResponse createClassificationJob(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the settings for a classification job.
This is a convenience which creates an instance of the CreateClassificationJobRequest.Builder avoiding
the need to create one manually via CreateClassificationJobRequest.builder()
createClassificationJobRequest - A Consumer that will call methods on CreateClassificationJobRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomDataIdentifierResponse createCustomDataIdentifier(CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the criteria and other settings for a custom data identifier.
createCustomDataIdentifierRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateCustomDataIdentifierResponse createCustomDataIdentifier(Consumer<CreateCustomDataIdentifierRequest.Builder> createCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the criteria and other settings for a custom data identifier.
This is a convenience which creates an instance of the CreateCustomDataIdentifierRequest.Builder avoiding
the need to create one manually via CreateCustomDataIdentifierRequest.builder()
createCustomDataIdentifierRequest - A Consumer that will call methods on CreateCustomDataIdentifierRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFindingsFilterResponse createFindingsFilter(CreateFindingsFilterRequest createFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the criteria and other settings for a findings filter.
createFindingsFilterRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateFindingsFilterResponse createFindingsFilter(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the criteria and other settings for a findings filter.
This is a convenience which creates an instance of the CreateFindingsFilterRequest.Builder avoiding the
need to create one manually via CreateFindingsFilterRequest.builder()
createFindingsFilterRequest - A Consumer that will call methods on CreateFindingsFilterRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateInvitationsResponse createInvitations(CreateInvitationsRequest createInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Sends an Amazon Macie membership invitation to one or more accounts.
createInvitationsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateInvitationsResponse createInvitations(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Sends an Amazon Macie membership invitation to one or more accounts.
This is a convenience which creates an instance of the CreateInvitationsRequest.Builder avoiding the need
to create one manually via CreateInvitationsRequest.builder()
createInvitationsRequest - A Consumer that will call methods on CreateInvitationsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMemberResponse createMember(CreateMemberRequest createMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Associates an account with an Amazon Macie administrator account.
createMemberRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMemberResponse createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Associates an account with an Amazon Macie administrator account.
This is a convenience which creates an instance of the CreateMemberRequest.Builder avoiding the need to
create one manually via CreateMemberRequest.builder()
createMemberRequest - A Consumer that will call methods on CreateMemberRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSampleFindingsResponse createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates sample findings.
createSampleFindingsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateSampleFindingsResponse createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates sample findings.
This is a convenience which creates an instance of the CreateSampleFindingsRequest.Builder avoiding the
need to create one manually via CreateSampleFindingsRequest.builder()
createSampleFindingsRequest - A Consumer that will call methods on CreateSampleFindingsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeclineInvitationsResponse declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Declines Amazon Macie membership invitations that were received from specific accounts.
declineInvitationsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeclineInvitationsResponse declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Declines Amazon Macie membership invitations that were received from specific accounts.
This is a convenience which creates an instance of the DeclineInvitationsRequest.Builder avoiding the
need to create one manually via DeclineInvitationsRequest.builder()
declineInvitationsRequest - A Consumer that will call methods on DeclineInvitationsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomDataIdentifierResponse deleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Soft deletes a custom data identifier.
deleteCustomDataIdentifierRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteCustomDataIdentifierResponse deleteCustomDataIdentifier(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Soft deletes a custom data identifier.
This is a convenience which creates an instance of the DeleteCustomDataIdentifierRequest.Builder avoiding
the need to create one manually via DeleteCustomDataIdentifierRequest.builder()
deleteCustomDataIdentifierRequest - A Consumer that will call methods on DeleteCustomDataIdentifierRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteFindingsFilterResponse deleteFindingsFilter(DeleteFindingsFilterRequest deleteFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Deletes a findings filter.
deleteFindingsFilterRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteFindingsFilterResponse deleteFindingsFilter(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Deletes a findings filter.
This is a convenience which creates an instance of the DeleteFindingsFilterRequest.Builder avoiding the
need to create one manually via DeleteFindingsFilterRequest.builder()
deleteFindingsFilterRequest - A Consumer that will call methods on DeleteFindingsFilterRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteInvitationsResponse deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Deletes Amazon Macie membership invitations that were received from specific accounts.
deleteInvitationsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteInvitationsResponse deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Deletes Amazon Macie membership invitations that were received from specific accounts.
This is a convenience which creates an instance of the DeleteInvitationsRequest.Builder avoiding the need
to create one manually via DeleteInvitationsRequest.builder()
deleteInvitationsRequest - A Consumer that will call methods on DeleteInvitationsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteMemberResponse deleteMember(DeleteMemberRequest deleteMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Deletes the association between an Amazon Macie administrator account and an account.
deleteMemberRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteMemberResponse deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Deletes the association between an Amazon Macie administrator account and an account.
This is a convenience which creates an instance of the DeleteMemberRequest.Builder avoiding the need to
create one manually via DeleteMemberRequest.builder()
deleteMemberRequest - A Consumer that will call methods on DeleteMemberRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBucketsResponse describeBuckets(DescribeBucketsRequest describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
describeBucketsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBucketsResponse describeBuckets(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
This is a convenience which creates an instance of the DescribeBucketsRequest.Builder avoiding the need
to create one manually via DescribeBucketsRequest.builder()
describeBucketsRequest - A Consumer that will call methods on DescribeBucketsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBucketsIterable describeBucketsPaginator(DescribeBucketsRequest describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
This is a variant of
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
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
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
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest) operation.
describeBucketsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeBucketsIterable describeBucketsPaginator(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes.
This is a variant of
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
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
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
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest) operation.
This is a convenience which creates an instance of the DescribeBucketsRequest.Builder avoiding the need
to create one manually via DescribeBucketsRequest.builder()
describeBucketsRequest - A Consumer that will call methods on DescribeBucketsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeClassificationJobResponse describeClassificationJob(DescribeClassificationJobRequest describeClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the status and settings for a classification job.
describeClassificationJobRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeClassificationJobResponse describeClassificationJob(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the status and settings for a classification job.
This is a convenience which creates an instance of the DescribeClassificationJobRequest.Builder avoiding
the need to create one manually via DescribeClassificationJobRequest.builder()
describeClassificationJobRequest - A Consumer that will call methods on DescribeClassificationJobRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the Amazon Macie configuration settings for an organization in Organizations.
describeOrganizationConfigurationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the Amazon Macie configuration settings for an organization in Organizations.
This is a convenience which creates an instance of the DescribeOrganizationConfigurationRequest.Builder
avoiding the need to create one manually via DescribeOrganizationConfigurationRequest.builder()
describeOrganizationConfigurationRequest - A Consumer that will call methods on DescribeOrganizationConfigurationRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableMacieResponse disableMacie(DisableMacieRequest disableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disables Amazon Macie and deletes all settings and resources for a Macie account.
disableMacieRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableMacieResponse disableMacie(Consumer<DisableMacieRequest.Builder> disableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disables Amazon Macie and deletes all settings and resources for a Macie account.
This is a convenience which creates an instance of the DisableMacieRequest.Builder avoiding the need to
create one manually via DisableMacieRequest.builder()
disableMacieRequest - A Consumer that will call methods on DisableMacieRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
disableOrganizationAdminAccountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
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 DisableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually via DisableOrganizationAdminAccountRequest.builder()
disableOrganizationAdminAccountRequest - A Consumer that will call methods on DisableOrganizationAdminAccountRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disassociates a member account from its Amazon Macie administrator account.
disassociateFromAdministratorAccountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disassociates a member account from its Amazon Macie administrator account.
This is a convenience which creates an instance of the
DisassociateFromAdministratorAccountRequest.Builder avoiding the need to create one manually via
DisassociateFromAdministratorAccountRequest.builder()
disassociateFromAdministratorAccountRequest - A Consumer that will call methods on DisassociateFromAdministratorAccountRequest.Builder
to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateFromMasterAccountResponse disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
(Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.
disassociateFromMasterAccountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateFromMasterAccountResponse disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
(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 DisassociateFromMasterAccountRequest.Builder
avoiding the need to create one manually via DisassociateFromMasterAccountRequest.builder()
disassociateFromMasterAccountRequest - A Consumer that will call methods on DisassociateFromMasterAccountRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateMemberResponse disassociateMember(DisassociateMemberRequest disassociateMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disassociates an Amazon Macie administrator account from a member account.
disassociateMemberRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DisassociateMemberResponse disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Disassociates an Amazon Macie administrator account from a member account.
This is a convenience which creates an instance of the DisassociateMemberRequest.Builder avoiding the
need to create one manually via DisassociateMemberRequest.builder()
disassociateMemberRequest - A Consumer that will call methods on DisassociateMemberRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableMacieResponse enableMacie(EnableMacieRequest enableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Enables Amazon Macie and specifies the configuration settings for a Macie account.
enableMacieRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableMacieResponse enableMacie(Consumer<EnableMacieRequest.Builder> enableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Enables Amazon Macie and specifies the configuration settings for a Macie account.
This is a convenience which creates an instance of the EnableMacieRequest.Builder avoiding the need to
create one manually via EnableMacieRequest.builder()
enableMacieRequest - A Consumer that will call methods on EnableMacieRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
enableOrganizationAdminAccountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
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 EnableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually via EnableOrganizationAdminAccountRequest.builder()
enableOrganizationAdminAccountRequest - A Consumer that will call methods on EnableOrganizationAdminAccountRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAdministratorAccountResponse getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the Amazon Macie administrator account for an account.
getAdministratorAccountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAdministratorAccountResponse getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the Amazon Macie administrator account for an account.
This is a convenience which creates an instance of the GetAdministratorAccountRequest.Builder avoiding
the need to create one manually via GetAdministratorAccountRequest.builder()
getAdministratorAccountRequest - A Consumer that will call methods on GetAdministratorAccountRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBucketStatisticsResponse getBucketStatistics(GetBucketStatisticsRequest getBucketStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
getBucketStatisticsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBucketStatisticsResponse getBucketStatistics(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated statistical data about S3 buckets that Amazon Macie monitors and analyzes.
This is a convenience which creates an instance of the GetBucketStatisticsRequest.Builder avoiding the
need to create one manually via GetBucketStatisticsRequest.builder()
getBucketStatisticsRequest - A Consumer that will call methods on GetBucketStatisticsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetClassificationExportConfigurationResponse getClassificationExportConfiguration(GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the configuration settings for storing data classification results.
getClassificationExportConfigurationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetClassificationExportConfigurationResponse getClassificationExportConfiguration(Consumer<GetClassificationExportConfigurationRequest.Builder> getClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the configuration settings for storing data classification results.
This is a convenience which creates an instance of the
GetClassificationExportConfigurationRequest.Builder avoiding the need to create one manually via
GetClassificationExportConfigurationRequest.builder()
getClassificationExportConfigurationRequest - A Consumer that will call methods on GetClassificationExportConfigurationRequest.Builder
to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomDataIdentifierResponse getCustomDataIdentifier(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the criteria and other settings for a custom data identifier.
getCustomDataIdentifierRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetCustomDataIdentifierResponse getCustomDataIdentifier(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the criteria and other settings for a custom data identifier.
This is a convenience which creates an instance of the GetCustomDataIdentifierRequest.Builder avoiding
the need to create one manually via GetCustomDataIdentifierRequest.builder()
getCustomDataIdentifierRequest - A Consumer that will call methods on GetCustomDataIdentifierRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingStatisticsResponse getFindingStatistics(GetFindingStatisticsRequest getFindingStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated statistical data about findings.
getFindingStatisticsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingStatisticsResponse getFindingStatistics(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated statistical data about findings.
This is a convenience which creates an instance of the GetFindingStatisticsRequest.Builder avoiding the
need to create one manually via GetFindingStatisticsRequest.builder()
getFindingStatisticsRequest - A Consumer that will call methods on GetFindingStatisticsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsResponse getFindings(GetFindingsRequest getFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the details of one or more findings.
getFindingsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsResponse getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the details of one or more findings.
This is a convenience which creates an instance of the GetFindingsRequest.Builder avoiding the need to
create one manually via GetFindingsRequest.builder()
getFindingsRequest - A Consumer that will call methods on GetFindingsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsFilterResponse getFindingsFilter(GetFindingsFilterRequest getFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the criteria and other settings for a findings filter.
getFindingsFilterRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsFilterResponse getFindingsFilter(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the criteria and other settings for a findings filter.
This is a convenience which creates an instance of the GetFindingsFilterRequest.Builder avoiding the need
to create one manually via GetFindingsFilterRequest.builder()
getFindingsFilterRequest - A Consumer that will call methods on GetFindingsFilterRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsPublicationConfigurationResponse getFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the configuration settings for publishing findings to Security Hub.
getFindingsPublicationConfigurationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFindingsPublicationConfigurationResponse getFindingsPublicationConfiguration(Consumer<GetFindingsPublicationConfigurationRequest.Builder> getFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the configuration settings for publishing findings to Security Hub.
This is a convenience which creates an instance of the GetFindingsPublicationConfigurationRequest.Builder
avoiding the need to create one manually via GetFindingsPublicationConfigurationRequest.builder()
getFindingsPublicationConfigurationRequest - A Consumer that will call methods on GetFindingsPublicationConfigurationRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetInvitationsCountResponse getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the count of Amazon Macie membership invitations that were received by an account.
getInvitationsCountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetInvitationsCountResponse getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the count of Amazon Macie membership invitations that were received by an account.
This is a convenience which creates an instance of the GetInvitationsCountRequest.Builder avoiding the
need to create one manually via GetInvitationsCountRequest.builder()
getInvitationsCountRequest - A Consumer that will call methods on GetInvitationsCountRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMacieSessionResponse getMacieSession(GetMacieSessionRequest getMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the current status and configuration settings for an Amazon Macie account.
getMacieSessionRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMacieSessionResponse getMacieSession(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the current status and configuration settings for an Amazon Macie account.
This is a convenience which creates an instance of the GetMacieSessionRequest.Builder avoiding the need
to create one manually via GetMacieSessionRequest.builder()
getMacieSessionRequest - A Consumer that will call methods on GetMacieSessionRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMasterAccountResponse getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
(Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
getMasterAccountRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMasterAccountResponse getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
(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 GetMasterAccountRequest.Builder avoiding the need
to create one manually via GetMasterAccountRequest.builder()
getMasterAccountRequest - A Consumer that will call methods on GetMasterAccountRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMemberResponse getMember(GetMemberRequest getMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about an account that's associated with an Amazon Macie administrator account.
getMemberRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMemberResponse getMember(Consumer<GetMemberRequest.Builder> getMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about an account that's associated with an Amazon Macie administrator account.
This is a convenience which creates an instance of the GetMemberRequest.Builder avoiding the need to
create one manually via GetMemberRequest.builder()
getMemberRequest - A Consumer that will call methods on GetMemberRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageStatisticsResponse getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
getUsageStatisticsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageStatisticsResponse getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
This is a convenience which creates an instance of the GetUsageStatisticsRequest.Builder avoiding the
need to create one manually via GetUsageStatisticsRequest.builder()
getUsageStatisticsRequest - A Consumer that will call methods on GetUsageStatisticsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageStatisticsIterable getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
This is a variant of
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
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
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
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.
getUsageStatisticsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageStatisticsIterable getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) quotas and aggregated usage data for one or more accounts.
This is a variant of
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
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
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
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.
This is a convenience which creates an instance of the GetUsageStatisticsRequest.Builder avoiding the
need to create one manually via GetUsageStatisticsRequest.builder()
getUsageStatisticsRequest - A Consumer that will call methods on GetUsageStatisticsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageTotalsResponse getUsageTotals(GetUsageTotalsRequest getUsageTotalsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated usage data for an account.
getUsageTotalsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetUsageTotalsResponse getUsageTotals(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated usage data for an account.
This is a convenience which creates an instance of the GetUsageTotalsRequest.Builder avoiding the need to
create one manually via GetUsageTotalsRequest.builder()
getUsageTotalsRequest - A Consumer that will call methods on GetUsageTotalsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationJobsResponse listClassificationJobs(ListClassificationJobsRequest listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more classification jobs.
listClassificationJobsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationJobsResponse listClassificationJobs(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more classification jobs.
This is a convenience which creates an instance of the ListClassificationJobsRequest.Builder avoiding the
need to create one manually via ListClassificationJobsRequest.builder()
listClassificationJobsRequest - A Consumer that will call methods on ListClassificationJobsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationJobsIterable listClassificationJobsPaginator(ListClassificationJobsRequest listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more classification jobs.
This is a variant of
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
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
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
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.
listClassificationJobsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationJobsIterable listClassificationJobsPaginator(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more classification jobs.
This is a variant of
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
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
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
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.
This is a convenience which creates an instance of the ListClassificationJobsRequest.Builder avoiding the
need to create one manually via ListClassificationJobsRequest.builder()
listClassificationJobsRequest - A Consumer that will call methods on ListClassificationJobsRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomDataIdentifiersResponse listCustomDataIdentifiers(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the custom data identifiers for an account.
listCustomDataIdentifiersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomDataIdentifiersResponse listCustomDataIdentifiers(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the custom data identifiers for an account.
This is a convenience which creates an instance of the ListCustomDataIdentifiersRequest.Builder avoiding
the need to create one manually via ListCustomDataIdentifiersRequest.builder()
listCustomDataIdentifiersRequest - A Consumer that will call methods on ListCustomDataIdentifiersRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomDataIdentifiersIterable listCustomDataIdentifiersPaginator(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the custom data identifiers for an account.
This is a variant of
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
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
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
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation.
listCustomDataIdentifiersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListCustomDataIdentifiersIterable listCustomDataIdentifiersPaginator(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the custom data identifiers for an account.
This is a variant of
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
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
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
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation.
This is a convenience which creates an instance of the ListCustomDataIdentifiersRequest.Builder avoiding
the need to create one manually via ListCustomDataIdentifiersRequest.builder()
listCustomDataIdentifiersRequest - A Consumer that will call methods on ListCustomDataIdentifiersRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more findings.
listFindingsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsResponse listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more findings.
This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more findings.
This is a variant of 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
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
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
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest) operation.
listFindingsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about one or more findings.
This is a variant of 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
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
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
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest) operation.
This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to
create one manually via ListFindingsRequest.builder()
listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsFiltersResponse listFindingsFilters(ListFindingsFiltersRequest listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the findings filters for an account.
listFindingsFiltersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsFiltersResponse listFindingsFilters(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the findings filters for an account.
This is a convenience which creates an instance of the ListFindingsFiltersRequest.Builder avoiding the
need to create one manually via ListFindingsFiltersRequest.builder()
listFindingsFiltersRequest - A Consumer that will call methods on ListFindingsFiltersRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsFiltersIterable listFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the findings filters for an account.
This is a variant of
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
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
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
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.
listFindingsFiltersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListFindingsFiltersIterable listFindingsFiltersPaginator(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the findings filters for an account.
This is a variant of
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
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
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
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.
This is a convenience which creates an instance of the ListFindingsFiltersRequest.Builder avoiding the
need to create one manually via ListFindingsFiltersRequest.builder()
listFindingsFiltersRequest - A Consumer that will call methods on ListFindingsFiltersRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsResponse listInvitations(ListInvitationsRequest listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the Amazon Macie membership invitations that were received by an account.
listInvitationsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsResponse listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the Amazon Macie membership invitations that were received by an account.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsIterable listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the Amazon Macie membership invitations that were received by an account.
This is a variant of
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
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
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
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest) operation.
listInvitationsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListInvitationsIterable listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the Amazon Macie membership invitations that were received by an account.
This is a variant of
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
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
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
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest) operation.
This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need
to create one manually via ListInvitationsRequest.builder()
listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListManagedDataIdentifiersResponse listManagedDataIdentifiers(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
listManagedDataIdentifiersRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListManagedDataIdentifiersResponse listManagedDataIdentifiers(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
This is a convenience which creates an instance of the ListManagedDataIdentifiersRequest.Builder avoiding
the need to create one manually via ListManagedDataIdentifiersRequest.builder()
listManagedDataIdentifiersRequest - A Consumer that will call methods on ListManagedDataIdentifiersRequest.Builder to create a
request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
listMembersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersResponse listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
This is a variant of 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
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
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
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest) operation.
listMembersRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMembersIterable listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
This is a variant of 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
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
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
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest) operation.
This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to
create one manually via ListMembersRequest.builder()
listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
listOrganizationAdminAccountsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()
listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
This is a variant of
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
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
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
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.
listOrganizationAdminAccountsRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
This is a variant of
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
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
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
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.
This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()
listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
listTagsForResourceRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves the tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutClassificationExportConfigurationResponse putClassificationExportConfiguration(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates or updates the configuration settings for storing data classification results.
putClassificationExportConfigurationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutClassificationExportConfigurationResponse putClassificationExportConfiguration(Consumer<PutClassificationExportConfigurationRequest.Builder> putClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates or updates the configuration settings for storing data classification results.
This is a convenience which creates an instance of the
PutClassificationExportConfigurationRequest.Builder avoiding the need to create one manually via
PutClassificationExportConfigurationRequest.builder()
putClassificationExportConfigurationRequest - A Consumer that will call methods on PutClassificationExportConfigurationRequest.Builder
to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutFindingsPublicationConfigurationResponse putFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Updates the configuration settings for publishing findings to Security Hub.
putFindingsPublicationConfigurationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutFindingsPublicationConfigurationResponse putFindingsPublicationConfiguration(Consumer<PutFindingsPublicationConfigurationRequest.Builder> putFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Updates the configuration settings for publishing findings to Security Hub.
This is a convenience which creates an instance of the PutFindingsPublicationConfigurationRequest.Builder
avoiding the need to create one manually via PutFindingsPublicationConfigurationRequest.builder()
putFindingsPublicationConfigurationRequest - A Consumer that will call methods on PutFindingsPublicationConfigurationRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchResourcesResponse searchResources(SearchResourcesRequest searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
searchResourcesRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchResourcesResponse searchResources(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
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 SearchResourcesRequest.Builder avoiding the need
to create one manually via SearchResourcesRequest.builder()
searchResourcesRequest - A Consumer that will call methods on SearchResourcesRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchResourcesIterable searchResourcesPaginator(SearchResourcesRequest searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
This is a variant of
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
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
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
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest) operation.
searchResourcesRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault SearchResourcesIterable searchResourcesPaginator(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
This is a variant of
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
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
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
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest) operation.
This is a convenience which creates an instance of the SearchResourcesRequest.Builder avoiding the need
to create one manually via SearchResourcesRequest.builder()
searchResourcesRequest - A Consumer that will call methods on SearchResourcesRequest.Builder to create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
tagResourceRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Adds or updates one or more tags (keys and values) that are associated with a classification job, custom data identifier, findings filter, or member account.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TestCustomDataIdentifierResponse testCustomDataIdentifier(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Tests a custom data identifier.
testCustomDataIdentifierRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TestCustomDataIdentifierResponse testCustomDataIdentifier(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Tests a custom data identifier.
This is a convenience which creates an instance of the TestCustomDataIdentifierRequest.Builder avoiding
the need to create one manually via TestCustomDataIdentifierRequest.builder()
testCustomDataIdentifierRequest - A Consumer that will call methods on TestCustomDataIdentifierRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
untagResourceRequest - SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Removes one or more tags (keys and values) from a classification job, custom data identifier, findings filter, or member account.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateClassificationJobResponse updateClassificationJob(UpdateClassificationJobRequest updateClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Changes the status of a classification job.
updateClassificationJobRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateClassificationJobResponse updateClassificationJob(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Changes the status of a classification job.
This is a convenience which creates an instance of the UpdateClassificationJobRequest.Builder avoiding
the need to create one manually via UpdateClassificationJobRequest.builder()
updateClassificationJobRequest - A Consumer that will call methods on UpdateClassificationJobRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateFindingsFilterResponse updateFindingsFilter(UpdateFindingsFilterRequest updateFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Updates the criteria and other settings for a findings filter.
updateFindingsFilterRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateFindingsFilterResponse updateFindingsFilter(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Updates the criteria and other settings for a findings filter.
This is a convenience which creates an instance of the UpdateFindingsFilterRequest.Builder avoiding the
need to create one manually via UpdateFindingsFilterRequest.builder()
updateFindingsFilterRequest - A Consumer that will call methods on UpdateFindingsFilterRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMacieSessionResponse updateMacieSession(UpdateMacieSessionRequest updateMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
updateMacieSessionRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMacieSessionResponse updateMacieSession(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
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 UpdateMacieSessionRequest.Builder avoiding the
need to create one manually via UpdateMacieSessionRequest.builder()
updateMacieSessionRequest - A Consumer that will call methods on UpdateMacieSessionRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMemberSessionResponse updateMemberSession(UpdateMemberSessionRequest updateMemberSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
updateMemberSessionRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMemberSessionResponse updateMemberSession(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
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 UpdateMemberSessionRequest.Builder avoiding the
need to create one manually via UpdateMemberSessionRequest.builder()
updateMemberSessionRequest - A Consumer that will call methods on UpdateMemberSessionRequest.Builder to create a
request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Updates the Amazon Macie configuration settings for an organization in Organizations.
updateOrganizationConfigurationRequest - ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Updates the Amazon Macie configuration settings for an organization in Organizations.
This is a convenience which creates an instance of the UpdateOrganizationConfigurationRequest.Builder
avoiding the need to create one manually via UpdateOrganizationConfigurationRequest.builder()
updateOrganizationConfigurationRequest - A Consumer that will call methods on UpdateOrganizationConfigurationRequest.Builder to
create a request.ValidationException - The request failed because it contains a syntax error.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
Copyright © 2022. All rights reserved.