Interface Macie2AsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Amazon Macie
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionacceptInvitation
(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Accepts an Amazon Macie membership invitation that was received from a specific account.acceptInvitation
(AcceptInvitationRequest acceptInvitationRequest) Accepts an Amazon Macie membership invitation that was received from a specific account.batchGetCustomDataIdentifiers
(Consumer<BatchGetCustomDataIdentifiersRequest.Builder> batchGetCustomDataIdentifiersRequest) Retrieves information about one or more custom data identifiers.batchGetCustomDataIdentifiers
(BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest) Retrieves information about one or more custom data identifiers.static Macie2AsyncClientBuilder
builder()
Create a builder that can be used to configure and create aMacie2AsyncClient
.static Macie2AsyncClient
create()
Create aMacie2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateAllowListResponse> createAllowList
(Consumer<CreateAllowListRequest.Builder> createAllowListRequest) Creates and defines the settings for an allow list.default CompletableFuture
<CreateAllowListResponse> createAllowList
(CreateAllowListRequest createAllowListRequest) Creates and defines the settings for an allow list.createClassificationJob
(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest) Creates and defines the settings for a classification job.createClassificationJob
(CreateClassificationJobRequest createClassificationJobRequest) Creates and defines the settings for a classification job.createCustomDataIdentifier
(Consumer<CreateCustomDataIdentifierRequest.Builder> createCustomDataIdentifierRequest) Creates and defines the criteria and other settings for a custom data identifier.createCustomDataIdentifier
(CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest) Creates and defines the criteria and other settings for a custom data identifier.createFindingsFilter
(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.createFindingsFilter
(CreateFindingsFilterRequest createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.createInvitations
(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.createInvitations
(CreateInvitationsRequest createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.default CompletableFuture
<CreateMemberResponse> createMember
(Consumer<CreateMemberRequest.Builder> createMemberRequest) Associates an account with an Amazon Macie administrator account.default CompletableFuture
<CreateMemberResponse> createMember
(CreateMemberRequest createMemberRequest) Associates an account with an Amazon Macie administrator account.createSampleFindings
(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) Creates sample findings.createSampleFindings
(CreateSampleFindingsRequest createSampleFindingsRequest) Creates sample findings.declineInvitations
(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.declineInvitations
(DeclineInvitationsRequest declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.default CompletableFuture
<DeleteAllowListResponse> deleteAllowList
(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest) Deletes an allow list.default CompletableFuture
<DeleteAllowListResponse> deleteAllowList
(DeleteAllowListRequest deleteAllowListRequest) Deletes an allow list.deleteCustomDataIdentifier
(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest) Soft deletes a custom data identifier.deleteCustomDataIdentifier
(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest) Soft deletes a custom data identifier.deleteFindingsFilter
(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest) Deletes a findings filter.deleteFindingsFilter
(DeleteFindingsFilterRequest deleteFindingsFilterRequest) Deletes a findings filter.deleteInvitations
(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.deleteInvitations
(DeleteInvitationsRequest deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.default CompletableFuture
<DeleteMemberResponse> deleteMember
(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.default CompletableFuture
<DeleteMemberResponse> deleteMember
(DeleteMemberRequest deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.default CompletableFuture
<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 CompletableFuture
<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 DescribeBucketsPublisher
describeBucketsPaginator
(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) This is a variant ofdescribeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation.default DescribeBucketsPublisher
describeBucketsPaginator
(DescribeBucketsRequest describeBucketsRequest) This is a variant ofdescribeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation.describeClassificationJob
(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest) Retrieves the status and settings for a classification job.describeClassificationJob
(DescribeClassificationJobRequest describeClassificationJobRequest) Retrieves the status and settings for a classification job.describeOrganizationConfiguration
(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) Retrieves the Amazon Macie configuration settings for an organization in Organizations.describeOrganizationConfiguration
(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) Retrieves the Amazon Macie configuration settings for an organization in Organizations.default CompletableFuture
<DisableMacieResponse> disableMacie
(Consumer<DisableMacieRequest.Builder> disableMacieRequest) Disables Amazon Macie and deletes all settings and resources for a Macie account.default CompletableFuture
<DisableMacieResponse> disableMacie
(DisableMacieRequest disableMacieRequest) Disables Amazon Macie and deletes all settings and resources for a Macie account.disableOrganizationAdminAccount
(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.disableOrganizationAdminAccount
(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.disassociateFromAdministratorAccount
(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) Disassociates a member account from its Amazon Macie administrator account.disassociateFromAdministratorAccount
(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) Disassociates a member account from its Amazon Macie administrator account.disassociateFromMasterAccount
(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) (Deprecated) Disassociates a member account from its Amazon Macie administrator account.disassociateFromMasterAccount
(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) (Deprecated) Disassociates a member account from its Amazon Macie administrator account.disassociateMember
(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.disassociateMember
(DisassociateMemberRequest disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.default CompletableFuture
<EnableMacieResponse> enableMacie
(Consumer<EnableMacieRequest.Builder> enableMacieRequest) Enables Amazon Macie and specifies the configuration settings for a Macie account.default CompletableFuture
<EnableMacieResponse> enableMacie
(EnableMacieRequest enableMacieRequest) Enables Amazon Macie and specifies the configuration settings for a Macie account.enableOrganizationAdminAccount
(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.enableOrganizationAdminAccount
(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.getAdministratorAccount
(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.getAdministratorAccount
(GetAdministratorAccountRequest getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.default CompletableFuture
<GetAllowListResponse> getAllowList
(Consumer<GetAllowListRequest.Builder> getAllowListRequest) Retrieves the settings and status of an allow list.default CompletableFuture
<GetAllowListResponse> getAllowList
(GetAllowListRequest getAllowListRequest) Retrieves the settings and status of an allow list.getAutomatedDiscoveryConfiguration
(Consumer<GetAutomatedDiscoveryConfigurationRequest.Builder> getAutomatedDiscoveryConfigurationRequest) Retrieves the configuration settings and status of automated sensitive data discovery for an account.getAutomatedDiscoveryConfiguration
(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest) Retrieves the configuration settings and status of automated sensitive data discovery for an account.getBucketStatistics
(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest) Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.getBucketStatistics
(GetBucketStatisticsRequest getBucketStatisticsRequest) Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.getClassificationExportConfiguration
(Consumer<GetClassificationExportConfigurationRequest.Builder> getClassificationExportConfigurationRequest) Retrieves the configuration settings for storing data classification results.getClassificationExportConfiguration
(GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest) Retrieves the configuration settings for storing data classification results.getClassificationScope
(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest) Retrieves the classification scope settings for an account.getClassificationScope
(GetClassificationScopeRequest getClassificationScopeRequest) Retrieves the classification scope settings for an account.getCustomDataIdentifier
(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.getCustomDataIdentifier
(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.default CompletableFuture
<GetFindingsResponse> getFindings
(Consumer<GetFindingsRequest.Builder> getFindingsRequest) Retrieves the details of one or more findings.default CompletableFuture
<GetFindingsResponse> getFindings
(GetFindingsRequest getFindingsRequest) Retrieves the details of one or more findings.getFindingsFilter
(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest) Retrieves the criteria and other settings for a findings filter.getFindingsFilter
(GetFindingsFilterRequest getFindingsFilterRequest) Retrieves the criteria and other settings for a findings filter.getFindingsPublicationConfiguration
(Consumer<GetFindingsPublicationConfigurationRequest.Builder> getFindingsPublicationConfigurationRequest) Retrieves the configuration settings for publishing findings to Security Hub.getFindingsPublicationConfiguration
(GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest) Retrieves the configuration settings for publishing findings to Security Hub.getFindingStatistics
(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.getFindingStatistics
(GetFindingStatisticsRequest getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.getInvitationsCount
(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.getInvitationsCount
(GetInvitationsCountRequest getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.default CompletableFuture
<GetMacieSessionResponse> getMacieSession
(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.default CompletableFuture
<GetMacieSessionResponse> getMacieSession
(GetMacieSessionRequest getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.getMasterAccount
(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account.getMasterAccount
(GetMasterAccountRequest getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account.default CompletableFuture
<GetMemberResponse> getMember
(Consumer<GetMemberRequest.Builder> getMemberRequest) Retrieves information about an account that's associated with an Amazon Macie administrator account.default CompletableFuture
<GetMemberResponse> getMember
(GetMemberRequest getMemberRequest) Retrieves information about an account that's associated with an Amazon Macie administrator account.getResourceProfile
(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.getResourceProfile
(GetResourceProfileRequest getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.getRevealConfiguration
(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest) Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.getRevealConfiguration
(GetRevealConfigurationRequest getRevealConfigurationRequest) Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.getSensitiveDataOccurrences
(Consumer<GetSensitiveDataOccurrencesRequest.Builder> getSensitiveDataOccurrencesRequest) Retrieves occurrences of sensitive data reported by a finding.getSensitiveDataOccurrences
(GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest) Retrieves occurrences of sensitive data reported by a finding.getSensitiveDataOccurrencesAvailability
(Consumer<GetSensitiveDataOccurrencesAvailabilityRequest.Builder> getSensitiveDataOccurrencesAvailabilityRequest) Checks whether occurrences of sensitive data can be retrieved for a finding.getSensitiveDataOccurrencesAvailability
(GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest) Checks whether occurrences of sensitive data can be retrieved for a finding.getSensitivityInspectionTemplate
(Consumer<GetSensitivityInspectionTemplateRequest.Builder> getSensitivityInspectionTemplateRequest) Retrieves the settings for the sensitivity inspection template for an account.getSensitivityInspectionTemplate
(GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest) Retrieves the settings for the sensitivity inspection template for an account.getUsageStatistics
(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.getUsageStatistics
(GetUsageStatisticsRequest getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.default GetUsageStatisticsPublisher
getUsageStatisticsPaginator
(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.default GetUsageStatisticsPublisher
getUsageStatisticsPaginator
(GetUsageStatisticsRequest getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.default CompletableFuture
<GetUsageTotalsResponse> getUsageTotals
(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.default CompletableFuture
<GetUsageTotalsResponse> getUsageTotals
(GetUsageTotalsRequest getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.default CompletableFuture
<ListAllowListsResponse> listAllowLists
(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.default CompletableFuture
<ListAllowListsResponse> listAllowLists
(ListAllowListsRequest listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.default ListAllowListsPublisher
listAllowListsPaginator
(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) This is a variant oflistAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation.default ListAllowListsPublisher
listAllowListsPaginator
(ListAllowListsRequest listAllowListsRequest) This is a variant oflistAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation.listClassificationJobs
(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.listClassificationJobs
(ListClassificationJobsRequest listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.default ListClassificationJobsPublisher
listClassificationJobsPaginator
(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.default ListClassificationJobsPublisher
listClassificationJobsPaginator
(ListClassificationJobsRequest listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.listClassificationScopes
(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.listClassificationScopes
(ListClassificationScopesRequest listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.listClassificationScopesPaginator
(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) This is a variant oflistClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.listClassificationScopesPaginator
(ListClassificationScopesRequest listClassificationScopesRequest) This is a variant oflistClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.listCustomDataIdentifiers
(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) Retrieves a subset of information about all the custom data identifiers for an account.listCustomDataIdentifiers
(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) Retrieves a subset of information about all the custom data identifiers for an account.listCustomDataIdentifiersPaginator
(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) This is a variant oflistCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation.listCustomDataIdentifiersPaginator
(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) This is a variant oflistCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation.default CompletableFuture
<ListFindingsResponse> listFindings
(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Retrieves a subset of information about one or more findings.default CompletableFuture
<ListFindingsResponse> listFindings
(ListFindingsRequest listFindingsRequest) Retrieves a subset of information about one or more findings.listFindingsFilters
(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.listFindingsFilters
(ListFindingsFiltersRequest listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.default ListFindingsFiltersPublisher
listFindingsFiltersPaginator
(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.default ListFindingsFiltersPublisher
listFindingsFiltersPaginator
(ListFindingsFiltersRequest listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.default ListFindingsPublisher
listFindingsPaginator
(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation.default ListFindingsPublisher
listFindingsPaginator
(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation.default CompletableFuture
<ListInvitationsResponse> listInvitations
(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) Retrieves information about the Amazon Macie membership invitations that were received by an account.default CompletableFuture
<ListInvitationsResponse> listInvitations
(ListInvitationsRequest listInvitationsRequest) Retrieves information about the Amazon Macie membership invitations that were received by an account.default ListInvitationsPublisher
listInvitationsPaginator
(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation.default ListInvitationsPublisher
listInvitationsPaginator
(ListInvitationsRequest listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation.listManagedDataIdentifiers
(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) Retrieves information about all the managed data identifiers that Amazon Macie currently provides.listManagedDataIdentifiers
(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) Retrieves information about all the managed data identifiers that Amazon Macie currently provides.listManagedDataIdentifiersPaginator
(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) This is a variant oflistManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.listManagedDataIdentifiersPaginator
(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) This is a variant oflistManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.default CompletableFuture
<ListMembersResponse> listMembers
(Consumer<ListMembersRequest.Builder> listMembersRequest) Retrieves information about the accounts that are associated with an Amazon Macie administrator account.default CompletableFuture
<ListMembersResponse> listMembers
(ListMembersRequest listMembersRequest) Retrieves information about the accounts that are associated with an Amazon Macie administrator account.default ListMembersPublisher
listMembersPaginator
(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation.default ListMembersPublisher
listMembersPaginator
(ListMembersRequest listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation.listOrganizationAdminAccounts
(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.listOrganizationAdminAccounts
(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.listOrganizationAdminAccountsPaginator
(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) This is a variant oflistOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.listOrganizationAdminAccountsPaginator
(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) This is a variant oflistOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.listResourceProfileArtifacts
(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.listResourceProfileArtifacts
(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.listResourceProfileArtifactsPaginator
(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) This is a variant oflistResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation.listResourceProfileArtifactsPaginator
(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) This is a variant oflistResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation.listResourceProfileDetections
(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.listResourceProfileDetections
(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.listResourceProfileDetectionsPaginator
(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) This is a variant oflistResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation.listResourceProfileDetectionsPaginator
(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) This is a variant oflistResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation.listSensitivityInspectionTemplates
(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) Retrieves a subset of information about the sensitivity inspection template for an account.listSensitivityInspectionTemplates
(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) Retrieves a subset of information about the sensitivity inspection template for an account.listSensitivityInspectionTemplatesPaginator
(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) This is a variant oflistSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation.listSensitivityInspectionTemplatesPaginator
(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) This is a variant oflistSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.putClassificationExportConfiguration
(Consumer<PutClassificationExportConfigurationRequest.Builder> putClassificationExportConfigurationRequest) Creates or updates the configuration settings for storing data classification results.putClassificationExportConfiguration
(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest) Creates or updates the configuration settings for storing data classification results.putFindingsPublicationConfiguration
(Consumer<PutFindingsPublicationConfigurationRequest.Builder> putFindingsPublicationConfigurationRequest) Updates the configuration settings for publishing findings to Security Hub.putFindingsPublicationConfiguration
(PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest) Updates the configuration settings for publishing findings to Security Hub.default CompletableFuture
<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 CompletableFuture
<SearchResourcesResponse> searchResources
(SearchResourcesRequest searchResourcesRequest) Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.default SearchResourcesPublisher
searchResourcesPaginator
(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation.default SearchResourcesPublisher
searchResourcesPaginator
(SearchResourcesRequest searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation.default Macie2ServiceClientConfiguration
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<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 CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.testCustomDataIdentifier
(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest) Tests a custom data identifier.testCustomDataIdentifier
(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) Tests a custom data identifier.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.default CompletableFuture
<UpdateAllowListResponse> updateAllowList
(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest) Updates the settings for an allow list.default CompletableFuture
<UpdateAllowListResponse> updateAllowList
(UpdateAllowListRequest updateAllowListRequest) Updates the settings for an allow list.updateAutomatedDiscoveryConfiguration
(Consumer<UpdateAutomatedDiscoveryConfigurationRequest.Builder> updateAutomatedDiscoveryConfigurationRequest) Enables or disables automated sensitive data discovery for an account.updateAutomatedDiscoveryConfiguration
(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest) Enables or disables automated sensitive data discovery for an account.updateClassificationJob
(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest) Changes the status of a classification job.updateClassificationJob
(UpdateClassificationJobRequest updateClassificationJobRequest) Changes the status of a classification job.updateClassificationScope
(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest) Updates the classification scope settings for an account.updateClassificationScope
(UpdateClassificationScopeRequest updateClassificationScopeRequest) Updates the classification scope settings for an account.updateFindingsFilter
(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.updateFindingsFilter
(UpdateFindingsFilterRequest updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.updateMacieSession
(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.updateMacieSession
(UpdateMacieSessionRequest updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.updateMemberSession
(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest) Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.updateMemberSession
(UpdateMemberSessionRequest updateMemberSessionRequest) Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.updateOrganizationConfiguration
(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) Updates the Amazon Macie configuration settings for an organization in Organizations.updateOrganizationConfiguration
(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) Updates the Amazon Macie configuration settings for an organization in Organizations.updateResourceProfile
(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest) Updates the sensitivity score for an S3 bucket.updateResourceProfile
(UpdateResourceProfileRequest updateResourceProfileRequest) Updates the sensitivity score for an S3 bucket.updateResourceProfileDetections
(Consumer<UpdateResourceProfileDetectionsRequest.Builder> updateResourceProfileDetectionsRequest) Updates the sensitivity scoring settings for an S3 bucket.updateResourceProfileDetections
(UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest) Updates the sensitivity scoring settings for an S3 bucket.updateRevealConfiguration
(Consumer<UpdateRevealConfigurationRequest.Builder> updateRevealConfigurationRequest) Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.updateRevealConfiguration
(UpdateRevealConfigurationRequest updateRevealConfigurationRequest) Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.updateSensitivityInspectionTemplate
(Consumer<UpdateSensitivityInspectionTemplateRequest.Builder> updateSensitivityInspectionTemplateRequest) Updates the settings for the sensitivity inspection template for an account.updateSensitivityInspectionTemplate
(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest) Updates the settings for the sensitivity inspection template for an account.default Macie2AsyncWaiter
waiter()
Create an instance ofMacie2AsyncWaiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptInvitation
default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) Accepts an Amazon Macie membership invitation that was received from a specific account.
- Parameters:
acceptInvitationRequest
-- Returns:
- A Java Future containing the result of the AcceptInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptInvitation
default CompletableFuture<AcceptInvitationResponse> acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) 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 viaAcceptInvitationRequest.builder()
- Parameters:
acceptInvitationRequest
- AConsumer
that will call methods onAcceptInvitationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the AcceptInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCustomDataIdentifiers
default CompletableFuture<BatchGetCustomDataIdentifiersResponse> batchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest) Retrieves information about one or more custom data identifiers.
- Parameters:
batchGetCustomDataIdentifiersRequest
-- Returns:
- A Java Future containing the result of the BatchGetCustomDataIdentifiers operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetCustomDataIdentifiers
default CompletableFuture<BatchGetCustomDataIdentifiersResponse> batchGetCustomDataIdentifiers(Consumer<BatchGetCustomDataIdentifiersRequest.Builder> batchGetCustomDataIdentifiersRequest) 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 viaBatchGetCustomDataIdentifiersRequest.builder()
- Parameters:
batchGetCustomDataIdentifiersRequest
- AConsumer
that will call methods onBatchGetCustomDataIdentifiersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the BatchGetCustomDataIdentifiers operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAllowList
default CompletableFuture<CreateAllowListResponse> createAllowList(CreateAllowListRequest createAllowListRequest) Creates and defines the settings for an allow list.
- Parameters:
createAllowListRequest
-- Returns:
- A Java Future containing the result of the CreateAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAllowList
default CompletableFuture<CreateAllowListResponse> createAllowList(Consumer<CreateAllowListRequest.Builder> createAllowListRequest) 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 viaCreateAllowListRequest.builder()
- Parameters:
createAllowListRequest
- AConsumer
that will call methods onCreateAllowListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createClassificationJob
default CompletableFuture<CreateClassificationJobResponse> createClassificationJob(CreateClassificationJobRequest createClassificationJobRequest) Creates and defines the settings for a classification job.
- Parameters:
createClassificationJobRequest
-- Returns:
- A Java Future containing the result of the CreateClassificationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createClassificationJob
default CompletableFuture<CreateClassificationJobResponse> createClassificationJob(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest) 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 viaCreateClassificationJobRequest.builder()
- Parameters:
createClassificationJobRequest
- AConsumer
that will call methods onCreateClassificationJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateClassificationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCustomDataIdentifier
default CompletableFuture<CreateCustomDataIdentifierResponse> createCustomDataIdentifier(CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest) Creates and defines the criteria and other settings for a custom data identifier.
- Parameters:
createCustomDataIdentifierRequest
-- Returns:
- A Java Future containing the result of the CreateCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createCustomDataIdentifier
default CompletableFuture<CreateCustomDataIdentifierResponse> createCustomDataIdentifier(Consumer<CreateCustomDataIdentifierRequest.Builder> createCustomDataIdentifierRequest) 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 viaCreateCustomDataIdentifierRequest.builder()
- Parameters:
createCustomDataIdentifierRequest
- AConsumer
that will call methods onCreateCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFindingsFilter
default CompletableFuture<CreateFindingsFilterResponse> createFindingsFilter(CreateFindingsFilterRequest createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.
- Parameters:
createFindingsFilterRequest
-- Returns:
- A Java Future containing the result of the CreateFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFindingsFilter
default CompletableFuture<CreateFindingsFilterResponse> createFindingsFilter(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest) 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 viaCreateFindingsFilterRequest.builder()
- Parameters:
createFindingsFilterRequest
- AConsumer
that will call methods onCreateFindingsFilterRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInvitations
default CompletableFuture<CreateInvitationsResponse> createInvitations(CreateInvitationsRequest createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.
- Parameters:
createInvitationsRequest
-- Returns:
- A Java Future containing the result of the CreateInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createInvitations
default CompletableFuture<CreateInvitationsResponse> createInvitations(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest) 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 viaCreateInvitationsRequest.builder()
- Parameters:
createInvitationsRequest
- AConsumer
that will call methods onCreateInvitationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMember
default CompletableFuture<CreateMemberResponse> createMember(CreateMemberRequest createMemberRequest) Associates an account with an Amazon Macie administrator account.
- Parameters:
createMemberRequest
-- Returns:
- A Java Future containing the result of the CreateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createMember
default CompletableFuture<CreateMemberResponse> createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest) 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 viaCreateMemberRequest.builder()
- Parameters:
createMemberRequest
- AConsumer
that will call methods onCreateMemberRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSampleFindings
default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest) Creates sample findings.
- Parameters:
createSampleFindingsRequest
-- Returns:
- A Java Future containing the result of the CreateSampleFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSampleFindings
default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) Creates sample findings.
This is a convenience which creates an instance of the
CreateSampleFindingsRequest.Builder
avoiding the need to create one manually viaCreateSampleFindingsRequest.builder()
- Parameters:
createSampleFindingsRequest
- AConsumer
that will call methods onCreateSampleFindingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateSampleFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
declineInvitations
default CompletableFuture<DeclineInvitationsResponse> declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.
- Parameters:
declineInvitationsRequest
-- Returns:
- A Java Future containing the result of the DeclineInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
declineInvitations
default CompletableFuture<DeclineInvitationsResponse> declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) 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 viaDeclineInvitationsRequest.builder()
- Parameters:
declineInvitationsRequest
- AConsumer
that will call methods onDeclineInvitationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeclineInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAllowList
default CompletableFuture<DeleteAllowListResponse> deleteAllowList(DeleteAllowListRequest deleteAllowListRequest) Deletes an allow list.
- Parameters:
deleteAllowListRequest
-- Returns:
- A Java Future containing the result of the DeleteAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
deleteAllowList
default CompletableFuture<DeleteAllowListResponse> deleteAllowList(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest) Deletes an allow list.
This is a convenience which creates an instance of the
DeleteAllowListRequest.Builder
avoiding the need to create one manually viaDeleteAllowListRequest.builder()
- Parameters:
deleteAllowListRequest
- AConsumer
that will call methods onDeleteAllowListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
deleteCustomDataIdentifier
default CompletableFuture<DeleteCustomDataIdentifierResponse> deleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest) Soft deletes a custom data identifier.
- Parameters:
deleteCustomDataIdentifierRequest
-- Returns:
- A Java Future containing the result of the DeleteCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteCustomDataIdentifier
default CompletableFuture<DeleteCustomDataIdentifierResponse> deleteCustomDataIdentifier(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest) 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 viaDeleteCustomDataIdentifierRequest.builder()
- Parameters:
deleteCustomDataIdentifierRequest
- AConsumer
that will call methods onDeleteCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFindingsFilter
default CompletableFuture<DeleteFindingsFilterResponse> deleteFindingsFilter(DeleteFindingsFilterRequest deleteFindingsFilterRequest) Deletes a findings filter.
- Parameters:
deleteFindingsFilterRequest
-- Returns:
- A Java Future containing the result of the DeleteFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFindingsFilter
default CompletableFuture<DeleteFindingsFilterResponse> deleteFindingsFilter(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest) Deletes a findings filter.
This is a convenience which creates an instance of the
DeleteFindingsFilterRequest.Builder
avoiding the need to create one manually viaDeleteFindingsFilterRequest.builder()
- Parameters:
deleteFindingsFilterRequest
- AConsumer
that will call methods onDeleteFindingsFilterRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInvitations
default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.
- Parameters:
deleteInvitationsRequest
-- Returns:
- A Java Future containing the result of the DeleteInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteInvitations
default CompletableFuture<DeleteInvitationsResponse> deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) 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 viaDeleteInvitationsRequest.builder()
- Parameters:
deleteInvitationsRequest
- AConsumer
that will call methods onDeleteInvitationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMember
default CompletableFuture<DeleteMemberResponse> deleteMember(DeleteMemberRequest deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.
- Parameters:
deleteMemberRequest
-- Returns:
- A Java Future containing the result of the DeleteMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteMember
default CompletableFuture<DeleteMemberResponse> deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) 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 viaDeleteMemberRequest.builder()
- Parameters:
deleteMemberRequest
- AConsumer
that will call methods onDeleteMemberRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBuckets
default CompletableFuture<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.
- Parameters:
describeBucketsRequest
-- Returns:
- A Java Future containing the result of the DescribeBuckets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBuckets
default CompletableFuture<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.
This is a convenience which creates an instance of the
DescribeBucketsRequest.Builder
avoiding the need to create one manually viaDescribeBucketsRequest.builder()
- Parameters:
describeBucketsRequest
- AConsumer
that will call methods onDescribeBucketsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeBuckets operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBucketsPaginator
default DescribeBucketsPublisher describeBucketsPaginator(DescribeBucketsRequest describeBucketsRequest) This is a variant of
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse response) { //... }; });
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.- Parameters:
describeBucketsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBucketsPaginator
default DescribeBucketsPublisher describeBucketsPaginator(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) This is a variant of
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse response) { //... }; });
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 viaDescribeBucketsRequest.builder()
- Parameters:
describeBucketsRequest
- AConsumer
that will call methods onDescribeBucketsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeClassificationJob
default CompletableFuture<DescribeClassificationJobResponse> describeClassificationJob(DescribeClassificationJobRequest describeClassificationJobRequest) Retrieves the status and settings for a classification job.
- Parameters:
describeClassificationJobRequest
-- Returns:
- A Java Future containing the result of the DescribeClassificationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeClassificationJob
default CompletableFuture<DescribeClassificationJobResponse> describeClassificationJob(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest) 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 viaDescribeClassificationJobRequest.builder()
- Parameters:
describeClassificationJobRequest
- AConsumer
that will call methods onDescribeClassificationJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeClassificationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationConfiguration
default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) Retrieves the Amazon Macie configuration settings for an organization in Organizations.
- Parameters:
describeOrganizationConfigurationRequest
-- Returns:
- A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeOrganizationConfiguration
default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) 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 viaDescribeOrganizationConfigurationRequest.builder()
- Parameters:
describeOrganizationConfigurationRequest
- AConsumer
that will call methods onDescribeOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableMacie
default CompletableFuture<DisableMacieResponse> disableMacie(DisableMacieRequest disableMacieRequest) Disables Amazon Macie and deletes all settings and resources for a Macie account.
- Parameters:
disableMacieRequest
-- Returns:
- A Java Future containing the result of the DisableMacie operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableMacie
default CompletableFuture<DisableMacieResponse> disableMacie(Consumer<DisableMacieRequest.Builder> disableMacieRequest) 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 viaDisableMacieRequest.builder()
- Parameters:
disableMacieRequest
- AConsumer
that will call methods onDisableMacieRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisableMacie operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableOrganizationAdminAccount
default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
- Parameters:
disableOrganizationAdminAccountRequest
-- Returns:
- A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disableOrganizationAdminAccount
default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) 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 viaDisableOrganizationAdminAccountRequest.builder()
- Parameters:
disableOrganizationAdminAccountRequest
- AConsumer
that will call methods onDisableOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFromAdministratorAccount
default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) Disassociates a member account from its Amazon Macie administrator account.
- Parameters:
disassociateFromAdministratorAccountRequest
-- Returns:
- A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFromAdministratorAccount
default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) 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 viaDisassociateFromAdministratorAccountRequest.builder()
- Parameters:
disassociateFromAdministratorAccountRequest
- AConsumer
that will call methods onDisassociateFromAdministratorAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFromMasterAccount
default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.
- Parameters:
disassociateFromMasterAccountRequest
-- Returns:
- A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateFromMasterAccount
default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) (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 viaDisassociateFromMasterAccountRequest.builder()
- Parameters:
disassociateFromMasterAccountRequest
- AConsumer
that will call methods onDisassociateFromMasterAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateMember
default CompletableFuture<DisassociateMemberResponse> disassociateMember(DisassociateMemberRequest disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.
- Parameters:
disassociateMemberRequest
-- Returns:
- A Java Future containing the result of the DisassociateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateMember
default CompletableFuture<DisassociateMemberResponse> disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) 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 viaDisassociateMemberRequest.builder()
- Parameters:
disassociateMemberRequest
- AConsumer
that will call methods onDisassociateMemberRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DisassociateMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableMacie
Enables Amazon Macie and specifies the configuration settings for a Macie account.
- Parameters:
enableMacieRequest
-- Returns:
- A Java Future containing the result of the EnableMacie operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableMacie
default CompletableFuture<EnableMacieResponse> enableMacie(Consumer<EnableMacieRequest.Builder> enableMacieRequest) 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 viaEnableMacieRequest.builder()
- Parameters:
enableMacieRequest
- AConsumer
that will call methods onEnableMacieRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the EnableMacie operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableOrganizationAdminAccount
default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
- Parameters:
enableOrganizationAdminAccountRequest
-- Returns:
- A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
enableOrganizationAdminAccount
default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) 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 viaEnableOrganizationAdminAccountRequest.builder()
- Parameters:
enableOrganizationAdminAccountRequest
- AConsumer
that will call methods onEnableOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAdministratorAccount
default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.
- Parameters:
getAdministratorAccountRequest
-- Returns:
- A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAdministratorAccount
default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) 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 viaGetAdministratorAccountRequest.builder()
- Parameters:
getAdministratorAccountRequest
- AConsumer
that will call methods onGetAdministratorAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAllowList
default CompletableFuture<GetAllowListResponse> getAllowList(GetAllowListRequest getAllowListRequest) Retrieves the settings and status of an allow list.
- Parameters:
getAllowListRequest
-- Returns:
- A Java Future containing the result of the GetAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getAllowList
default CompletableFuture<GetAllowListResponse> getAllowList(Consumer<GetAllowListRequest.Builder> getAllowListRequest) 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 viaGetAllowListRequest.builder()
- Parameters:
getAllowListRequest
- AConsumer
that will call methods onGetAllowListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getAutomatedDiscoveryConfiguration
default CompletableFuture<GetAutomatedDiscoveryConfigurationResponse> getAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest) Retrieves the configuration settings and status of automated sensitive data discovery for an account.
- Parameters:
getAutomatedDiscoveryConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetAutomatedDiscoveryConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getAutomatedDiscoveryConfiguration
default CompletableFuture<GetAutomatedDiscoveryConfigurationResponse> getAutomatedDiscoveryConfiguration(Consumer<GetAutomatedDiscoveryConfigurationRequest.Builder> getAutomatedDiscoveryConfigurationRequest) 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 viaGetAutomatedDiscoveryConfigurationRequest.builder()
- Parameters:
getAutomatedDiscoveryConfigurationRequest
- AConsumer
that will call methods onGetAutomatedDiscoveryConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetAutomatedDiscoveryConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getBucketStatistics
default CompletableFuture<GetBucketStatisticsResponse> getBucketStatistics(GetBucketStatisticsRequest getBucketStatisticsRequest) Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
- Parameters:
getBucketStatisticsRequest
-- Returns:
- A Java Future containing the result of the GetBucketStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getBucketStatistics
default CompletableFuture<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.
This is a convenience which creates an instance of the
GetBucketStatisticsRequest.Builder
avoiding the need to create one manually viaGetBucketStatisticsRequest.builder()
- Parameters:
getBucketStatisticsRequest
- AConsumer
that will call methods onGetBucketStatisticsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetBucketStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getClassificationExportConfiguration
default CompletableFuture<GetClassificationExportConfigurationResponse> getClassificationExportConfiguration(GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest) Retrieves the configuration settings for storing data classification results.
- Parameters:
getClassificationExportConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetClassificationExportConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getClassificationExportConfiguration
default CompletableFuture<GetClassificationExportConfigurationResponse> getClassificationExportConfiguration(Consumer<GetClassificationExportConfigurationRequest.Builder> getClassificationExportConfigurationRequest) 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 viaGetClassificationExportConfigurationRequest.builder()
- Parameters:
getClassificationExportConfigurationRequest
- AConsumer
that will call methods onGetClassificationExportConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetClassificationExportConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getClassificationScope
default CompletableFuture<GetClassificationScopeResponse> getClassificationScope(GetClassificationScopeRequest getClassificationScopeRequest) Retrieves the classification scope settings for an account.
- Parameters:
getClassificationScopeRequest
-- Returns:
- A Java Future containing the result of the GetClassificationScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getClassificationScope
default CompletableFuture<GetClassificationScopeResponse> getClassificationScope(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest) 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 viaGetClassificationScopeRequest.builder()
- Parameters:
getClassificationScopeRequest
- AConsumer
that will call methods onGetClassificationScopeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetClassificationScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getCustomDataIdentifier
default CompletableFuture<GetCustomDataIdentifierResponse> getCustomDataIdentifier(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.
- Parameters:
getCustomDataIdentifierRequest
-- Returns:
- A Java Future containing the result of the GetCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getCustomDataIdentifier
default CompletableFuture<GetCustomDataIdentifierResponse> getCustomDataIdentifier(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest) 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 viaGetCustomDataIdentifierRequest.builder()
- Parameters:
getCustomDataIdentifierRequest
- AConsumer
that will call methods onGetCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindingStatistics
default CompletableFuture<GetFindingStatisticsResponse> getFindingStatistics(GetFindingStatisticsRequest getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.
- Parameters:
getFindingStatisticsRequest
-- Returns:
- A Java Future containing the result of the GetFindingStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindingStatistics
default CompletableFuture<GetFindingStatisticsResponse> getFindingStatistics(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest) 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 viaGetFindingStatisticsRequest.builder()
- Parameters:
getFindingStatisticsRequest
- AConsumer
that will call methods onGetFindingStatisticsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFindingStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindings
Retrieves the details of one or more findings.
- Parameters:
getFindingsRequest
-- Returns:
- A Java Future containing the result of the GetFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindings
default CompletableFuture<GetFindingsResponse> getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest) 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 viaGetFindingsRequest.builder()
- Parameters:
getFindingsRequest
- AConsumer
that will call methods onGetFindingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindingsFilter
default CompletableFuture<GetFindingsFilterResponse> getFindingsFilter(GetFindingsFilterRequest getFindingsFilterRequest) Retrieves the criteria and other settings for a findings filter.
- Parameters:
getFindingsFilterRequest
-- Returns:
- A Java Future containing the result of the GetFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindingsFilter
default CompletableFuture<GetFindingsFilterResponse> getFindingsFilter(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest) 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 viaGetFindingsFilterRequest.builder()
- Parameters:
getFindingsFilterRequest
- AConsumer
that will call methods onGetFindingsFilterRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindingsPublicationConfiguration
default CompletableFuture<GetFindingsPublicationConfigurationResponse> getFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest) Retrieves the configuration settings for publishing findings to Security Hub.
- Parameters:
getFindingsPublicationConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetFindingsPublicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFindingsPublicationConfiguration
default CompletableFuture<GetFindingsPublicationConfigurationResponse> getFindingsPublicationConfiguration(Consumer<GetFindingsPublicationConfigurationRequest.Builder> getFindingsPublicationConfigurationRequest) 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 viaGetFindingsPublicationConfigurationRequest.builder()
- Parameters:
getFindingsPublicationConfigurationRequest
- AConsumer
that will call methods onGetFindingsPublicationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetFindingsPublicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInvitationsCount
default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.
- Parameters:
getInvitationsCountRequest
-- Returns:
- A Java Future containing the result of the GetInvitationsCount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getInvitationsCount
default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) 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 viaGetInvitationsCountRequest.builder()
- Parameters:
getInvitationsCountRequest
- AConsumer
that will call methods onGetInvitationsCountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetInvitationsCount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMacieSession
default CompletableFuture<GetMacieSessionResponse> getMacieSession(GetMacieSessionRequest getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.
- Parameters:
getMacieSessionRequest
-- Returns:
- A Java Future containing the result of the GetMacieSession operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMacieSession
default CompletableFuture<GetMacieSessionResponse> getMacieSession(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) 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 viaGetMacieSessionRequest.builder()
- Parameters:
getMacieSessionRequest
- AConsumer
that will call methods onGetMacieSessionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetMacieSession operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMasterAccount
default CompletableFuture<GetMasterAccountResponse> getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
- Parameters:
getMasterAccountRequest
-- Returns:
- A Java Future containing the result of the GetMasterAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMasterAccount
default CompletableFuture<GetMasterAccountResponse> getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) (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 viaGetMasterAccountRequest.builder()
- Parameters:
getMasterAccountRequest
- AConsumer
that will call methods onGetMasterAccountRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetMasterAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMember
Retrieves information about an account that's associated with an Amazon Macie administrator account.
- Parameters:
getMemberRequest
-- Returns:
- A Java Future containing the result of the GetMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getMember
default CompletableFuture<GetMemberResponse> getMember(Consumer<GetMemberRequest.Builder> getMemberRequest) 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 viaGetMemberRequest.builder()
- Parameters:
getMemberRequest
- AConsumer
that will call methods onGetMemberRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetMember operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getResourceProfile
default CompletableFuture<GetResourceProfileResponse> getResourceProfile(GetResourceProfileRequest getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
- Parameters:
getResourceProfileRequest
-- Returns:
- A Java Future containing the result of the GetResourceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
getResourceProfile
default CompletableFuture<GetResourceProfileResponse> getResourceProfile(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest) 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 viaGetResourceProfileRequest.builder()
- Parameters:
getResourceProfileRequest
- AConsumer
that will call methods onGetResourceProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetResourceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
getRevealConfiguration
default CompletableFuture<GetRevealConfigurationResponse> getRevealConfiguration(GetRevealConfigurationRequest getRevealConfigurationRequest) Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
- Parameters:
getRevealConfigurationRequest
-- Returns:
- A Java Future containing the result of the GetRevealConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getRevealConfiguration
default CompletableFuture<GetRevealConfigurationResponse> getRevealConfiguration(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest) 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 viaGetRevealConfigurationRequest.builder()
- Parameters:
getRevealConfigurationRequest
- AConsumer
that will call methods onGetRevealConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetRevealConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getSensitiveDataOccurrences
default CompletableFuture<GetSensitiveDataOccurrencesResponse> getSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest) Retrieves occurrences of sensitive data reported by a finding.
- Parameters:
getSensitiveDataOccurrencesRequest
-- Returns:
- A Java Future containing the result of the GetSensitiveDataOccurrences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getSensitiveDataOccurrences
default CompletableFuture<GetSensitiveDataOccurrencesResponse> getSensitiveDataOccurrences(Consumer<GetSensitiveDataOccurrencesRequest.Builder> getSensitiveDataOccurrencesRequest) 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 viaGetSensitiveDataOccurrencesRequest.builder()
- Parameters:
getSensitiveDataOccurrencesRequest
- AConsumer
that will call methods onGetSensitiveDataOccurrencesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSensitiveDataOccurrences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
getSensitiveDataOccurrencesAvailability
default CompletableFuture<GetSensitiveDataOccurrencesAvailabilityResponse> getSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest) Checks whether occurrences of sensitive data can be retrieved for a finding.
- Parameters:
getSensitiveDataOccurrencesAvailabilityRequest
-- Returns:
- A Java Future containing the result of the GetSensitiveDataOccurrencesAvailability operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getSensitiveDataOccurrencesAvailability
default CompletableFuture<GetSensitiveDataOccurrencesAvailabilityResponse> getSensitiveDataOccurrencesAvailability(Consumer<GetSensitiveDataOccurrencesAvailabilityRequest.Builder> getSensitiveDataOccurrencesAvailabilityRequest) 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 viaGetSensitiveDataOccurrencesAvailabilityRequest.builder()
- Parameters:
getSensitiveDataOccurrencesAvailabilityRequest
- AConsumer
that will call methods onGetSensitiveDataOccurrencesAvailabilityRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSensitiveDataOccurrencesAvailability operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getSensitivityInspectionTemplate
default CompletableFuture<GetSensitivityInspectionTemplateResponse> getSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest) Retrieves the settings for the sensitivity inspection template for an account.
- Parameters:
getSensitivityInspectionTemplateRequest
-- Returns:
- A Java Future containing the result of the GetSensitivityInspectionTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getSensitivityInspectionTemplate
default CompletableFuture<GetSensitivityInspectionTemplateResponse> getSensitivityInspectionTemplate(Consumer<GetSensitivityInspectionTemplateRequest.Builder> getSensitivityInspectionTemplateRequest) 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 viaGetSensitivityInspectionTemplateRequest.builder()
- Parameters:
getSensitivityInspectionTemplateRequest
- AConsumer
that will call methods onGetSensitivityInspectionTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetSensitivityInspectionTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
getUsageStatistics
default CompletableFuture<GetUsageStatisticsResponse> getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.
- Parameters:
getUsageStatisticsRequest
-- Returns:
- A Java Future containing the result of the GetUsageStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsageStatistics
default CompletableFuture<GetUsageStatisticsResponse> getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) 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 viaGetUsageStatisticsRequest.builder()
- Parameters:
getUsageStatisticsRequest
- AConsumer
that will call methods onGetUsageStatisticsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetUsageStatistics operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsageStatisticsPaginator
default GetUsageStatisticsPublisher getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) This is a variant of
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse response) { //... }; });
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.- Parameters:
getUsageStatisticsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsageStatisticsPaginator
default GetUsageStatisticsPublisher getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) This is a variant of
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse response) { //... }; });
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 viaGetUsageStatisticsRequest.builder()
- Parameters:
getUsageStatisticsRequest
- AConsumer
that will call methods onGetUsageStatisticsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsageTotals
default CompletableFuture<GetUsageTotalsResponse> getUsageTotals(GetUsageTotalsRequest getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.
- Parameters:
getUsageTotalsRequest
-- Returns:
- A Java Future containing the result of the GetUsageTotals operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getUsageTotals
default CompletableFuture<GetUsageTotalsResponse> getUsageTotals(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest) 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 viaGetUsageTotalsRequest.builder()
- Parameters:
getUsageTotalsRequest
- AConsumer
that will call methods onGetUsageTotalsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetUsageTotals operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAllowLists
default CompletableFuture<ListAllowListsResponse> listAllowLists(ListAllowListsRequest listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.
- Parameters:
listAllowListsRequest
-- Returns:
- A Java Future containing the result of the ListAllowLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAllowLists
default CompletableFuture<ListAllowListsResponse> listAllowLists(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) 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 viaListAllowListsRequest.builder()
- Parameters:
listAllowListsRequest
- AConsumer
that will call methods onListAllowListsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListAllowLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAllowListsPaginator
default ListAllowListsPublisher listAllowListsPaginator(ListAllowListsRequest listAllowListsRequest) This is a variant of
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListAllowListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response) { //... }; });
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.- Parameters:
listAllowListsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listAllowListsPaginator
default ListAllowListsPublisher listAllowListsPaginator(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) This is a variant of
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListAllowListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response) { //... }; });
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 viaListAllowListsRequest.builder()
- Parameters:
listAllowListsRequest
- AConsumer
that will call methods onListAllowListsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listClassificationJobs
default CompletableFuture<ListClassificationJobsResponse> listClassificationJobs(ListClassificationJobsRequest listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.
- Parameters:
listClassificationJobsRequest
-- Returns:
- A Java Future containing the result of the ListClassificationJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listClassificationJobs
default CompletableFuture<ListClassificationJobsResponse> listClassificationJobs(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) 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 viaListClassificationJobsRequest.builder()
- Parameters:
listClassificationJobsRequest
- AConsumer
that will call methods onListClassificationJobsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListClassificationJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listClassificationJobsPaginator
default ListClassificationJobsPublisher listClassificationJobsPaginator(ListClassificationJobsRequest listClassificationJobsRequest) This is a variant of
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse response) { //... }; });
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.- Parameters:
listClassificationJobsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listClassificationJobsPaginator
default ListClassificationJobsPublisher listClassificationJobsPaginator(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) This is a variant of
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse response) { //... }; });
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 viaListClassificationJobsRequest.builder()
- Parameters:
listClassificationJobsRequest
- AConsumer
that will call methods onListClassificationJobsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listClassificationScopes
default CompletableFuture<ListClassificationScopesResponse> listClassificationScopes(ListClassificationScopesRequest listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.
- Parameters:
listClassificationScopesRequest
-- Returns:
- A Java Future containing the result of the ListClassificationScopes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listClassificationScopes
default CompletableFuture<ListClassificationScopesResponse> listClassificationScopes(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) 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 viaListClassificationScopesRequest.builder()
- Parameters:
listClassificationScopesRequest
- AConsumer
that will call methods onListClassificationScopesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListClassificationScopes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listClassificationScopesPaginator
default ListClassificationScopesPublisher listClassificationScopesPaginator(ListClassificationScopesRequest listClassificationScopesRequest) This is a variant of
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response) { //... }; });
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.- Parameters:
listClassificationScopesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listClassificationScopesPaginator
default ListClassificationScopesPublisher listClassificationScopesPaginator(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) This is a variant of
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response) { //... }; });
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 viaListClassificationScopesRequest.builder()
- Parameters:
listClassificationScopesRequest
- AConsumer
that will call methods onListClassificationScopesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listCustomDataIdentifiers
default CompletableFuture<ListCustomDataIdentifiersResponse> listCustomDataIdentifiers(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) Retrieves a subset of information about all the custom data identifiers for an account.
- Parameters:
listCustomDataIdentifiersRequest
-- Returns:
- A Java Future containing the result of the ListCustomDataIdentifiers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomDataIdentifiers
default CompletableFuture<ListCustomDataIdentifiersResponse> listCustomDataIdentifiers(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) 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 viaListCustomDataIdentifiersRequest.builder()
- Parameters:
listCustomDataIdentifiersRequest
- AConsumer
that will call methods onListCustomDataIdentifiersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListCustomDataIdentifiers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomDataIdentifiersPaginator
default ListCustomDataIdentifiersPublisher listCustomDataIdentifiersPaginator(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) This is a variant of
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse response) { //... }; });
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.- Parameters:
listCustomDataIdentifiersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listCustomDataIdentifiersPaginator
default ListCustomDataIdentifiersPublisher listCustomDataIdentifiersPaginator(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) This is a variant of
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse response) { //... }; });
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 viaListCustomDataIdentifiersRequest.builder()
- Parameters:
listCustomDataIdentifiersRequest
- AConsumer
that will call methods onListCustomDataIdentifiersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindings
default CompletableFuture<ListFindingsResponse> listFindings(ListFindingsRequest listFindingsRequest) Retrieves a subset of information about one or more findings.
- Parameters:
listFindingsRequest
-- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindings
default CompletableFuture<ListFindingsResponse> listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) 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 viaListFindingsRequest.builder()
- Parameters:
listFindingsRequest
- AConsumer
that will call methods onListFindingsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFindings operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsFilters
default CompletableFuture<ListFindingsFiltersResponse> listFindingsFilters(ListFindingsFiltersRequest listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.
- Parameters:
listFindingsFiltersRequest
-- Returns:
- A Java Future containing the result of the ListFindingsFilters operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsFilters
default CompletableFuture<ListFindingsFiltersResponse> listFindingsFilters(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) 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 viaListFindingsFiltersRequest.builder()
- Parameters:
listFindingsFiltersRequest
- AConsumer
that will call methods onListFindingsFiltersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListFindingsFilters operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsFiltersPaginator
default ListFindingsFiltersPublisher listFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest) This is a variant of
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse response) { //... }; });
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.- Parameters:
listFindingsFiltersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsFiltersPaginator
default ListFindingsFiltersPublisher listFindingsFiltersPaginator(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) This is a variant of
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse response) { //... }; });
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 viaListFindingsFiltersRequest.builder()
- Parameters:
listFindingsFiltersRequest
- AConsumer
that will call methods onListFindingsFiltersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsPaginator
This is a variant of
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsResponse response) { //... }; });
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.- Parameters:
listFindingsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFindingsPaginator
default ListFindingsPublisher listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant of
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsResponse response) { //... }; });
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 viaListFindingsRequest.builder()
- Parameters:
listFindingsRequest
- AConsumer
that will call methods onListFindingsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInvitations
default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest) Retrieves information about the Amazon Macie membership invitations that were received by an account.
- Parameters:
listInvitationsRequest
-- Returns:
- A Java Future containing the result of the ListInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInvitations
default CompletableFuture<ListInvitationsResponse> listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) 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 viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListInvitations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInvitationsPaginator
default ListInvitationsPublisher listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) This is a variant of
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListInvitationsResponse response) { //... }; });
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.- Parameters:
listInvitationsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listInvitationsPaginator
default ListInvitationsPublisher listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant of
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListInvitationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListInvitationsResponse response) { //... }; });
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 viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedDataIdentifiers
default CompletableFuture<ListManagedDataIdentifiersResponse> listManagedDataIdentifiers(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
- Parameters:
listManagedDataIdentifiersRequest
-- Returns:
- A Java Future containing the result of the ListManagedDataIdentifiers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedDataIdentifiers
default CompletableFuture<ListManagedDataIdentifiersResponse> listManagedDataIdentifiers(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) 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 viaListManagedDataIdentifiersRequest.builder()
- Parameters:
listManagedDataIdentifiersRequest
- AConsumer
that will call methods onListManagedDataIdentifiersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListManagedDataIdentifiers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedDataIdentifiersPaginator
default ListManagedDataIdentifiersPublisher listManagedDataIdentifiersPaginator(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) This is a variant of
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response) { //... }; });
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.- Parameters:
listManagedDataIdentifiersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listManagedDataIdentifiersPaginator
default ListManagedDataIdentifiersPublisher listManagedDataIdentifiersPaginator(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) This is a variant of
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response) { //... }; });
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 viaListManagedDataIdentifiersRequest.builder()
- Parameters:
listManagedDataIdentifiersRequest
- AConsumer
that will call methods onListManagedDataIdentifiersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMembers
Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
- Parameters:
listMembersRequest
-- Returns:
- A Java Future containing the result of the ListMembers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMembers
default CompletableFuture<ListMembersResponse> listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) 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 viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListMembers operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMembersPaginator
This is a variant of
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListMembersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListMembersResponse response) { //... }; });
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.- Parameters:
listMembersRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listMembersPaginator
default ListMembersPublisher listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant of
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListMembersResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListMembersResponse response) { //... }; });
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 viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationAdminAccounts
default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
- Parameters:
listOrganizationAdminAccountsRequest
-- Returns:
- A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationAdminAccounts
default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) 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 viaListOrganizationAdminAccountsRequest.builder()
- Parameters:
listOrganizationAdminAccountsRequest
- AConsumer
that will call methods onListOrganizationAdminAccountsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationAdminAccountsPaginator
default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse response) { //... }; });
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.- Parameters:
listOrganizationAdminAccountsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listOrganizationAdminAccountsPaginator
default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse response) { //... }; });
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 viaListOrganizationAdminAccountsRequest.builder()
- Parameters:
listOrganizationAdminAccountsRequest
- AConsumer
that will call methods onListOrganizationAdminAccountsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listResourceProfileArtifacts
default CompletableFuture<ListResourceProfileArtifactsResponse> listResourceProfileArtifacts(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.
- Parameters:
listResourceProfileArtifactsRequest
-- Returns:
- A Java Future containing the result of the ListResourceProfileArtifacts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileArtifacts
default CompletableFuture<ListResourceProfileArtifactsResponse> listResourceProfileArtifacts(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) 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 viaListResourceProfileArtifactsRequest.builder()
- Parameters:
listResourceProfileArtifactsRequest
- AConsumer
that will call methods onListResourceProfileArtifactsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceProfileArtifacts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileArtifactsPaginator
default ListResourceProfileArtifactsPublisher listResourceProfileArtifactsPaginator(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) This is a variant of
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response) { //... }; });
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.- Parameters:
listResourceProfileArtifactsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileArtifactsPaginator
default ListResourceProfileArtifactsPublisher listResourceProfileArtifactsPaginator(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) This is a variant of
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response) { //... }; });
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 viaListResourceProfileArtifactsRequest.builder()
- Parameters:
listResourceProfileArtifactsRequest
- AConsumer
that will call methods onListResourceProfileArtifactsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileDetections
default CompletableFuture<ListResourceProfileDetectionsResponse> listResourceProfileDetections(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
- Parameters:
listResourceProfileDetectionsRequest
-- Returns:
- A Java Future containing the result of the ListResourceProfileDetections operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileDetections
default CompletableFuture<ListResourceProfileDetectionsResponse> listResourceProfileDetections(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) 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 viaListResourceProfileDetectionsRequest.builder()
- Parameters:
listResourceProfileDetectionsRequest
- AConsumer
that will call methods onListResourceProfileDetectionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListResourceProfileDetections operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileDetectionsPaginator
default ListResourceProfileDetectionsPublisher listResourceProfileDetectionsPaginator(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) This is a variant of
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response) { //... }; });
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.- Parameters:
listResourceProfileDetectionsRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
listResourceProfileDetectionsPaginator
default ListResourceProfileDetectionsPublisher listResourceProfileDetectionsPaginator(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) This is a variant of
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response) { //... }; });
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 viaListResourceProfileDetectionsRequest.builder()
- Parameters:
listResourceProfileDetectionsRequest
- AConsumer
that will call methods onListResourceProfileDetectionsRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
listSensitivityInspectionTemplates
default CompletableFuture<ListSensitivityInspectionTemplatesResponse> listSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) Retrieves a subset of information about the sensitivity inspection template for an account.
- Parameters:
listSensitivityInspectionTemplatesRequest
-- Returns:
- A Java Future containing the result of the ListSensitivityInspectionTemplates operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSensitivityInspectionTemplates
default CompletableFuture<ListSensitivityInspectionTemplatesResponse> listSensitivityInspectionTemplates(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) 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 viaListSensitivityInspectionTemplatesRequest.builder()
- Parameters:
listSensitivityInspectionTemplatesRequest
- AConsumer
that will call methods onListSensitivityInspectionTemplatesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListSensitivityInspectionTemplates operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSensitivityInspectionTemplatesPaginator
default ListSensitivityInspectionTemplatesPublisher listSensitivityInspectionTemplatesPaginator(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) This is a variant of
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response) { //... }; });
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.- Parameters:
listSensitivityInspectionTemplatesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listSensitivityInspectionTemplatesPaginator
default ListSensitivityInspectionTemplatesPublisher listSensitivityInspectionTemplatesPaginator(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) This is a variant of
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response) { //... }; });
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 viaListSensitivityInspectionTemplatesRequest.builder()
- Parameters:
listSensitivityInspectionTemplatesRequest
- AConsumer
that will call methods onListSensitivityInspectionTemplatesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) 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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putClassificationExportConfiguration
default CompletableFuture<PutClassificationExportConfigurationResponse> putClassificationExportConfiguration(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest) Creates or updates the configuration settings for storing data classification results.
- Parameters:
putClassificationExportConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutClassificationExportConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putClassificationExportConfiguration
default CompletableFuture<PutClassificationExportConfigurationResponse> putClassificationExportConfiguration(Consumer<PutClassificationExportConfigurationRequest.Builder> putClassificationExportConfigurationRequest) 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 viaPutClassificationExportConfigurationRequest.builder()
- Parameters:
putClassificationExportConfigurationRequest
- AConsumer
that will call methods onPutClassificationExportConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutClassificationExportConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFindingsPublicationConfiguration
default CompletableFuture<PutFindingsPublicationConfigurationResponse> putFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest) Updates the configuration settings for publishing findings to Security Hub.
- Parameters:
putFindingsPublicationConfigurationRequest
-- Returns:
- A Java Future containing the result of the PutFindingsPublicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putFindingsPublicationConfiguration
default CompletableFuture<PutFindingsPublicationConfigurationResponse> putFindingsPublicationConfiguration(Consumer<PutFindingsPublicationConfigurationRequest.Builder> putFindingsPublicationConfigurationRequest) 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 viaPutFindingsPublicationConfigurationRequest.builder()
- Parameters:
putFindingsPublicationConfigurationRequest
- AConsumer
that will call methods onPutFindingsPublicationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the PutFindingsPublicationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResources
default CompletableFuture<SearchResourcesResponse> searchResources(SearchResourcesRequest searchResourcesRequest) Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
- Parameters:
searchResourcesRequest
-- Returns:
- A Java Future containing the result of the SearchResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResources
default CompletableFuture<SearchResourcesResponse> searchResources(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) 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 viaSearchResourcesRequest.builder()
- Parameters:
searchResourcesRequest
- AConsumer
that will call methods onSearchResourcesRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the SearchResources operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResourcesPaginator
default SearchResourcesPublisher searchResourcesPaginator(SearchResourcesRequest searchResourcesRequest) This is a variant of
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.SearchResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.SearchResourcesResponse response) { //... }; });
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.- Parameters:
searchResourcesRequest
-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
searchResourcesPaginator
default SearchResourcesPublisher searchResourcesPaginator(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) This is a variant of
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
i.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper methodsoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.SearchResourcesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.SearchResourcesResponse response) { //... }; });
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 viaSearchResourcesRequest.builder()
- Parameters:
searchResourcesRequest
- AConsumer
that will call methods onSearchResourcesRequest.Builder
to create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) 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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
testCustomDataIdentifier
default CompletableFuture<TestCustomDataIdentifierResponse> testCustomDataIdentifier(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) Tests a custom data identifier.
- Parameters:
testCustomDataIdentifierRequest
-- Returns:
- A Java Future containing the result of the TestCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
testCustomDataIdentifier
default CompletableFuture<TestCustomDataIdentifierResponse> testCustomDataIdentifier(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest) Tests a custom data identifier.
This is a convenience which creates an instance of the
TestCustomDataIdentifierRequest.Builder
avoiding the need to create one manually viaTestCustomDataIdentifierRequest.builder()
- Parameters:
testCustomDataIdentifierRequest
- AConsumer
that will call methods onTestCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TestCustomDataIdentifier operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) 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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAllowList
default CompletableFuture<UpdateAllowListResponse> updateAllowList(UpdateAllowListRequest updateAllowListRequest) Updates the settings for an allow list.
- Parameters:
updateAllowListRequest
-- Returns:
- A Java Future containing the result of the UpdateAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
updateAllowList
default CompletableFuture<UpdateAllowListResponse> updateAllowList(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest) 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 viaUpdateAllowListRequest.builder()
- Parameters:
updateAllowListRequest
- AConsumer
that will call methods onUpdateAllowListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAllowList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
updateAutomatedDiscoveryConfiguration
default CompletableFuture<UpdateAutomatedDiscoveryConfigurationResponse> updateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest) Enables or disables automated sensitive data discovery for an account.
- Parameters:
updateAutomatedDiscoveryConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateAutomatedDiscoveryConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateAutomatedDiscoveryConfiguration
default CompletableFuture<UpdateAutomatedDiscoveryConfigurationResponse> updateAutomatedDiscoveryConfiguration(Consumer<UpdateAutomatedDiscoveryConfigurationRequest.Builder> updateAutomatedDiscoveryConfigurationRequest) 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 viaUpdateAutomatedDiscoveryConfigurationRequest.builder()
- Parameters:
updateAutomatedDiscoveryConfigurationRequest
- AConsumer
that will call methods onUpdateAutomatedDiscoveryConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateAutomatedDiscoveryConfiguration operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateClassificationJob
default CompletableFuture<UpdateClassificationJobResponse> updateClassificationJob(UpdateClassificationJobRequest updateClassificationJobRequest) Changes the status of a classification job.
- Parameters:
updateClassificationJobRequest
-- Returns:
- A Java Future containing the result of the UpdateClassificationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateClassificationJob
default CompletableFuture<UpdateClassificationJobResponse> updateClassificationJob(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest) 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 viaUpdateClassificationJobRequest.builder()
- Parameters:
updateClassificationJobRequest
- AConsumer
that will call methods onUpdateClassificationJobRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateClassificationJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateClassificationScope
default CompletableFuture<UpdateClassificationScopeResponse> updateClassificationScope(UpdateClassificationScopeRequest updateClassificationScopeRequest) Updates the classification scope settings for an account.
- Parameters:
updateClassificationScopeRequest
-- Returns:
- A Java Future containing the result of the UpdateClassificationScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
updateClassificationScope
default CompletableFuture<UpdateClassificationScopeResponse> updateClassificationScope(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest) 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 viaUpdateClassificationScopeRequest.builder()
- Parameters:
updateClassificationScopeRequest
- AConsumer
that will call methods onUpdateClassificationScopeRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateClassificationScope operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
updateFindingsFilter
default CompletableFuture<UpdateFindingsFilterResponse> updateFindingsFilter(UpdateFindingsFilterRequest updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.
- Parameters:
updateFindingsFilterRequest
-- Returns:
- A Java Future containing the result of the UpdateFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFindingsFilter
default CompletableFuture<UpdateFindingsFilterResponse> updateFindingsFilter(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest) 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 viaUpdateFindingsFilterRequest.builder()
- Parameters:
updateFindingsFilterRequest
- AConsumer
that will call methods onUpdateFindingsFilterRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateFindingsFilter operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMacieSession
default CompletableFuture<UpdateMacieSessionResponse> updateMacieSession(UpdateMacieSessionRequest updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
- Parameters:
updateMacieSessionRequest
-- Returns:
- A Java Future containing the result of the UpdateMacieSession operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMacieSession
default CompletableFuture<UpdateMacieSessionResponse> updateMacieSession(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest) 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 viaUpdateMacieSessionRequest.builder()
- Parameters:
updateMacieSessionRequest
- AConsumer
that will call methods onUpdateMacieSessionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateMacieSession operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMemberSession
default CompletableFuture<UpdateMemberSessionResponse> updateMemberSession(UpdateMemberSessionRequest updateMemberSessionRequest) Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
- Parameters:
updateMemberSessionRequest
-- Returns:
- A Java Future containing the result of the UpdateMemberSession operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateMemberSession
default CompletableFuture<UpdateMemberSessionResponse> updateMemberSession(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest) 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 viaUpdateMemberSessionRequest.builder()
- Parameters:
updateMemberSessionRequest
- AConsumer
that will call methods onUpdateMemberSessionRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateMemberSession operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOrganizationConfiguration
default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) Updates the Amazon Macie configuration settings for an organization in Organizations.
- Parameters:
updateOrganizationConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateOrganizationConfiguration
default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) 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 viaUpdateOrganizationConfigurationRequest.builder()
- Parameters:
updateOrganizationConfigurationRequest
- AConsumer
that will call methods onUpdateOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request failed because the specified resource wasn't found.
- ThrottlingException The request failed because you sent too many requests during a certain amount of time.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateResourceProfile
default CompletableFuture<UpdateResourceProfileResponse> updateResourceProfile(UpdateResourceProfileRequest updateResourceProfileRequest) Updates the sensitivity score for an S3 bucket.
- Parameters:
updateResourceProfileRequest
-- Returns:
- A Java Future containing the result of the UpdateResourceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
updateResourceProfile
default CompletableFuture<UpdateResourceProfileResponse> updateResourceProfile(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest) 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 viaUpdateResourceProfileRequest.builder()
- Parameters:
updateResourceProfileRequest
- AConsumer
that will call methods onUpdateResourceProfileRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResourceProfile operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
updateResourceProfileDetections
default CompletableFuture<UpdateResourceProfileDetectionsResponse> updateResourceProfileDetections(UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest) Updates the sensitivity scoring settings for an S3 bucket.
- Parameters:
updateResourceProfileDetectionsRequest
-- Returns:
- A Java Future containing the result of the UpdateResourceProfileDetections operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
updateResourceProfileDetections
default CompletableFuture<UpdateResourceProfileDetectionsResponse> updateResourceProfileDetections(Consumer<UpdateResourceProfileDetectionsRequest.Builder> updateResourceProfileDetectionsRequest) 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 viaUpdateResourceProfileDetectionsRequest.builder()
- Parameters:
updateResourceProfileDetectionsRequest
- AConsumer
that will call methods onUpdateResourceProfileDetectionsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateResourceProfileDetections operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
- InternalServerException The request failed due to an unknown internal server error, exception, or failure.
- ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
- AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
- ResourceNotFoundException The request 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.
- See Also:
-
updateRevealConfiguration
default CompletableFuture<UpdateRevealConfigurationResponse> updateRevealConfiguration(UpdateRevealConfigurationRequest updateRevealConfigurationRequest) Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
- Parameters:
updateRevealConfigurationRequest
-- Returns:
- A Java Future containing the result of the UpdateRevealConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateRevealConfiguration
default CompletableFuture<UpdateRevealConfigurationResponse> updateRevealConfiguration(Consumer<UpdateRevealConfigurationRequest.Builder> updateRevealConfigurationRequest) 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 viaUpdateRevealConfigurationRequest.builder()
- Parameters:
updateRevealConfigurationRequest
- AConsumer
that will call methods onUpdateRevealConfigurationRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateRevealConfiguration operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- 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.
- See Also:
-
updateSensitivityInspectionTemplate
default CompletableFuture<UpdateSensitivityInspectionTemplateResponse> updateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest) Updates the settings for the sensitivity inspection template for an account.
- Parameters:
updateSensitivityInspectionTemplateRequest
-- Returns:
- A Java Future containing the result of the UpdateSensitivityInspectionTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
updateSensitivityInspectionTemplate
default CompletableFuture<UpdateSensitivityInspectionTemplateResponse> updateSensitivityInspectionTemplate(Consumer<UpdateSensitivityInspectionTemplateRequest.Builder> updateSensitivityInspectionTemplateRequest) 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 viaUpdateSensitivityInspectionTemplateRequest.builder()
- Parameters:
updateSensitivityInspectionTemplateRequest
- AConsumer
that will call methods onUpdateSensitivityInspectionTemplateRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateSensitivityInspectionTemplate operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()
to retrieve the underlying exception.- ResourceNotFoundException The request 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.
- See Also:
-
waiter
Create an instance ofMacie2AsyncWaiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
Macie2AsyncWaiter
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aMacie2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMacie2AsyncClient
.
-