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
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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.batchUpdateAutomatedDiscoveryAccounts(Consumer<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder> batchUpdateAutomatedDiscoveryAccountsRequest) Changes the status of automated sensitive data discovery for one or more accounts.batchUpdateAutomatedDiscoveryAccounts(BatchUpdateAutomatedDiscoveryAccountsRequest batchUpdateAutomatedDiscoveryAccountsRequest) Changes the status of automated sensitive data discovery for one or more accounts.static Macie2AsyncClientBuilderbuilder()Create a builder that can be used to configure and create aMacie2AsyncClient.static Macie2AsyncClientcreate()Create aMacie2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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 DescribeBucketsPublisherdescribeBucketsPaginator(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) This is a variant ofdescribeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)operation.default DescribeBucketsPublisherdescribeBucketsPaginator(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 organization or standalone account.getAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest) Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone 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 GetUsageStatisticsPublishergetUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)operation.default GetUsageStatisticsPublishergetUsageStatisticsPaginator(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 ListAllowListsPublisherlistAllowListsPaginator(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) This is a variant oflistAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)operation.default ListAllowListsPublisherlistAllowListsPaginator(ListAllowListsRequest listAllowListsRequest) This is a variant oflistAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)operation.listAutomatedDiscoveryAccounts(Consumer<ListAutomatedDiscoveryAccountsRequest.Builder> listAutomatedDiscoveryAccountsRequest) Retrieves the status of automated sensitive data discovery for one or more accounts.listAutomatedDiscoveryAccounts(ListAutomatedDiscoveryAccountsRequest listAutomatedDiscoveryAccountsRequest) Retrieves the status of automated sensitive data discovery for one or more accounts.listAutomatedDiscoveryAccountsPaginator(Consumer<ListAutomatedDiscoveryAccountsRequest.Builder> listAutomatedDiscoveryAccountsRequest) This is a variant oflistAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)operation.listAutomatedDiscoveryAccountsPaginator(ListAutomatedDiscoveryAccountsRequest listAutomatedDiscoveryAccountsRequest) This is a variant oflistAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)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 ListClassificationJobsPublisherlistClassificationJobsPaginator(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)operation.default ListClassificationJobsPublisherlistClassificationJobsPaginator(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 ListFindingsFiltersPublisherlistFindingsFiltersPaginator(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)operation.default ListFindingsFiltersPublisherlistFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)operation.default ListFindingsPublisherlistFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)operation.default ListFindingsPublisherlistFindingsPaginator(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 Amazon Macie membership invitations that were received by an account.default CompletableFuture<ListInvitationsResponse> listInvitations(ListInvitationsRequest listInvitationsRequest) Retrieves information about Amazon Macie membership invitations that were received by an account.default ListInvitationsPublisherlistInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)operation.default ListInvitationsPublisherlistInvitationsPaginator(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 ListMembersPublisherlistMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)operation.default ListMembersPublisherlistMembersPaginator(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 Amazon Macie selected from an S3 bucket for automated sensitive data discovery.listResourceProfileArtifacts(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) Retrieves information about objects that Amazon Macie 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) Adds or updates the configuration settings for storing data classification results.putClassificationExportConfiguration(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest) Adds 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 SearchResourcesPublishersearchResourcesPaginator(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)operation.default SearchResourcesPublishersearchResourcesPaginator(SearchResourcesRequest searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)operation.default Macie2ServiceClientConfigurationThe 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 criteria for a custom data identifier.testCustomDataIdentifier(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) Tests criteria for 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) Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.updateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest) Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone 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 Macie2AsyncWaiterwaiter()Create an instance ofMacie2AsyncWaiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods 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.Builderavoiding the need to create one manually viaAcceptInvitationRequest.builder()- Parameters:
acceptInvitationRequest- AConsumerthat will call methods onAcceptInvitationRequest.Builderto 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.Builderavoiding the need to create one manually viaBatchGetCustomDataIdentifiersRequest.builder()- Parameters:
batchGetCustomDataIdentifiersRequest- AConsumerthat will call methods onBatchGetCustomDataIdentifiersRequest.Builderto 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:
-
batchUpdateAutomatedDiscoveryAccounts
default CompletableFuture<BatchUpdateAutomatedDiscoveryAccountsResponse> batchUpdateAutomatedDiscoveryAccounts(BatchUpdateAutomatedDiscoveryAccountsRequest batchUpdateAutomatedDiscoveryAccountsRequest) Changes the status of automated sensitive data discovery for one or more accounts.
- Parameters:
batchUpdateAutomatedDiscoveryAccountsRequest-- Returns:
- A Java Future containing the result of the BatchUpdateAutomatedDiscoveryAccounts 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.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- 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:
-
batchUpdateAutomatedDiscoveryAccounts
default CompletableFuture<BatchUpdateAutomatedDiscoveryAccountsResponse> batchUpdateAutomatedDiscoveryAccounts(Consumer<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder> batchUpdateAutomatedDiscoveryAccountsRequest) Changes the status of automated sensitive data discovery for one or more accounts.
This is a convenience which creates an instance of the
BatchUpdateAutomatedDiscoveryAccountsRequest.Builderavoiding the need to create one manually viaBatchUpdateAutomatedDiscoveryAccountsRequest.builder()- Parameters:
batchUpdateAutomatedDiscoveryAccountsRequest- AConsumerthat will call methods onBatchUpdateAutomatedDiscoveryAccountsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchUpdateAutomatedDiscoveryAccounts 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.
- ConflictException The request failed because it conflicts with the current state of the specified resource.
- 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:
-
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.Builderavoiding the need to create one manually viaCreateAllowListRequest.builder()- Parameters:
createAllowListRequest- AConsumerthat will call methods onCreateAllowListRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateClassificationJobRequest.builder()- Parameters:
createClassificationJobRequest- AConsumerthat will call methods onCreateClassificationJobRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateCustomDataIdentifierRequest.builder()- Parameters:
createCustomDataIdentifierRequest- AConsumerthat will call methods onCreateCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateFindingsFilterRequest.builder()- Parameters:
createFindingsFilterRequest- AConsumerthat will call methods onCreateFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateInvitationsRequest.builder()- Parameters:
createInvitationsRequest- AConsumerthat will call methods onCreateInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateMemberRequest.builder()- Parameters:
createMemberRequest- AConsumerthat will call methods onCreateMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSampleFindingsRequest.builder()- Parameters:
createSampleFindingsRequest- AConsumerthat will call methods onCreateSampleFindingsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeclineInvitationsRequest.builder()- Parameters:
declineInvitationsRequest- AConsumerthat will call methods onDeclineInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteAllowListRequest.builder()- Parameters:
deleteAllowListRequest- AConsumerthat will call methods onDeleteAllowListRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCustomDataIdentifierRequest.builder()- Parameters:
deleteCustomDataIdentifierRequest- AConsumerthat will call methods onDeleteCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteFindingsFilterRequest.builder()- Parameters:
deleteFindingsFilterRequest- AConsumerthat will call methods onDeleteFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteInvitationsRequest.builder()- Parameters:
deleteInvitationsRequest- AConsumerthat will call methods onDeleteInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteMemberRequest.builder()- Parameters:
deleteMemberRequest- AConsumerthat will call methods onDeleteMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBucketsRequest.builder()- Parameters:
describeBucketsRequest- AConsumerthat will call methods onDescribeBucketsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaDescribeBucketsRequest.builder()- Parameters:
describeBucketsRequest- AConsumerthat will call methods onDescribeBucketsRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeClassificationJobRequest.builder()- Parameters:
describeClassificationJobRequest- AConsumerthat will call methods onDescribeClassificationJobRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeOrganizationConfigurationRequest.builder()- Parameters:
describeOrganizationConfigurationRequest- AConsumerthat will call methods onDescribeOrganizationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaDisableMacieRequest.builder()- Parameters:
disableMacieRequest- AConsumerthat will call methods onDisableMacieRequest.Builderto 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.Builderavoiding the need to create one manually viaDisableOrganizationAdminAccountRequest.builder()- Parameters:
disableOrganizationAdminAccountRequest- AConsumerthat will call methods onDisableOrganizationAdminAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaDisassociateFromAdministratorAccountRequest.builder()- Parameters:
disassociateFromAdministratorAccountRequest- AConsumerthat will call methods onDisassociateFromAdministratorAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaDisassociateFromMasterAccountRequest.builder()- Parameters:
disassociateFromMasterAccountRequest- AConsumerthat will call methods onDisassociateFromMasterAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaDisassociateMemberRequest.builder()- Parameters:
disassociateMemberRequest- AConsumerthat will call methods onDisassociateMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaEnableMacieRequest.builder()- Parameters:
enableMacieRequest- AConsumerthat will call methods onEnableMacieRequest.Builderto 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.Builderavoiding the need to create one manually viaEnableOrganizationAdminAccountRequest.builder()- Parameters:
enableOrganizationAdminAccountRequest- AConsumerthat will call methods onEnableOrganizationAdminAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAdministratorAccountRequest.builder()- Parameters:
getAdministratorAccountRequest- AConsumerthat will call methods onGetAdministratorAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAllowListRequest.builder()- Parameters:
getAllowListRequest- AConsumerthat will call methods onGetAllowListRequest.Builderto 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 organization or standalone 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 organization or standalone account.
This is a convenience which creates an instance of the
GetAutomatedDiscoveryConfigurationRequest.Builderavoiding the need to create one manually viaGetAutomatedDiscoveryConfigurationRequest.builder()- Parameters:
getAutomatedDiscoveryConfigurationRequest- AConsumerthat will call methods onGetAutomatedDiscoveryConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetBucketStatisticsRequest.builder()- Parameters:
getBucketStatisticsRequest- AConsumerthat will call methods onGetBucketStatisticsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetClassificationExportConfigurationRequest.builder()- Parameters:
getClassificationExportConfigurationRequest- AConsumerthat will call methods onGetClassificationExportConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetClassificationScopeRequest.builder()- Parameters:
getClassificationScopeRequest- AConsumerthat will call methods onGetClassificationScopeRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCustomDataIdentifierRequest.builder()- Parameters:
getCustomDataIdentifierRequest- AConsumerthat will call methods onGetCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingStatisticsRequest.builder()- Parameters:
getFindingStatisticsRequest- AConsumerthat will call methods onGetFindingStatisticsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingsRequest.builder()- Parameters:
getFindingsRequest- AConsumerthat will call methods onGetFindingsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingsFilterRequest.builder()- Parameters:
getFindingsFilterRequest- AConsumerthat will call methods onGetFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingsPublicationConfigurationRequest.builder()- Parameters:
getFindingsPublicationConfigurationRequest- AConsumerthat will call methods onGetFindingsPublicationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetInvitationsCountRequest.builder()- Parameters:
getInvitationsCountRequest- AConsumerthat will call methods onGetInvitationsCountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetMacieSessionRequest.builder()- Parameters:
getMacieSessionRequest- AConsumerthat will call methods onGetMacieSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaGetMasterAccountRequest.builder()- Parameters:
getMasterAccountRequest- AConsumerthat will call methods onGetMasterAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetMemberRequest.builder()- Parameters:
getMemberRequest- AConsumerthat will call methods onGetMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaGetResourceProfileRequest.builder()- Parameters:
getResourceProfileRequest- AConsumerthat will call methods onGetResourceProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaGetRevealConfigurationRequest.builder()- Parameters:
getRevealConfigurationRequest- AConsumerthat will call methods onGetRevealConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSensitiveDataOccurrencesRequest.builder()- Parameters:
getSensitiveDataOccurrencesRequest- AConsumerthat will call methods onGetSensitiveDataOccurrencesRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSensitiveDataOccurrencesAvailabilityRequest.builder()- Parameters:
getSensitiveDataOccurrencesAvailabilityRequest- AConsumerthat will call methods onGetSensitiveDataOccurrencesAvailabilityRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSensitivityInspectionTemplateRequest.builder()- Parameters:
getSensitivityInspectionTemplateRequest- AConsumerthat will call methods onGetSensitivityInspectionTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetUsageStatisticsRequest.builder()- Parameters:
getUsageStatisticsRequest- AConsumerthat will call methods onGetUsageStatisticsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaGetUsageStatisticsRequest.builder()- Parameters:
getUsageStatisticsRequest- AConsumerthat will call methods onGetUsageStatisticsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetUsageTotalsRequest.builder()- Parameters:
getUsageTotalsRequest- AConsumerthat will call methods onGetUsageTotalsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAllowListsRequest.builder()- Parameters:
listAllowListsRequest- AConsumerthat will call methods onListAllowListsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListAllowListsRequest.builder()- Parameters:
listAllowListsRequest- AConsumerthat will call methods onListAllowListsRequest.Builderto 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:
-
listAutomatedDiscoveryAccounts
default CompletableFuture<ListAutomatedDiscoveryAccountsResponse> listAutomatedDiscoveryAccounts(ListAutomatedDiscoveryAccountsRequest listAutomatedDiscoveryAccountsRequest) Retrieves the status of automated sensitive data discovery for one or more accounts.
- Parameters:
listAutomatedDiscoveryAccountsRequest-- Returns:
- A Java Future containing the result of the ListAutomatedDiscoveryAccounts 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:
-
listAutomatedDiscoveryAccounts
default CompletableFuture<ListAutomatedDiscoveryAccountsResponse> listAutomatedDiscoveryAccounts(Consumer<ListAutomatedDiscoveryAccountsRequest.Builder> listAutomatedDiscoveryAccountsRequest) Retrieves the status of automated sensitive data discovery for one or more accounts.
This is a convenience which creates an instance of the
ListAutomatedDiscoveryAccountsRequest.Builderavoiding the need to create one manually viaListAutomatedDiscoveryAccountsRequest.builder()- Parameters:
listAutomatedDiscoveryAccountsRequest- AConsumerthat will call methods onListAutomatedDiscoveryAccountsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAutomatedDiscoveryAccounts 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:
-
listAutomatedDiscoveryAccountsPaginator
default ListAutomatedDiscoveryAccountsPublisher listAutomatedDiscoveryAccountsPaginator(ListAutomatedDiscoveryAccountsRequest listAutomatedDiscoveryAccountsRequest) This is a variant of
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsPublisher publisher = client.listAutomatedDiscoveryAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsPublisher publisher = client.listAutomatedDiscoveryAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsResponse 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
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)operation.- Parameters:
listAutomatedDiscoveryAccountsRequest-- 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:
-
listAutomatedDiscoveryAccountsPaginator
default ListAutomatedDiscoveryAccountsPublisher listAutomatedDiscoveryAccountsPaginator(Consumer<ListAutomatedDiscoveryAccountsRequest.Builder> listAutomatedDiscoveryAccountsRequest) This is a variant of
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsPublisher publisher = client.listAutomatedDiscoveryAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsPublisher publisher = client.listAutomatedDiscoveryAccountsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsResponse 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
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)operation.
This is a convenience which creates an instance of the
ListAutomatedDiscoveryAccountsRequest.Builderavoiding the need to create one manually viaListAutomatedDiscoveryAccountsRequest.builder()- Parameters:
listAutomatedDiscoveryAccountsRequest- AConsumerthat will call methods onListAutomatedDiscoveryAccountsRequest.Builderto 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:
-
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.Builderavoiding the need to create one manually viaListClassificationJobsRequest.builder()- Parameters:
listClassificationJobsRequest- AConsumerthat will call methods onListClassificationJobsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListClassificationJobsRequest.builder()- Parameters:
listClassificationJobsRequest- AConsumerthat will call methods onListClassificationJobsRequest.Builderto 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.Builderavoiding the need to create one manually viaListClassificationScopesRequest.builder()- Parameters:
listClassificationScopesRequest- AConsumerthat will call methods onListClassificationScopesRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListClassificationScopesRequest.builder()- Parameters:
listClassificationScopesRequest- AConsumerthat will call methods onListClassificationScopesRequest.Builderto 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.Builderavoiding the need to create one manually viaListCustomDataIdentifiersRequest.builder()- Parameters:
listCustomDataIdentifiersRequest- AConsumerthat will call methods onListCustomDataIdentifiersRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListCustomDataIdentifiersRequest.builder()- Parameters:
listCustomDataIdentifiersRequest- AConsumerthat will call methods onListCustomDataIdentifiersRequest.Builderto 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.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto 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.Builderavoiding the need to create one manually viaListFindingsFiltersRequest.builder()- Parameters:
listFindingsFiltersRequest- AConsumerthat will call methods onListFindingsFiltersRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListFindingsFiltersRequest.builder()- Parameters:
listFindingsFiltersRequest- AConsumerthat will call methods onListFindingsFiltersRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto 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 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 Amazon Macie membership invitations that were received by an account.
This is a convenience which creates an instance of the
ListInvitationsRequest.Builderavoiding the need to create one manually viaListInvitationsRequest.builder()- Parameters:
listInvitationsRequest- AConsumerthat will call methods onListInvitationsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListInvitationsRequest.builder()- Parameters:
listInvitationsRequest- AConsumerthat will call methods onListInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListManagedDataIdentifiersRequest.builder()- Parameters:
listManagedDataIdentifiersRequest- AConsumerthat will call methods onListManagedDataIdentifiersRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListManagedDataIdentifiersRequest.builder()- Parameters:
listManagedDataIdentifiersRequest- AConsumerthat will call methods onListManagedDataIdentifiersRequest.Builderto 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.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto 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.Builderavoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()- Parameters:
listOrganizationAdminAccountsRequest- AConsumerthat will call methods onListOrganizationAdminAccountsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()- Parameters:
listOrganizationAdminAccountsRequest- AConsumerthat will call methods onListOrganizationAdminAccountsRequest.Builderto 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 Amazon Macie 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 Amazon Macie selected from an S3 bucket for automated sensitive data discovery.
This is a convenience which creates an instance of the
ListResourceProfileArtifactsRequest.Builderavoiding the need to create one manually viaListResourceProfileArtifactsRequest.builder()- Parameters:
listResourceProfileArtifactsRequest- AConsumerthat will call methods onListResourceProfileArtifactsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListResourceProfileArtifactsRequest.builder()- Parameters:
listResourceProfileArtifactsRequest- AConsumerthat will call methods onListResourceProfileArtifactsRequest.Builderto 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.Builderavoiding the need to create one manually viaListResourceProfileDetectionsRequest.builder()- Parameters:
listResourceProfileDetectionsRequest- AConsumerthat will call methods onListResourceProfileDetectionsRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListResourceProfileDetectionsRequest.builder()- Parameters:
listResourceProfileDetectionsRequest- AConsumerthat will call methods onListResourceProfileDetectionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSensitivityInspectionTemplatesRequest.builder()- Parameters:
listSensitivityInspectionTemplatesRequest- AConsumerthat will call methods onListSensitivityInspectionTemplatesRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListSensitivityInspectionTemplatesRequest.builder()- Parameters:
listSensitivityInspectionTemplatesRequest- AConsumerthat will call methods onListSensitivityInspectionTemplatesRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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) Adds 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) Adds or updates the configuration settings for storing data classification results.
This is a convenience which creates an instance of the
PutClassificationExportConfigurationRequest.Builderavoiding the need to create one manually viaPutClassificationExportConfigurationRequest.builder()- Parameters:
putClassificationExportConfigurationRequest- AConsumerthat will call methods onPutClassificationExportConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaPutFindingsPublicationConfigurationRequest.builder()- Parameters:
putFindingsPublicationConfigurationRequest- AConsumerthat will call methods onPutFindingsPublicationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaSearchResourcesRequest.builder()- Parameters:
searchResourcesRequest- AConsumerthat will call methods onSearchResourcesRequest.Builderto 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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaSearchResourcesRequest.builder()- Parameters:
searchResourcesRequest- AConsumerthat will call methods onSearchResourcesRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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 criteria for 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 criteria for a custom data identifier.
This is a convenience which creates an instance of the
TestCustomDataIdentifierRequest.Builderavoiding the need to create one manually viaTestCustomDataIdentifierRequest.builder()- Parameters:
testCustomDataIdentifierRequest- AConsumerthat will call methods onTestCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateAllowListRequest.builder()- Parameters:
updateAllowListRequest- AConsumerthat will call methods onUpdateAllowListRequest.Builderto 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) Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone 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) Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
This is a convenience which creates an instance of the
UpdateAutomatedDiscoveryConfigurationRequest.Builderavoiding the need to create one manually viaUpdateAutomatedDiscoveryConfigurationRequest.builder()- Parameters:
updateAutomatedDiscoveryConfigurationRequest- AConsumerthat will call methods onUpdateAutomatedDiscoveryConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateClassificationJobRequest.builder()- Parameters:
updateClassificationJobRequest- AConsumerthat will call methods onUpdateClassificationJobRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateClassificationScopeRequest.builder()- Parameters:
updateClassificationScopeRequest- AConsumerthat will call methods onUpdateClassificationScopeRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateFindingsFilterRequest.builder()- Parameters:
updateFindingsFilterRequest- AConsumerthat will call methods onUpdateFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateMacieSessionRequest.builder()- Parameters:
updateMacieSessionRequest- AConsumerthat will call methods onUpdateMacieSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateMemberSessionRequest.builder()- Parameters:
updateMemberSessionRequest- AConsumerthat will call methods onUpdateMemberSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateOrganizationConfigurationRequest.builder()- Parameters:
updateOrganizationConfigurationRequest- AConsumerthat will call methods onUpdateOrganizationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateResourceProfileRequest.builder()- Parameters:
updateResourceProfileRequest- AConsumerthat will call methods onUpdateResourceProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateResourceProfileDetectionsRequest.builder()- Parameters:
updateResourceProfileDetectionsRequest- AConsumerthat will call methods onUpdateResourceProfileDetectionsRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateRevealConfigurationRequest.builder()- Parameters:
updateRevealConfigurationRequest- AConsumerthat will call methods onUpdateRevealConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSensitivityInspectionTemplateRequest.builder()- Parameters:
updateSensitivityInspectionTemplateRequest- AConsumerthat will call methods onUpdateSensitivityInspectionTemplateRequest.Builderto 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 ofMacie2AsyncWaiterusing 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMacie2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMacie2AsyncClient.
-