@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface Macie2Client extends SdkClient
builder() method.
Amazon Macie
| 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 CreateAllowListResponse |
createAllowList(Consumer<CreateAllowListRequest.Builder> createAllowListRequest)
Creates and defines the settings for an allow list.
|
default CreateAllowListResponse |
createAllowList(CreateAllowListRequest createAllowListRequest)
Creates and defines the settings for an allow list.
|
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 DeleteAllowListResponse |
deleteAllowList(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest)
Deletes an allow list.
|
default DeleteAllowListResponse |
deleteAllowList(DeleteAllowListRequest deleteAllowListRequest)
Deletes an allow list.
|
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 for an account.
|
default DescribeBucketsResponse |
describeBuckets(DescribeBucketsRequest describeBucketsRequest)
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
monitors and analyzes for an account.
|
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 for an account.
|
default DescribeBucketsIterable |
describeBucketsPaginator(DescribeBucketsRequest describeBucketsRequest)
Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie
monitors and analyzes for an account.
|
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 GetAllowListResponse |
getAllowList(Consumer<GetAllowListRequest.Builder> getAllowListRequest)
Retrieves the settings and status of an allow list.
|
default GetAllowListResponse |
getAllowList(GetAllowListRequest getAllowListRequest)
Retrieves the settings and status of an allow list.
|
default GetAutomatedDiscoveryConfigurationResponse |
getAutomatedDiscoveryConfiguration(Consumer<GetAutomatedDiscoveryConfigurationRequest.Builder> getAutomatedDiscoveryConfigurationRequest)
Retrieves the configuration settings and status of automated sensitive data discovery for an account.
|
default GetAutomatedDiscoveryConfigurationResponse |
getAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest)
Retrieves the configuration settings and status of automated sensitive data discovery for an account.
|
default GetBucketStatisticsResponse |
getBucketStatistics(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest)
Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes
for an account.
|
default GetBucketStatisticsResponse |
getBucketStatistics(GetBucketStatisticsRequest getBucketStatisticsRequest)
Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes
for an account.
|
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 GetClassificationScopeResponse |
getClassificationScope(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest)
Retrieves the classification scope settings for an account.
|
default GetClassificationScopeResponse |
getClassificationScope(GetClassificationScopeRequest getClassificationScopeRequest)
Retrieves the classification scope settings for an account.
|
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 status and configuration settings for an Amazon Macie account.
|
default GetMacieSessionResponse |
getMacieSession(GetMacieSessionRequest getMacieSessionRequest)
Retrieves the 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 GetResourceProfileResponse |
getResourceProfile(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest)
Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
|
default GetResourceProfileResponse |
getResourceProfile(GetResourceProfileRequest getResourceProfileRequest)
Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
|
default GetRevealConfigurationResponse |
getRevealConfiguration(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest)
Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by
findings.
|
default GetRevealConfigurationResponse |
getRevealConfiguration(GetRevealConfigurationRequest getRevealConfigurationRequest)
Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by
findings.
|
default GetSensitiveDataOccurrencesResponse |
getSensitiveDataOccurrences(Consumer<GetSensitiveDataOccurrencesRequest.Builder> getSensitiveDataOccurrencesRequest)
Retrieves occurrences of sensitive data reported by a finding.
|
default GetSensitiveDataOccurrencesResponse |
getSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest)
Retrieves occurrences of sensitive data reported by a finding.
|
default GetSensitiveDataOccurrencesAvailabilityResponse |
getSensitiveDataOccurrencesAvailability(Consumer<GetSensitiveDataOccurrencesAvailabilityRequest.Builder> getSensitiveDataOccurrencesAvailabilityRequest)
Checks whether occurrences of sensitive data can be retrieved for a finding.
|
default GetSensitiveDataOccurrencesAvailabilityResponse |
getSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest)
Checks whether occurrences of sensitive data can be retrieved for a finding.
|
default GetSensitivityInspectionTemplateResponse |
getSensitivityInspectionTemplate(Consumer<GetSensitivityInspectionTemplateRequest.Builder> getSensitivityInspectionTemplateRequest)
Retrieves the settings for the sensitivity inspection template for an account.
|
default GetSensitivityInspectionTemplateResponse |
getSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest)
Retrieves the settings for the sensitivity inspection template for an 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 ListAllowListsResponse |
listAllowLists(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest)
Retrieves a subset of information about all the allow lists for an account.
|
default ListAllowListsResponse |
listAllowLists(ListAllowListsRequest listAllowListsRequest)
Retrieves a subset of information about all the allow lists for an account.
|
default ListAllowListsIterable |
listAllowListsPaginator(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest)
Retrieves a subset of information about all the allow lists for an account.
|
default ListAllowListsIterable |
listAllowListsPaginator(ListAllowListsRequest listAllowListsRequest)
Retrieves a subset of information about all the allow lists 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 ListClassificationScopesResponse |
listClassificationScopes(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest)
Retrieves a subset of information about the classification scope for an account.
|
default ListClassificationScopesResponse |
listClassificationScopes(ListClassificationScopesRequest listClassificationScopesRequest)
Retrieves a subset of information about the classification scope for an account.
|
default ListClassificationScopesIterable |
listClassificationScopesPaginator(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest)
Retrieves a subset of information about the classification scope for an account.
|
default ListClassificationScopesIterable |
listClassificationScopesPaginator(ListClassificationScopesRequest listClassificationScopesRequest)
Retrieves a subset of information about the classification scope for an account.
|
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 ListManagedDataIdentifiersIterable |
listManagedDataIdentifiersPaginator(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest)
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
|
default ListManagedDataIdentifiersIterable |
listManagedDataIdentifiersPaginator(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 ListResourceProfileArtifactsResponse |
listResourceProfileArtifacts(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest)
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
|
default ListResourceProfileArtifactsResponse |
listResourceProfileArtifacts(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest)
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
|
default ListResourceProfileArtifactsIterable |
listResourceProfileArtifactsPaginator(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest)
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
|
default ListResourceProfileArtifactsIterable |
listResourceProfileArtifactsPaginator(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest)
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
|
default ListResourceProfileDetectionsResponse |
listResourceProfileDetections(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest)
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
|
default ListResourceProfileDetectionsResponse |
listResourceProfileDetections(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest)
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
|
default ListResourceProfileDetectionsIterable |
listResourceProfileDetectionsPaginator(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest)
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
|
default ListResourceProfileDetectionsIterable |
listResourceProfileDetectionsPaginator(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest)
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
|
default ListSensitivityInspectionTemplatesResponse |
listSensitivityInspectionTemplates(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest)
Retrieves a subset of information about the sensitivity inspection template for an account.
|
default ListSensitivityInspectionTemplatesResponse |
listSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest)
Retrieves a subset of information about the sensitivity inspection template for an account.
|
default ListSensitivityInspectionTemplatesIterable |
listSensitivityInspectionTemplatesPaginator(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest)
Retrieves a subset of information about the sensitivity inspection template for an account.
|
default ListSensitivityInspectionTemplatesIterable |
listSensitivityInspectionTemplatesPaginator(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest)
Retrieves a subset of information about the sensitivity inspection template for an account.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
|
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 an Amazon Macie resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
|
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 an Amazon Macie resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes one or more tags (keys and values) from an Amazon Macie resource.
|
default UpdateAllowListResponse |
updateAllowList(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest)
Updates the settings for an allow list.
|
default UpdateAllowListResponse |
updateAllowList(UpdateAllowListRequest updateAllowListRequest)
Updates the settings for an allow list.
|
default UpdateAutomatedDiscoveryConfigurationResponse |
updateAutomatedDiscoveryConfiguration(Consumer<UpdateAutomatedDiscoveryConfigurationRequest.Builder> updateAutomatedDiscoveryConfigurationRequest)
Enables or disables automated sensitive data discovery for an account.
|
default UpdateAutomatedDiscoveryConfigurationResponse |
updateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest)
Enables or disables automated sensitive data discovery for an 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 UpdateClassificationScopeResponse |
updateClassificationScope(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest)
Updates the classification scope settings for an account.
|
default UpdateClassificationScopeResponse |
updateClassificationScope(UpdateClassificationScopeRequest updateClassificationScopeRequest)
Updates the classification scope settings for an account.
|
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.
|
default UpdateResourceProfileResponse |
updateResourceProfile(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest)
Updates the sensitivity score for an S3 bucket.
|
default UpdateResourceProfileResponse |
updateResourceProfile(UpdateResourceProfileRequest updateResourceProfileRequest)
Updates the sensitivity score for an S3 bucket.
|
default UpdateResourceProfileDetectionsResponse |
updateResourceProfileDetections(Consumer<UpdateResourceProfileDetectionsRequest.Builder> updateResourceProfileDetectionsRequest)
Updates the sensitivity scoring settings for an S3 bucket.
|
default UpdateResourceProfileDetectionsResponse |
updateResourceProfileDetections(UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest)
Updates the sensitivity scoring settings for an S3 bucket.
|
default UpdateRevealConfigurationResponse |
updateRevealConfiguration(Consumer<UpdateRevealConfigurationRequest.Builder> updateRevealConfigurationRequest)
Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
|
default UpdateRevealConfigurationResponse |
updateRevealConfiguration(UpdateRevealConfigurationRequest updateRevealConfigurationRequest)
Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
|
default UpdateSensitivityInspectionTemplateResponse |
updateSensitivityInspectionTemplate(Consumer<UpdateSensitivityInspectionTemplateRequest.Builder> updateSensitivityInspectionTemplateRequest)
Updates the settings for the sensitivity inspection template for an account.
|
default UpdateSensitivityInspectionTemplateResponse |
updateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest)
Updates the settings for the sensitivity inspection template for an account.
|
default Macie2Waiter |
waiter()
Create an instance of
Macie2Waiter using this client. |
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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAllowListResponse createAllowList(CreateAllowListRequest createAllowListRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the settings for an allow list.
createAllowListRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAllowListResponse createAllowList(Consumer<CreateAllowListRequest.Builder> createAllowListRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Creates and defines the settings for an allow list.
This is a convenience which creates an instance of the CreateAllowListRequest.Builder avoiding the need
to create one manually via CreateAllowListRequest.builder()
createAllowListRequest - A Consumer that will call methods on CreateAllowListRequest.Builder to create a request.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAllowListResponse deleteAllowList(DeleteAllowListRequest deleteAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Deletes an allow list.
deleteAllowListRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAllowListResponse deleteAllowList(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Deletes an allow list.
This is a convenience which creates an instance of the DeleteAllowListRequest.Builder avoiding the need
to create one manually via DeleteAllowListRequest.builder()
deleteAllowListRequest - A Consumer that will call methods on DeleteAllowListRequest.Builder to create a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 for an account.
describeBucketsRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 for an account.
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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 for an account.
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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 for an account.
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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAllowListResponse getAllowList(GetAllowListRequest getAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the settings and status of an allow list.
getAllowListRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAllowListResponse getAllowList(Consumer<GetAllowListRequest.Builder> getAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the settings and status of an allow list.
This is a convenience which creates an instance of the GetAllowListRequest.Builder avoiding the need to
create one manually via GetAllowListRequest.builder()
getAllowListRequest - A Consumer that will call methods on GetAllowListRequest.Builder to create a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAutomatedDiscoveryConfigurationResponse getAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the configuration settings and status of automated sensitive data discovery for an account.
getAutomatedDiscoveryConfigurationRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAutomatedDiscoveryConfigurationResponse getAutomatedDiscoveryConfiguration(Consumer<GetAutomatedDiscoveryConfigurationRequest.Builder> getAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the configuration settings and status of automated sensitive data discovery for an account.
This is a convenience which creates an instance of the GetAutomatedDiscoveryConfigurationRequest.Builder
avoiding the need to create one manually via GetAutomatedDiscoveryConfigurationRequest.builder()
getAutomatedDiscoveryConfigurationRequest - A Consumer that will call methods on GetAutomatedDiscoveryConfigurationRequest.Builder to
create a request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBucketStatisticsResponse getBucketStatistics(GetBucketStatisticsRequest getBucketStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
getBucketStatisticsRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetBucketStatisticsResponse getBucketStatistics(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
This is a convenience which creates an instance of the 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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetClassificationScopeResponse getClassificationScope(GetClassificationScopeRequest getClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the classification scope settings for an account.
getClassificationScopeRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetClassificationScopeResponse getClassificationScope(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the classification scope settings for an account.
This is a convenience which creates an instance of the GetClassificationScopeRequest.Builder avoiding the
need to create one manually via GetClassificationScopeRequest.builder()
getClassificationScopeRequest - A Consumer that will call methods on GetClassificationScopeRequest.Builder to create a
request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMacieSessionResponse getMacieSession(GetMacieSessionRequest getMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the status and configuration settings for an Amazon Macie account.
getMacieSessionRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetMacieSessionResponse getMacieSession(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the 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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourceProfileResponse getResourceProfile(GetResourceProfileRequest getResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
getResourceProfileRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetResourceProfileResponse getResourceProfile(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
This is a convenience which creates an instance of the GetResourceProfileRequest.Builder avoiding the
need to create one manually via GetResourceProfileRequest.builder()
getResourceProfileRequest - A Consumer that will call methods on GetResourceProfileRequest.Builder to create a
request.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRevealConfigurationResponse getRevealConfiguration(GetRevealConfigurationRequest getRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
getRevealConfigurationRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetRevealConfigurationResponse getRevealConfiguration(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
This is a convenience which creates an instance of the GetRevealConfigurationRequest.Builder avoiding the
need to create one manually via GetRevealConfigurationRequest.builder()
getRevealConfigurationRequest - A Consumer that will call methods on GetRevealConfigurationRequest.Builder to create a
request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSensitiveDataOccurrencesResponse getSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest) throws UnprocessableEntityException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves occurrences of sensitive data reported by a finding.
getSensitiveDataOccurrencesRequest - UnprocessableEntityException - The request failed because it contains instructions that Amazon Macie can't process (Unprocessable
Entity).InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSensitiveDataOccurrencesResponse getSensitiveDataOccurrences(Consumer<GetSensitiveDataOccurrencesRequest.Builder> getSensitiveDataOccurrencesRequest) throws UnprocessableEntityException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves occurrences of sensitive data reported by a finding.
This is a convenience which creates an instance of the GetSensitiveDataOccurrencesRequest.Builder
avoiding the need to create one manually via GetSensitiveDataOccurrencesRequest.builder()
getSensitiveDataOccurrencesRequest - A Consumer that will call methods on GetSensitiveDataOccurrencesRequest.Builder to create
a request.UnprocessableEntityException - The request failed because it contains instructions that Amazon Macie can't process (Unprocessable
Entity).InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSensitiveDataOccurrencesAvailabilityResponse getSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Checks whether occurrences of sensitive data can be retrieved for a finding.
getSensitiveDataOccurrencesAvailabilityRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSensitiveDataOccurrencesAvailabilityResponse getSensitiveDataOccurrencesAvailability(Consumer<GetSensitiveDataOccurrencesAvailabilityRequest.Builder> getSensitiveDataOccurrencesAvailabilityRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Checks whether occurrences of sensitive data can be retrieved for a finding.
This is a convenience which creates an instance of the
GetSensitiveDataOccurrencesAvailabilityRequest.Builder avoiding the need to create one manually via
GetSensitiveDataOccurrencesAvailabilityRequest.builder()
getSensitiveDataOccurrencesAvailabilityRequest - A Consumer that will call methods on
GetSensitiveDataOccurrencesAvailabilityRequest.Builder to create a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSensitivityInspectionTemplateResponse getSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the settings for the sensitivity inspection template for an account.
getSensitivityInspectionTemplateRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSensitivityInspectionTemplateResponse getSensitivityInspectionTemplate(Consumer<GetSensitivityInspectionTemplateRequest.Builder> getSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves the settings for the sensitivity inspection template for an account.
This is a convenience which creates an instance of the GetSensitivityInspectionTemplateRequest.Builder
avoiding the need to create one manually via GetSensitivityInspectionTemplateRequest.builder()
getSensitivityInspectionTemplateRequest - A Consumer that will call methods on GetSensitivityInspectionTemplateRequest.Builder to
create a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAllowListsResponse listAllowLists(ListAllowListsRequest listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the allow lists for an account.
listAllowListsRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAllowListsResponse listAllowLists(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the allow lists for an account.
This is a convenience which creates an instance of the ListAllowListsRequest.Builder avoiding the need to
create one manually via ListAllowListsRequest.builder()
listAllowListsRequest - A Consumer that will call methods on ListAllowListsRequest.Builder to create a request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAllowListsIterable listAllowListsPaginator(ListAllowListsRequest listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the allow lists for an account.
This is a variant of listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest) operation.
listAllowListsRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAllowListsIterable listAllowListsPaginator(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about all the allow lists for an account.
This is a variant of listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest) operation.
This is a convenience which creates an instance of the ListAllowListsRequest.Builder avoiding the need to
create one manually via ListAllowListsRequest.builder()
listAllowListsRequest - A Consumer that will call methods on ListAllowListsRequest.Builder to create a request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationScopesResponse listClassificationScopes(ListClassificationScopesRequest listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the classification scope for an account.
listClassificationScopesRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationScopesResponse listClassificationScopes(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the classification scope for an account.
This is a convenience which creates an instance of the ListClassificationScopesRequest.Builder avoiding
the need to create one manually via ListClassificationScopesRequest.builder()
listClassificationScopesRequest - A Consumer that will call methods on ListClassificationScopesRequest.Builder to create a
request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationScopesIterable listClassificationScopesPaginator(ListClassificationScopesRequest listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the classification scope for an account.
This is a variant of
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client
.listClassificationScopesPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.
listClassificationScopesRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListClassificationScopesIterable listClassificationScopesPaginator(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the classification scope for an account.
This is a variant of
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client
.listClassificationScopesPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.
This is a convenience which creates an instance of the ListClassificationScopesRequest.Builder avoiding
the need to create one manually via ListClassificationScopesRequest.builder()
listClassificationScopesRequest - A Consumer that will call methods on ListClassificationScopesRequest.Builder to create a
request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 ListManagedDataIdentifiersIterable listManagedDataIdentifiersPaginator(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
This is a variant of
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client
.listManagedDataIdentifiersPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.
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 ListManagedDataIdentifiersIterable listManagedDataIdentifiersPaginator(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
This is a variant of
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client
.listManagedDataIdentifiersPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.
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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileArtifactsResponse listResourceProfileArtifacts(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
listResourceProfileArtifactsRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileArtifactsResponse listResourceProfileArtifacts(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
This is a convenience which creates an instance of the ListResourceProfileArtifactsRequest.Builder
avoiding the need to create one manually via ListResourceProfileArtifactsRequest.builder()
listResourceProfileArtifactsRequest - A Consumer that will call methods on ListResourceProfileArtifactsRequest.Builder to create
a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileArtifactsIterable listResourceProfileArtifactsPaginator(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
This is a variant of
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client
.listResourceProfileArtifactsPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation.
listResourceProfileArtifactsRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileArtifactsIterable listResourceProfileArtifactsPaginator(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
This is a variant of
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client
.listResourceProfileArtifactsPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation.
This is a convenience which creates an instance of the ListResourceProfileArtifactsRequest.Builder
avoiding the need to create one manually via ListResourceProfileArtifactsRequest.builder()
listResourceProfileArtifactsRequest - A Consumer that will call methods on ListResourceProfileArtifactsRequest.Builder to create
a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileDetectionsResponse listResourceProfileDetections(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
listResourceProfileDetectionsRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileDetectionsResponse listResourceProfileDetections(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
This is a convenience which creates an instance of the ListResourceProfileDetectionsRequest.Builder
avoiding the need to create one manually via ListResourceProfileDetectionsRequest.builder()
listResourceProfileDetectionsRequest - A Consumer that will call methods on ListResourceProfileDetectionsRequest.Builder to
create a request.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileDetectionsIterable listResourceProfileDetectionsPaginator(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
This is a variant of
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client
.listResourceProfileDetectionsPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation.
listResourceProfileDetectionsRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListResourceProfileDetectionsIterable listResourceProfileDetectionsPaginator(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
This is a variant of
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client
.listResourceProfileDetectionsPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation.
This is a convenience which creates an instance of the ListResourceProfileDetectionsRequest.Builder
avoiding the need to create one manually via ListResourceProfileDetectionsRequest.builder()
listResourceProfileDetectionsRequest - A Consumer that will call methods on ListResourceProfileDetectionsRequest.Builder to
create a request.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSensitivityInspectionTemplatesResponse listSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the sensitivity inspection template for an account.
listSensitivityInspectionTemplatesRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSensitivityInspectionTemplatesResponse listSensitivityInspectionTemplates(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the sensitivity inspection template for an account.
This is a convenience which creates an instance of the ListSensitivityInspectionTemplatesRequest.Builder
avoiding the need to create one manually via ListSensitivityInspectionTemplatesRequest.builder()
listSensitivityInspectionTemplatesRequest - A Consumer that will call methods on ListSensitivityInspectionTemplatesRequest.Builder to
create a request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSensitivityInspectionTemplatesIterable listSensitivityInspectionTemplatesPaginator(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the sensitivity inspection template for an account.
This is a variant of
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client
.listSensitivityInspectionTemplatesPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation.
listSensitivityInspectionTemplatesRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListSensitivityInspectionTemplatesIterable listSensitivityInspectionTemplatesPaginator(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Retrieves a subset of information about the sensitivity inspection template for an account.
This is a variant of
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client
.listSensitivityInspectionTemplatesPaginator(request);
for (software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation.
This is a convenience which creates an instance of the ListSensitivityInspectionTemplatesRequest.Builder
avoiding the need to create one manually via ListSensitivityInspectionTemplatesRequest.builder()
listSensitivityInspectionTemplatesRequest - A Consumer that will call methods on ListSensitivityInspectionTemplatesRequest.Builder to
create a request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
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 an Amazon Macie resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
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 an Amazon Macie resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception
Removes one or more tags (keys and values) from an Amazon Macie resource.
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 an Amazon Macie resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related 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 UpdateAllowListResponse updateAllowList(UpdateAllowListRequest updateAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the settings for an allow list.
updateAllowListRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAllowListResponse updateAllowList(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the settings for an allow list.
This is a convenience which creates an instance of the UpdateAllowListRequest.Builder avoiding the need
to create one manually via UpdateAllowListRequest.builder()
updateAllowListRequest - A Consumer that will call methods on UpdateAllowListRequest.Builder to create a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAutomatedDiscoveryConfigurationResponse updateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Enables or disables automated sensitive data discovery for an account.
updateAutomatedDiscoveryConfigurationRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAutomatedDiscoveryConfigurationResponse updateAutomatedDiscoveryConfiguration(Consumer<UpdateAutomatedDiscoveryConfigurationRequest.Builder> updateAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Enables or disables automated sensitive data discovery for an account.
This is a convenience which creates an instance of the
UpdateAutomatedDiscoveryConfigurationRequest.Builder avoiding the need to create one manually via
UpdateAutomatedDiscoveryConfigurationRequest.builder()
updateAutomatedDiscoveryConfigurationRequest - A Consumer that will call methods on UpdateAutomatedDiscoveryConfigurationRequest.Builder
to create a request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateClassificationScopeResponse updateClassificationScope(UpdateClassificationScopeRequest updateClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the classification scope settings for an account.
updateClassificationScopeRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateClassificationScopeResponse updateClassificationScope(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the classification scope settings for an account.
This is a convenience which creates an instance of the UpdateClassificationScopeRequest.Builder avoiding
the need to create one manually via UpdateClassificationScopeRequest.builder()
updateClassificationScopeRequest - A Consumer that will call methods on UpdateClassificationScopeRequest.Builder to create a
request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.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 the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ConflictException - The request failed because it conflicts with the current state of the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourceProfileResponse updateResourceProfile(UpdateResourceProfileRequest updateResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Updates the sensitivity score for an S3 bucket.
updateResourceProfileRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourceProfileResponse updateResourceProfile(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Updates the sensitivity score for an S3 bucket.
This is a convenience which creates an instance of the UpdateResourceProfileRequest.Builder avoiding the
need to create one manually via UpdateResourceProfileRequest.builder()
updateResourceProfileRequest - A Consumer that will call methods on UpdateResourceProfileRequest.Builder to create a
request.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourceProfileDetectionsResponse updateResourceProfileDetections(UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Updates the sensitivity scoring settings for an S3 bucket.
updateResourceProfileDetectionsRequest - ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateResourceProfileDetectionsResponse updateResourceProfileDetections(Consumer<UpdateResourceProfileDetectionsRequest.Builder> updateResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception
Updates the sensitivity scoring settings for an S3 bucket.
This is a convenience which creates an instance of the UpdateResourceProfileDetectionsRequest.Builder
avoiding the need to create one manually via UpdateResourceProfileDetectionsRequest.builder()
updateResourceProfileDetectionsRequest - A Consumer that will call methods on UpdateResourceProfileDetectionsRequest.Builder to
create a request.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.ServiceQuotaExceededException - The request failed because fulfilling the request would exceed one or more service quotas for your
account.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRevealConfigurationResponse updateRevealConfiguration(UpdateRevealConfigurationRequest updateRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
updateRevealConfigurationRequest - ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateRevealConfigurationResponse updateRevealConfiguration(Consumer<UpdateRevealConfigurationRequest.Builder> updateRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
This is a convenience which creates an instance of the UpdateRevealConfigurationRequest.Builder avoiding
the need to create one manually via UpdateRevealConfigurationRequest.builder()
updateRevealConfigurationRequest - A Consumer that will call methods on UpdateRevealConfigurationRequest.Builder to create a
request.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSensitivityInspectionTemplateResponse updateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the settings for the sensitivity inspection template for an account.
updateSensitivityInspectionTemplateRequest - ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateSensitivityInspectionTemplateResponse updateSensitivityInspectionTemplate(Consumer<UpdateSensitivityInspectionTemplateRequest.Builder> updateSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception
Updates the settings for the sensitivity inspection template for an account.
This is a convenience which creates an instance of the UpdateSensitivityInspectionTemplateRequest.Builder
avoiding the need to create one manually via UpdateSensitivityInspectionTemplateRequest.builder()
updateSensitivityInspectionTemplateRequest - A Consumer that will call methods on UpdateSensitivityInspectionTemplateRequest.Builder to
create a request.ResourceNotFoundException - The request failed because the specified resource wasn't found.ThrottlingException - The request failed because you sent too many requests during a certain amount of time.ValidationException - The request failed because the input doesn't satisfy the constraints specified by the service.InternalServerException - The request failed due to an unknown internal server error, exception, or failure.AccessDeniedException - The request was denied because you don't have sufficient access to the specified resource.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.Macie2Exception - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic ServiceMetadata serviceMetadata()
default Macie2Waiter waiter()
Macie2Waiter using this client.
Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
Macie2WaiterCopyright © 2023. All rights reserved.