Interface Macie2Client
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Amazon Macie
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptInvitationResponse
acceptInvitation
(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Accepts an Amazon Macie membership invitation that was received from a specific account.default AcceptInvitationResponse
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 Macie2ClientBuilder
builder()
Create a builder that can be used to configure and create aMacie2Client
.static Macie2Client
create()
Create aMacie2Client
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateAllowListResponse
createAllowList
(Consumer<CreateAllowListRequest.Builder> createAllowListRequest) Creates and defines the settings for an allow list.default CreateAllowListResponse
createAllowList
(CreateAllowListRequest createAllowListRequest) Creates and defines the settings for an allow list.default CreateClassificationJobResponse
createClassificationJob
(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest) Creates and defines the settings for a classification job.default CreateClassificationJobResponse
createClassificationJob
(CreateClassificationJobRequest createClassificationJobRequest) Creates and defines the settings for a classification job.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.default CreateFindingsFilterResponse
createFindingsFilter
(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.default CreateFindingsFilterResponse
createFindingsFilter
(CreateFindingsFilterRequest createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.default CreateInvitationsResponse
createInvitations
(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.default CreateInvitationsResponse
createInvitations
(CreateInvitationsRequest createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.default CreateMemberResponse
createMember
(Consumer<CreateMemberRequest.Builder> createMemberRequest) Associates an account with an Amazon Macie administrator account.default CreateMemberResponse
createMember
(CreateMemberRequest createMemberRequest) Associates an account with an Amazon Macie administrator account.default CreateSampleFindingsResponse
createSampleFindings
(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) Creates sample findings.default CreateSampleFindingsResponse
createSampleFindings
(CreateSampleFindingsRequest createSampleFindingsRequest) Creates sample findings.default DeclineInvitationsResponse
declineInvitations
(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.default DeclineInvitationsResponse
declineInvitations
(DeclineInvitationsRequest declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.default DeleteAllowListResponse
deleteAllowList
(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest) Deletes an allow list.default DeleteAllowListResponse
deleteAllowList
(DeleteAllowListRequest deleteAllowListRequest) Deletes an allow list.deleteCustomDataIdentifier
(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest) Soft deletes a custom data identifier.deleteCustomDataIdentifier
(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest) Soft deletes a custom data identifier.default DeleteFindingsFilterResponse
deleteFindingsFilter
(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest) Deletes a findings filter.default DeleteFindingsFilterResponse
deleteFindingsFilter
(DeleteFindingsFilterRequest deleteFindingsFilterRequest) Deletes a findings filter.default DeleteInvitationsResponse
deleteInvitations
(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.default DeleteInvitationsResponse
deleteInvitations
(DeleteInvitationsRequest deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.default DeleteMemberResponse
deleteMember
(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.default DeleteMemberResponse
deleteMember
(DeleteMemberRequest deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.default DescribeBucketsResponse
describeBuckets
(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.default DescribeBucketsResponse
describeBuckets
(DescribeBucketsRequest describeBucketsRequest) Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.default DescribeBucketsIterable
describeBucketsPaginator
(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) This is a variant ofdescribeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation.default DescribeBucketsIterable
describeBucketsPaginator
(DescribeBucketsRequest describeBucketsRequest) This is a variant ofdescribeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation.describeClassificationJob
(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest) Retrieves the status and settings for a classification job.describeClassificationJob
(DescribeClassificationJobRequest describeClassificationJobRequest) Retrieves the status and settings for a classification job.describeOrganizationConfiguration
(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) Retrieves the Amazon Macie configuration settings for an organization in Organizations.describeOrganizationConfiguration
(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) Retrieves the Amazon Macie configuration settings for an organization in Organizations.default DisableMacieResponse
disableMacie
(Consumer<DisableMacieRequest.Builder> disableMacieRequest) Disables Amazon Macie and deletes all settings and resources for a Macie account.default DisableMacieResponse
disableMacie
(DisableMacieRequest disableMacieRequest) Disables Amazon Macie and deletes all settings and resources for a Macie account.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.default DisassociateMemberResponse
disassociateMember
(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.default DisassociateMemberResponse
disassociateMember
(DisassociateMemberRequest disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.default EnableMacieResponse
enableMacie
(Consumer<EnableMacieRequest.Builder> enableMacieRequest) Enables Amazon Macie and specifies the configuration settings for a Macie account.default EnableMacieResponse
enableMacie
(EnableMacieRequest enableMacieRequest) Enables Amazon Macie and specifies the configuration settings for a Macie account.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.default GetAdministratorAccountResponse
getAdministratorAccount
(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.default GetAdministratorAccountResponse
getAdministratorAccount
(GetAdministratorAccountRequest getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.default GetAllowListResponse
getAllowList
(Consumer<GetAllowListRequest.Builder> getAllowListRequest) Retrieves the settings and status of an allow list.default GetAllowListResponse
getAllowList
(GetAllowListRequest getAllowListRequest) Retrieves the settings and status of an allow list.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.default GetBucketStatisticsResponse
getBucketStatistics
(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest) Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.default GetBucketStatisticsResponse
getBucketStatistics
(GetBucketStatisticsRequest getBucketStatisticsRequest) Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.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.default GetClassificationScopeResponse
getClassificationScope
(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest) Retrieves the classification scope settings for an account.default GetClassificationScopeResponse
getClassificationScope
(GetClassificationScopeRequest getClassificationScopeRequest) Retrieves the classification scope settings for an account.default GetCustomDataIdentifierResponse
getCustomDataIdentifier
(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.default GetCustomDataIdentifierResponse
getCustomDataIdentifier
(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.default GetFindingsResponse
getFindings
(Consumer<GetFindingsRequest.Builder> getFindingsRequest) Retrieves the details of one or more findings.default GetFindingsResponse
getFindings
(GetFindingsRequest getFindingsRequest) Retrieves the details of one or more findings.default GetFindingsFilterResponse
getFindingsFilter
(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest) Retrieves the criteria and other settings for a findings filter.default GetFindingsFilterResponse
getFindingsFilter
(GetFindingsFilterRequest getFindingsFilterRequest) Retrieves the criteria and other settings for a findings filter.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.default GetFindingStatisticsResponse
getFindingStatistics
(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.default GetFindingStatisticsResponse
getFindingStatistics
(GetFindingStatisticsRequest getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.default GetInvitationsCountResponse
getInvitationsCount
(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.default GetInvitationsCountResponse
getInvitationsCount
(GetInvitationsCountRequest getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.default GetMacieSessionResponse
getMacieSession
(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.default GetMacieSessionResponse
getMacieSession
(GetMacieSessionRequest getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.default GetMasterAccountResponse
getMasterAccount
(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account.default GetMasterAccountResponse
getMasterAccount
(GetMasterAccountRequest getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account.default GetMemberResponse
getMember
(Consumer<GetMemberRequest.Builder> getMemberRequest) Retrieves information about an account that's associated with an Amazon Macie administrator account.default GetMemberResponse
getMember
(GetMemberRequest getMemberRequest) Retrieves information about an account that's associated with an Amazon Macie administrator account.default GetResourceProfileResponse
getResourceProfile
(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.default GetResourceProfileResponse
getResourceProfile
(GetResourceProfileRequest getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.default GetRevealConfigurationResponse
getRevealConfiguration
(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest) Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.default GetRevealConfigurationResponse
getRevealConfiguration
(GetRevealConfigurationRequest getRevealConfigurationRequest) Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.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.default GetUsageStatisticsResponse
getUsageStatistics
(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.default GetUsageStatisticsResponse
getUsageStatistics
(GetUsageStatisticsRequest getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.default GetUsageStatisticsIterable
getUsageStatisticsPaginator
(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.default GetUsageStatisticsIterable
getUsageStatisticsPaginator
(GetUsageStatisticsRequest getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.default GetUsageTotalsResponse
getUsageTotals
(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.default GetUsageTotalsResponse
getUsageTotals
(GetUsageTotalsRequest getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.default ListAllowListsResponse
listAllowLists
(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.default ListAllowListsResponse
listAllowLists
(ListAllowListsRequest listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.default ListAllowListsIterable
listAllowListsPaginator
(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) This is a variant oflistAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation.default ListAllowListsIterable
listAllowListsPaginator
(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.default ListClassificationJobsResponse
listClassificationJobs
(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.default ListClassificationJobsResponse
listClassificationJobs
(ListClassificationJobsRequest listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.default ListClassificationJobsIterable
listClassificationJobsPaginator
(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.default ListClassificationJobsIterable
listClassificationJobsPaginator
(ListClassificationJobsRequest listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.default ListClassificationScopesResponse
listClassificationScopes
(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.default ListClassificationScopesResponse
listClassificationScopes
(ListClassificationScopesRequest listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.default ListClassificationScopesIterable
listClassificationScopesPaginator
(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) This is a variant oflistClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.default ListClassificationScopesIterable
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 ListFindingsResponse
listFindings
(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Retrieves a subset of information about one or more findings.default ListFindingsResponse
listFindings
(ListFindingsRequest listFindingsRequest) Retrieves a subset of information about one or more findings.default ListFindingsFiltersResponse
listFindingsFilters
(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.default ListFindingsFiltersResponse
listFindingsFilters
(ListFindingsFiltersRequest listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.default ListFindingsFiltersIterable
listFindingsFiltersPaginator
(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.default ListFindingsFiltersIterable
listFindingsFiltersPaginator
(ListFindingsFiltersRequest listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.default ListFindingsIterable
listFindingsPaginator
(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation.default ListFindingsIterable
listFindingsPaginator
(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation.default ListInvitationsResponse
listInvitations
(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) Retrieves information about Amazon Macie membership invitations that were received by an account.default ListInvitationsResponse
listInvitations
(ListInvitationsRequest listInvitationsRequest) Retrieves information about Amazon Macie membership invitations that were received by an account.default ListInvitationsIterable
listInvitationsPaginator
(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation.default ListInvitationsIterable
listInvitationsPaginator
(ListInvitationsRequest listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation.listManagedDataIdentifiers
(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) Retrieves information about all the managed data identifiers that Amazon Macie currently provides.listManagedDataIdentifiers
(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) Retrieves information about all the managed data identifiers that Amazon Macie currently provides.listManagedDataIdentifiersPaginator
(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) This is a variant oflistManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.listManagedDataIdentifiersPaginator
(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) This is a variant oflistManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.default ListMembersResponse
listMembers
(Consumer<ListMembersRequest.Builder> listMembersRequest) Retrieves information about the accounts that are associated with an Amazon Macie administrator account.default ListMembersResponse
listMembers
(ListMembersRequest listMembersRequest) Retrieves information about the accounts that are associated with an Amazon Macie administrator account.default ListMembersIterable
listMembersPaginator
(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation.default ListMembersIterable
listMembersPaginator
(ListMembersRequest listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation.listOrganizationAdminAccounts
(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.listOrganizationAdminAccounts
(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.listOrganizationAdminAccountsPaginator
(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) This is a variant oflistOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.listOrganizationAdminAccountsPaginator
(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) This is a variant oflistOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.listResourceProfileArtifacts
(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) Retrieves information about objects that 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.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.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 SearchResourcesResponse
searchResources
(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.default SearchResourcesResponse
searchResources
(SearchResourcesRequest searchResourcesRequest) Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.default SearchResourcesIterable
searchResourcesPaginator
(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation.default SearchResourcesIterable
searchResourcesPaginator
(SearchResourcesRequest searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation.default Macie2ServiceClientConfiguration
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.default TestCustomDataIdentifierResponse
testCustomDataIdentifier
(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest) Tests criteria for a custom data identifier.default TestCustomDataIdentifierResponse
testCustomDataIdentifier
(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) Tests criteria for a custom data identifier.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.default UpdateAllowListResponse
updateAllowList
(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest) Updates the settings for an allow list.default UpdateAllowListResponse
updateAllowList
(UpdateAllowListRequest updateAllowListRequest) Updates the settings for an allow list.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.default UpdateClassificationJobResponse
updateClassificationJob
(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest) Changes the status of a classification job.default UpdateClassificationJobResponse
updateClassificationJob
(UpdateClassificationJobRequest updateClassificationJobRequest) Changes the status of a classification job.updateClassificationScope
(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest) Updates the classification scope settings for an account.updateClassificationScope
(UpdateClassificationScopeRequest updateClassificationScopeRequest) Updates the classification scope settings for an account.default UpdateFindingsFilterResponse
updateFindingsFilter
(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.default UpdateFindingsFilterResponse
updateFindingsFilter
(UpdateFindingsFilterRequest updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.default UpdateMacieSessionResponse
updateMacieSession
(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.default UpdateMacieSessionResponse
updateMacieSession
(UpdateMacieSessionRequest updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.default UpdateMemberSessionResponse
updateMemberSession
(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest) Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.default UpdateMemberSessionResponse
updateMemberSession
(UpdateMemberSessionRequest updateMemberSessionRequest) Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.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.default UpdateResourceProfileResponse
updateResourceProfile
(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest) Updates the sensitivity score for an S3 bucket.default UpdateResourceProfileResponse
updateResourceProfile
(UpdateResourceProfileRequest updateResourceProfileRequest) Updates the sensitivity score for an S3 bucket.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 Macie2Waiter
waiter()
Create an instance ofMacie2Waiter
using this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptInvitation
default AcceptInvitationResponse acceptInvitation(AcceptInvitationRequest acceptInvitationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Accepts an Amazon Macie membership invitation that was received from a specific account.
- Parameters:
acceptInvitationRequest
-- Returns:
- Result of the AcceptInvitation operation returned by the service.
- See Also:
-
acceptInvitation
default AcceptInvitationResponse acceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Accepts an Amazon Macie membership invitation that was received from a specific account.
This is a convenience which creates an instance of the
AcceptInvitationRequest.Builder
avoiding the need to create one manually viaAcceptInvitationRequest.builder()
- Parameters:
acceptInvitationRequest
- AConsumer
that will call methods onAcceptInvitationRequest.Builder
to create a request.- Returns:
- Result of the AcceptInvitation operation returned by the service.
- See Also:
-
batchGetCustomDataIdentifiers
default BatchGetCustomDataIdentifiersResponse batchGetCustomDataIdentifiers(BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about one or more custom data identifiers.
- Parameters:
batchGetCustomDataIdentifiersRequest
-- Returns:
- Result of the BatchGetCustomDataIdentifiers operation returned by the service.
- See Also:
-
batchGetCustomDataIdentifiers
default BatchGetCustomDataIdentifiersResponse batchGetCustomDataIdentifiers(Consumer<BatchGetCustomDataIdentifiersRequest.Builder> batchGetCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about one or more custom data identifiers.
This is a convenience which creates an instance of the
BatchGetCustomDataIdentifiersRequest.Builder
avoiding the need to create one manually viaBatchGetCustomDataIdentifiersRequest.builder()
- Parameters:
batchGetCustomDataIdentifiersRequest
- AConsumer
that will call methods onBatchGetCustomDataIdentifiersRequest.Builder
to create a request.- Returns:
- Result of the BatchGetCustomDataIdentifiers operation returned by the service.
- See Also:
-
batchUpdateAutomatedDiscoveryAccounts
default BatchUpdateAutomatedDiscoveryAccountsResponse batchUpdateAutomatedDiscoveryAccounts(BatchUpdateAutomatedDiscoveryAccountsRequest batchUpdateAutomatedDiscoveryAccountsRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Changes the status of automated sensitive data discovery for one or more accounts.
- Parameters:
batchUpdateAutomatedDiscoveryAccountsRequest
-- Returns:
- Result of the BatchUpdateAutomatedDiscoveryAccounts operation returned by the service.
- See Also:
-
batchUpdateAutomatedDiscoveryAccounts
default BatchUpdateAutomatedDiscoveryAccountsResponse batchUpdateAutomatedDiscoveryAccounts(Consumer<BatchUpdateAutomatedDiscoveryAccountsRequest.Builder> batchUpdateAutomatedDiscoveryAccountsRequest) throws ThrottlingException, ValidationException, InternalServerException, ConflictException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Changes the status of automated sensitive data discovery for one or more accounts.
This is a convenience which creates an instance of the
BatchUpdateAutomatedDiscoveryAccountsRequest.Builder
avoiding the need to create one manually viaBatchUpdateAutomatedDiscoveryAccountsRequest.builder()
- Parameters:
batchUpdateAutomatedDiscoveryAccountsRequest
- AConsumer
that will call methods onBatchUpdateAutomatedDiscoveryAccountsRequest.Builder
to create a request.- Returns:
- Result of the BatchUpdateAutomatedDiscoveryAccounts operation returned by the service.
- See Also:
-
createAllowList
default CreateAllowListResponse createAllowList(CreateAllowListRequest createAllowListRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the settings for an allow list.
- Parameters:
createAllowListRequest
-- Returns:
- Result of the CreateAllowList operation returned by the service.
- See Also:
-
createAllowList
default CreateAllowListResponse createAllowList(Consumer<CreateAllowListRequest.Builder> createAllowListRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the settings for an allow list.
This is a convenience which creates an instance of the
CreateAllowListRequest.Builder
avoiding the need to create one manually viaCreateAllowListRequest.builder()
- Parameters:
createAllowListRequest
- AConsumer
that will call methods onCreateAllowListRequest.Builder
to create a request.- Returns:
- Result of the CreateAllowList operation returned by the service.
- See Also:
-
createClassificationJob
default CreateClassificationJobResponse createClassificationJob(CreateClassificationJobRequest createClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the settings for a classification job.
- Parameters:
createClassificationJobRequest
-- Returns:
- Result of the CreateClassificationJob operation returned by the service.
- See Also:
-
createClassificationJob
default CreateClassificationJobResponse createClassificationJob(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the settings for a classification job.
This is a convenience which creates an instance of the
CreateClassificationJobRequest.Builder
avoiding the need to create one manually viaCreateClassificationJobRequest.builder()
- Parameters:
createClassificationJobRequest
- AConsumer
that will call methods onCreateClassificationJobRequest.Builder
to create a request.- Returns:
- Result of the CreateClassificationJob operation returned by the service.
- See Also:
-
createCustomDataIdentifier
default CreateCustomDataIdentifierResponse createCustomDataIdentifier(CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the criteria and other settings for a custom data identifier.
- Parameters:
createCustomDataIdentifierRequest
-- Returns:
- Result of the CreateCustomDataIdentifier operation returned by the service.
- See Also:
-
createCustomDataIdentifier
default CreateCustomDataIdentifierResponse createCustomDataIdentifier(Consumer<CreateCustomDataIdentifierRequest.Builder> createCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the criteria and other settings for a custom data identifier.
This is a convenience which creates an instance of the
CreateCustomDataIdentifierRequest.Builder
avoiding the need to create one manually viaCreateCustomDataIdentifierRequest.builder()
- Parameters:
createCustomDataIdentifierRequest
- AConsumer
that will call methods onCreateCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- Result of the CreateCustomDataIdentifier operation returned by the service.
- See Also:
-
createFindingsFilter
default CreateFindingsFilterResponse createFindingsFilter(CreateFindingsFilterRequest createFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the criteria and other settings for a findings filter.
- Parameters:
createFindingsFilterRequest
-- Returns:
- Result of the CreateFindingsFilter operation returned by the service.
- See Also:
-
createFindingsFilter
default CreateFindingsFilterResponse createFindingsFilter(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates and defines the criteria and other settings for a findings filter.
This is a convenience which creates an instance of the
CreateFindingsFilterRequest.Builder
avoiding the need to create one manually viaCreateFindingsFilterRequest.builder()
- Parameters:
createFindingsFilterRequest
- AConsumer
that will call methods onCreateFindingsFilterRequest.Builder
to create a request.- Returns:
- Result of the CreateFindingsFilter operation returned by the service.
- See Also:
-
createInvitations
default CreateInvitationsResponse createInvitations(CreateInvitationsRequest createInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Sends an Amazon Macie membership invitation to one or more accounts.
- Parameters:
createInvitationsRequest
-- Returns:
- Result of the CreateInvitations operation returned by the service.
- See Also:
-
createInvitations
default CreateInvitationsResponse createInvitations(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Sends an Amazon Macie membership invitation to one or more accounts.
This is a convenience which creates an instance of the
CreateInvitationsRequest.Builder
avoiding the need to create one manually viaCreateInvitationsRequest.builder()
- Parameters:
createInvitationsRequest
- AConsumer
that will call methods onCreateInvitationsRequest.Builder
to create a request.- Returns:
- Result of the CreateInvitations operation returned by the service.
- See Also:
-
createMember
default CreateMemberResponse createMember(CreateMemberRequest createMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Associates an account with an Amazon Macie administrator account.
- Parameters:
createMemberRequest
-- Returns:
- Result of the CreateMember operation returned by the service.
- See Also:
-
createMember
default CreateMemberResponse createMember(Consumer<CreateMemberRequest.Builder> createMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Associates an account with an Amazon Macie administrator account.
This is a convenience which creates an instance of the
CreateMemberRequest.Builder
avoiding the need to create one manually viaCreateMemberRequest.builder()
- Parameters:
createMemberRequest
- AConsumer
that will call methods onCreateMemberRequest.Builder
to create a request.- Returns:
- Result of the CreateMember operation returned by the service.
- See Also:
-
createSampleFindings
default CreateSampleFindingsResponse createSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates sample findings.
- Parameters:
createSampleFindingsRequest
-- Returns:
- Result of the CreateSampleFindings operation returned by the service.
- See Also:
-
createSampleFindings
default CreateSampleFindingsResponse createSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Creates sample findings.
This is a convenience which creates an instance of the
CreateSampleFindingsRequest.Builder
avoiding the need to create one manually viaCreateSampleFindingsRequest.builder()
- Parameters:
createSampleFindingsRequest
- AConsumer
that will call methods onCreateSampleFindingsRequest.Builder
to create a request.- Returns:
- Result of the CreateSampleFindings operation returned by the service.
- See Also:
-
declineInvitations
default DeclineInvitationsResponse declineInvitations(DeclineInvitationsRequest declineInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Declines Amazon Macie membership invitations that were received from specific accounts.
- Parameters:
declineInvitationsRequest
-- Returns:
- Result of the DeclineInvitations operation returned by the service.
- See Also:
-
declineInvitations
default DeclineInvitationsResponse declineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Declines Amazon Macie membership invitations that were received from specific accounts.
This is a convenience which creates an instance of the
DeclineInvitationsRequest.Builder
avoiding the need to create one manually viaDeclineInvitationsRequest.builder()
- Parameters:
declineInvitationsRequest
- AConsumer
that will call methods onDeclineInvitationsRequest.Builder
to create a request.- Returns:
- Result of the DeclineInvitations operation returned by the service.
- See Also:
-
deleteAllowList
default DeleteAllowListResponse deleteAllowList(DeleteAllowListRequest deleteAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Deletes an allow list.
- Parameters:
deleteAllowListRequest
-- Returns:
- Result of the DeleteAllowList operation returned by the service.
- See Also:
-
deleteAllowList
default DeleteAllowListResponse deleteAllowList(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Deletes an allow list.
This is a convenience which creates an instance of the
DeleteAllowListRequest.Builder
avoiding the need to create one manually viaDeleteAllowListRequest.builder()
- Parameters:
deleteAllowListRequest
- AConsumer
that will call methods onDeleteAllowListRequest.Builder
to create a request.- Returns:
- Result of the DeleteAllowList operation returned by the service.
- See Also:
-
deleteCustomDataIdentifier
default DeleteCustomDataIdentifierResponse deleteCustomDataIdentifier(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Soft deletes a custom data identifier.
- Parameters:
deleteCustomDataIdentifierRequest
-- Returns:
- Result of the DeleteCustomDataIdentifier operation returned by the service.
- See Also:
-
deleteCustomDataIdentifier
default DeleteCustomDataIdentifierResponse deleteCustomDataIdentifier(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Soft deletes a custom data identifier.
This is a convenience which creates an instance of the
DeleteCustomDataIdentifierRequest.Builder
avoiding the need to create one manually viaDeleteCustomDataIdentifierRequest.builder()
- Parameters:
deleteCustomDataIdentifierRequest
- AConsumer
that will call methods onDeleteCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- Result of the DeleteCustomDataIdentifier operation returned by the service.
- See Also:
-
deleteFindingsFilter
default DeleteFindingsFilterResponse deleteFindingsFilter(DeleteFindingsFilterRequest deleteFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Deletes a findings filter.
- Parameters:
deleteFindingsFilterRequest
-- Returns:
- Result of the DeleteFindingsFilter operation returned by the service.
- See Also:
-
deleteFindingsFilter
default DeleteFindingsFilterResponse deleteFindingsFilter(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Deletes a findings filter.
This is a convenience which creates an instance of the
DeleteFindingsFilterRequest.Builder
avoiding the need to create one manually viaDeleteFindingsFilterRequest.builder()
- Parameters:
deleteFindingsFilterRequest
- AConsumer
that will call methods onDeleteFindingsFilterRequest.Builder
to create a request.- Returns:
- Result of the DeleteFindingsFilter operation returned by the service.
- See Also:
-
deleteInvitations
default DeleteInvitationsResponse deleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Deletes Amazon Macie membership invitations that were received from specific accounts.
- Parameters:
deleteInvitationsRequest
-- Returns:
- Result of the DeleteInvitations operation returned by the service.
- See Also:
-
deleteInvitations
default DeleteInvitationsResponse deleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Deletes Amazon Macie membership invitations that were received from specific accounts.
This is a convenience which creates an instance of the
DeleteInvitationsRequest.Builder
avoiding the need to create one manually viaDeleteInvitationsRequest.builder()
- Parameters:
deleteInvitationsRequest
- AConsumer
that will call methods onDeleteInvitationsRequest.Builder
to create a request.- Returns:
- Result of the DeleteInvitations operation returned by the service.
- See Also:
-
deleteMember
default DeleteMemberResponse deleteMember(DeleteMemberRequest deleteMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Deletes the association between an Amazon Macie administrator account and an account.
- Parameters:
deleteMemberRequest
-- Returns:
- Result of the DeleteMember operation returned by the service.
- See Also:
-
deleteMember
default DeleteMemberResponse deleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Deletes the association between an Amazon Macie administrator account and an account.
This is a convenience which creates an instance of the
DeleteMemberRequest.Builder
avoiding the need to create one manually viaDeleteMemberRequest.builder()
- Parameters:
deleteMemberRequest
- AConsumer
that will call methods onDeleteMemberRequest.Builder
to create a request.- Returns:
- Result of the DeleteMember operation returned by the service.
- See Also:
-
describeBuckets
default DescribeBucketsResponse describeBuckets(DescribeBucketsRequest describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
- Parameters:
describeBucketsRequest
-- Returns:
- Result of the DescribeBuckets operation returned by the service.
- See Also:
-
describeBuckets
default DescribeBucketsResponse describeBuckets(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.
This is a convenience which creates an instance of the
DescribeBucketsRequest.Builder
avoiding the need to create one manually viaDescribeBucketsRequest.builder()
- Parameters:
describeBucketsRequest
- AConsumer
that will call methods onDescribeBucketsRequest.Builder
to create a request.- Returns:
- Result of the DescribeBuckets operation returned by the service.
- See Also:
-
describeBucketsPaginator
default DescribeBucketsIterable describeBucketsPaginator(DescribeBucketsRequest describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsIterable responses = client.describeBucketsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.DescribeBucketsIterable responses = client .describeBucketsPaginator(request); for (software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsIterable responses = client.describeBucketsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation.- Parameters:
describeBucketsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeBucketsPaginator
default DescribeBucketsIterable describeBucketsPaginator(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsIterable responses = client.describeBucketsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.DescribeBucketsIterable responses = client .describeBucketsPaginator(request); for (software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.DescribeBucketsIterable responses = client.describeBucketsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)
operation.
This is a convenience which creates an instance of the
DescribeBucketsRequest.Builder
avoiding the need to create one manually viaDescribeBucketsRequest.builder()
- Parameters:
describeBucketsRequest
- AConsumer
that will call methods onDescribeBucketsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
describeClassificationJob
default DescribeClassificationJobResponse describeClassificationJob(DescribeClassificationJobRequest describeClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status and settings for a classification job.
- Parameters:
describeClassificationJobRequest
-- Returns:
- Result of the DescribeClassificationJob operation returned by the service.
- See Also:
-
describeClassificationJob
default DescribeClassificationJobResponse describeClassificationJob(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status and settings for a classification job.
This is a convenience which creates an instance of the
DescribeClassificationJobRequest.Builder
avoiding the need to create one manually viaDescribeClassificationJobRequest.builder()
- Parameters:
describeClassificationJobRequest
- AConsumer
that will call methods onDescribeClassificationJobRequest.Builder
to create a request.- Returns:
- Result of the DescribeClassificationJob operation returned by the service.
- See Also:
-
describeOrganizationConfiguration
default DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the Amazon Macie configuration settings for an organization in Organizations.
- Parameters:
describeOrganizationConfigurationRequest
-- Returns:
- Result of the DescribeOrganizationConfiguration operation returned by the service.
- See Also:
-
describeOrganizationConfiguration
default DescribeOrganizationConfigurationResponse describeOrganizationConfiguration(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the Amazon Macie configuration settings for an organization in Organizations.
This is a convenience which creates an instance of the
DescribeOrganizationConfigurationRequest.Builder
avoiding the need to create one manually viaDescribeOrganizationConfigurationRequest.builder()
- Parameters:
describeOrganizationConfigurationRequest
- AConsumer
that will call methods onDescribeOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DescribeOrganizationConfiguration operation returned by the service.
- See Also:
-
disableMacie
default DisableMacieResponse disableMacie(DisableMacieRequest disableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disables Amazon Macie and deletes all settings and resources for a Macie account.
- Parameters:
disableMacieRequest
-- Returns:
- Result of the DisableMacie operation returned by the service.
- See Also:
-
disableMacie
default DisableMacieResponse disableMacie(Consumer<DisableMacieRequest.Builder> disableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disables Amazon Macie and deletes all settings and resources for a Macie account.
This is a convenience which creates an instance of the
DisableMacieRequest.Builder
avoiding the need to create one manually viaDisableMacieRequest.builder()
- Parameters:
disableMacieRequest
- AConsumer
that will call methods onDisableMacieRequest.Builder
to create a request.- Returns:
- Result of the DisableMacie operation returned by the service.
- See Also:
-
disableOrganizationAdminAccount
default DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
- Parameters:
disableOrganizationAdminAccountRequest
-- Returns:
- Result of the DisableOrganizationAdminAccount operation returned by the service.
- See Also:
-
disableOrganizationAdminAccount
default DisableOrganizationAdminAccountResponse disableOrganizationAdminAccount(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.
This is a convenience which creates an instance of the
DisableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaDisableOrganizationAdminAccountRequest.builder()
- Parameters:
disableOrganizationAdminAccountRequest
- AConsumer
that will call methods onDisableOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the DisableOrganizationAdminAccount operation returned by the service.
- See Also:
-
disassociateFromAdministratorAccount
default DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disassociates a member account from its Amazon Macie administrator account.
- Parameters:
disassociateFromAdministratorAccountRequest
-- Returns:
- Result of the DisassociateFromAdministratorAccount operation returned by the service.
- See Also:
-
disassociateFromAdministratorAccount
default DisassociateFromAdministratorAccountResponse disassociateFromAdministratorAccount(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disassociates a member account from its Amazon Macie administrator account.
This is a convenience which creates an instance of the
DisassociateFromAdministratorAccountRequest.Builder
avoiding the need to create one manually viaDisassociateFromAdministratorAccountRequest.builder()
- Parameters:
disassociateFromAdministratorAccountRequest
- AConsumer
that will call methods onDisassociateFromAdministratorAccountRequest.Builder
to create a request.- Returns:
- Result of the DisassociateFromAdministratorAccount operation returned by the service.
- See Also:
-
disassociateFromMasterAccount
default DisassociateFromMasterAccountResponse disassociateFromMasterAccount(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.
- Parameters:
disassociateFromMasterAccountRequest
-- Returns:
- Result of the DisassociateFromMasterAccount operation returned by the service.
- See Also:
-
disassociateFromMasterAccount
default DisassociateFromMasterAccountResponse disassociateFromMasterAccount(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.
This is a convenience which creates an instance of the
DisassociateFromMasterAccountRequest.Builder
avoiding the need to create one manually viaDisassociateFromMasterAccountRequest.builder()
- Parameters:
disassociateFromMasterAccountRequest
- AConsumer
that will call methods onDisassociateFromMasterAccountRequest.Builder
to create a request.- Returns:
- Result of the DisassociateFromMasterAccount operation returned by the service.
- See Also:
-
disassociateMember
default DisassociateMemberResponse disassociateMember(DisassociateMemberRequest disassociateMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disassociates an Amazon Macie administrator account from a member account.
- Parameters:
disassociateMemberRequest
-- Returns:
- Result of the DisassociateMember operation returned by the service.
- See Also:
-
disassociateMember
default DisassociateMemberResponse disassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Disassociates an Amazon Macie administrator account from a member account.
This is a convenience which creates an instance of the
DisassociateMemberRequest.Builder
avoiding the need to create one manually viaDisassociateMemberRequest.builder()
- Parameters:
disassociateMemberRequest
- AConsumer
that will call methods onDisassociateMemberRequest.Builder
to create a request.- Returns:
- Result of the DisassociateMember operation returned by the service.
- See Also:
-
enableMacie
default EnableMacieResponse enableMacie(EnableMacieRequest enableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Enables Amazon Macie and specifies the configuration settings for a Macie account.
- Parameters:
enableMacieRequest
-- Returns:
- Result of the EnableMacie operation returned by the service.
- See Also:
-
enableMacie
default EnableMacieResponse enableMacie(Consumer<EnableMacieRequest.Builder> enableMacieRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Enables Amazon Macie and specifies the configuration settings for a Macie account.
This is a convenience which creates an instance of the
EnableMacieRequest.Builder
avoiding the need to create one manually viaEnableMacieRequest.builder()
- Parameters:
enableMacieRequest
- AConsumer
that will call methods onEnableMacieRequest.Builder
to create a request.- Returns:
- Result of the EnableMacie operation returned by the service.
- See Also:
-
enableOrganizationAdminAccount
default EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
- Parameters:
enableOrganizationAdminAccountRequest
-- Returns:
- Result of the EnableOrganizationAdminAccount operation returned by the service.
- See Also:
-
enableOrganizationAdminAccount
default EnableOrganizationAdminAccountResponse enableOrganizationAdminAccount(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.
This is a convenience which creates an instance of the
EnableOrganizationAdminAccountRequest.Builder
avoiding the need to create one manually viaEnableOrganizationAdminAccountRequest.builder()
- Parameters:
enableOrganizationAdminAccountRequest
- AConsumer
that will call methods onEnableOrganizationAdminAccountRequest.Builder
to create a request.- Returns:
- Result of the EnableOrganizationAdminAccount operation returned by the service.
- See Also:
-
getAdministratorAccount
default GetAdministratorAccountResponse getAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the Amazon Macie administrator account for an account.
- Parameters:
getAdministratorAccountRequest
-- Returns:
- Result of the GetAdministratorAccount operation returned by the service.
- See Also:
-
getAdministratorAccount
default GetAdministratorAccountResponse getAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the Amazon Macie administrator account for an account.
This is a convenience which creates an instance of the
GetAdministratorAccountRequest.Builder
avoiding the need to create one manually viaGetAdministratorAccountRequest.builder()
- Parameters:
getAdministratorAccountRequest
- AConsumer
that will call methods onGetAdministratorAccountRequest.Builder
to create a request.- Returns:
- Result of the GetAdministratorAccount operation returned by the service.
- See Also:
-
getAllowList
default GetAllowListResponse getAllowList(GetAllowListRequest getAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the settings and status of an allow list.
- Parameters:
getAllowListRequest
-- Returns:
- Result of the GetAllowList operation returned by the service.
- See Also:
-
getAllowList
default GetAllowListResponse getAllowList(Consumer<GetAllowListRequest.Builder> getAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the settings and status of an allow list.
This is a convenience which creates an instance of the
GetAllowListRequest.Builder
avoiding the need to create one manually viaGetAllowListRequest.builder()
- Parameters:
getAllowListRequest
- AConsumer
that will call methods onGetAllowListRequest.Builder
to create a request.- Returns:
- Result of the GetAllowList operation returned by the service.
- See Also:
-
getAutomatedDiscoveryConfiguration
default GetAutomatedDiscoveryConfigurationResponse getAutomatedDiscoveryConfiguration(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
- Parameters:
getAutomatedDiscoveryConfigurationRequest
-- Returns:
- Result of the GetAutomatedDiscoveryConfiguration operation returned by the service.
- See Also:
-
getAutomatedDiscoveryConfiguration
default GetAutomatedDiscoveryConfigurationResponse getAutomatedDiscoveryConfiguration(Consumer<GetAutomatedDiscoveryConfigurationRequest.Builder> getAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
This is a convenience which creates an instance of the
GetAutomatedDiscoveryConfigurationRequest.Builder
avoiding the need to create one manually viaGetAutomatedDiscoveryConfigurationRequest.builder()
- Parameters:
getAutomatedDiscoveryConfigurationRequest
- AConsumer
that will call methods onGetAutomatedDiscoveryConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetAutomatedDiscoveryConfiguration operation returned by the service.
- See Also:
-
getBucketStatistics
default GetBucketStatisticsResponse getBucketStatistics(GetBucketStatisticsRequest getBucketStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
- Parameters:
getBucketStatisticsRequest
-- Returns:
- Result of the GetBucketStatistics operation returned by the service.
- See Also:
-
getBucketStatistics
default GetBucketStatisticsResponse getBucketStatistics(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.
This is a convenience which creates an instance of the
GetBucketStatisticsRequest.Builder
avoiding the need to create one manually viaGetBucketStatisticsRequest.builder()
- Parameters:
getBucketStatisticsRequest
- AConsumer
that will call methods onGetBucketStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetBucketStatistics operation returned by the service.
- See Also:
-
getClassificationExportConfiguration
default GetClassificationExportConfigurationResponse getClassificationExportConfiguration(GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the configuration settings for storing data classification results.
- Parameters:
getClassificationExportConfigurationRequest
-- Returns:
- Result of the GetClassificationExportConfiguration operation returned by the service.
- See Also:
-
getClassificationExportConfiguration
default GetClassificationExportConfigurationResponse getClassificationExportConfiguration(Consumer<GetClassificationExportConfigurationRequest.Builder> getClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the configuration settings for storing data classification results.
This is a convenience which creates an instance of the
GetClassificationExportConfigurationRequest.Builder
avoiding the need to create one manually viaGetClassificationExportConfigurationRequest.builder()
- Parameters:
getClassificationExportConfigurationRequest
- AConsumer
that will call methods onGetClassificationExportConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetClassificationExportConfiguration operation returned by the service.
- See Also:
-
getClassificationScope
default GetClassificationScopeResponse getClassificationScope(GetClassificationScopeRequest getClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the classification scope settings for an account.
- Parameters:
getClassificationScopeRequest
-- Returns:
- Result of the GetClassificationScope operation returned by the service.
- See Also:
-
getClassificationScope
default GetClassificationScopeResponse getClassificationScope(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the classification scope settings for an account.
This is a convenience which creates an instance of the
GetClassificationScopeRequest.Builder
avoiding the need to create one manually viaGetClassificationScopeRequest.builder()
- Parameters:
getClassificationScopeRequest
- AConsumer
that will call methods onGetClassificationScopeRequest.Builder
to create a request.- Returns:
- Result of the GetClassificationScope operation returned by the service.
- See Also:
-
getCustomDataIdentifier
default GetCustomDataIdentifierResponse getCustomDataIdentifier(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the criteria and other settings for a custom data identifier.
- Parameters:
getCustomDataIdentifierRequest
-- Returns:
- Result of the GetCustomDataIdentifier operation returned by the service.
- See Also:
-
getCustomDataIdentifier
default GetCustomDataIdentifierResponse getCustomDataIdentifier(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the criteria and other settings for a custom data identifier.
This is a convenience which creates an instance of the
GetCustomDataIdentifierRequest.Builder
avoiding the need to create one manually viaGetCustomDataIdentifierRequest.builder()
- Parameters:
getCustomDataIdentifierRequest
- AConsumer
that will call methods onGetCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- Result of the GetCustomDataIdentifier operation returned by the service.
- See Also:
-
getFindingStatistics
default GetFindingStatisticsResponse getFindingStatistics(GetFindingStatisticsRequest getFindingStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) aggregated statistical data about findings.
- Parameters:
getFindingStatisticsRequest
-- Returns:
- Result of the GetFindingStatistics operation returned by the service.
- See Also:
-
getFindingStatistics
default GetFindingStatisticsResponse getFindingStatistics(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) aggregated statistical data about findings.
This is a convenience which creates an instance of the
GetFindingStatisticsRequest.Builder
avoiding the need to create one manually viaGetFindingStatisticsRequest.builder()
- Parameters:
getFindingStatisticsRequest
- AConsumer
that will call methods onGetFindingStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetFindingStatistics operation returned by the service.
- See Also:
-
getFindings
default GetFindingsResponse getFindings(GetFindingsRequest getFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the details of one or more findings.
- Parameters:
getFindingsRequest
-- Returns:
- Result of the GetFindings operation returned by the service.
- See Also:
-
getFindings
default GetFindingsResponse getFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the details of one or more findings.
This is a convenience which creates an instance of the
GetFindingsRequest.Builder
avoiding the need to create one manually viaGetFindingsRequest.builder()
- Parameters:
getFindingsRequest
- AConsumer
that will call methods onGetFindingsRequest.Builder
to create a request.- Returns:
- Result of the GetFindings operation returned by the service.
- See Also:
-
getFindingsFilter
default GetFindingsFilterResponse getFindingsFilter(GetFindingsFilterRequest getFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the criteria and other settings for a findings filter.
- Parameters:
getFindingsFilterRequest
-- Returns:
- Result of the GetFindingsFilter operation returned by the service.
- See Also:
-
getFindingsFilter
default GetFindingsFilterResponse getFindingsFilter(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the criteria and other settings for a findings filter.
This is a convenience which creates an instance of the
GetFindingsFilterRequest.Builder
avoiding the need to create one manually viaGetFindingsFilterRequest.builder()
- Parameters:
getFindingsFilterRequest
- AConsumer
that will call methods onGetFindingsFilterRequest.Builder
to create a request.- Returns:
- Result of the GetFindingsFilter operation returned by the service.
- See Also:
-
getFindingsPublicationConfiguration
default GetFindingsPublicationConfigurationResponse getFindingsPublicationConfiguration(GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the configuration settings for publishing findings to Security Hub.
- Parameters:
getFindingsPublicationConfigurationRequest
-- Returns:
- Result of the GetFindingsPublicationConfiguration operation returned by the service.
- See Also:
-
getFindingsPublicationConfiguration
default GetFindingsPublicationConfigurationResponse getFindingsPublicationConfiguration(Consumer<GetFindingsPublicationConfigurationRequest.Builder> getFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the configuration settings for publishing findings to Security Hub.
This is a convenience which creates an instance of the
GetFindingsPublicationConfigurationRequest.Builder
avoiding the need to create one manually viaGetFindingsPublicationConfigurationRequest.builder()
- Parameters:
getFindingsPublicationConfigurationRequest
- AConsumer
that will call methods onGetFindingsPublicationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetFindingsPublicationConfiguration operation returned by the service.
- See Also:
-
getInvitationsCount
default GetInvitationsCountResponse getInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the count of Amazon Macie membership invitations that were received by an account.
- Parameters:
getInvitationsCountRequest
-- Returns:
- Result of the GetInvitationsCount operation returned by the service.
- See Also:
-
getInvitationsCount
default GetInvitationsCountResponse getInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the count of Amazon Macie membership invitations that were received by an account.
This is a convenience which creates an instance of the
GetInvitationsCountRequest.Builder
avoiding the need to create one manually viaGetInvitationsCountRequest.builder()
- Parameters:
getInvitationsCountRequest
- AConsumer
that will call methods onGetInvitationsCountRequest.Builder
to create a request.- Returns:
- Result of the GetInvitationsCount operation returned by the service.
- See Also:
-
getMacieSession
default GetMacieSessionResponse getMacieSession(GetMacieSessionRequest getMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status and configuration settings for an Amazon Macie account.
- Parameters:
getMacieSessionRequest
-- Returns:
- Result of the GetMacieSession operation returned by the service.
- See Also:
-
getMacieSession
default GetMacieSessionResponse getMacieSession(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status and configuration settings for an Amazon Macie account.
This is a convenience which creates an instance of the
GetMacieSessionRequest.Builder
avoiding the need to create one manually viaGetMacieSessionRequest.builder()
- Parameters:
getMacieSessionRequest
- AConsumer
that will call methods onGetMacieSessionRequest.Builder
to create a request.- Returns:
- Result of the GetMacieSession operation returned by the service.
- See Also:
-
getMasterAccount
default GetMasterAccountResponse getMasterAccount(GetMasterAccountRequest getMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
- Parameters:
getMasterAccountRequest
-- Returns:
- Result of the GetMasterAccount operation returned by the service.
- See Also:
-
getMasterAccount
default GetMasterAccountResponse getMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.
This is a convenience which creates an instance of the
GetMasterAccountRequest.Builder
avoiding the need to create one manually viaGetMasterAccountRequest.builder()
- Parameters:
getMasterAccountRequest
- AConsumer
that will call methods onGetMasterAccountRequest.Builder
to create a request.- Returns:
- Result of the GetMasterAccount operation returned by the service.
- See Also:
-
getMember
default GetMemberResponse getMember(GetMemberRequest getMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about an account that's associated with an Amazon Macie administrator account.
- Parameters:
getMemberRequest
-- Returns:
- Result of the GetMember operation returned by the service.
- See Also:
-
getMember
default GetMemberResponse getMember(Consumer<GetMemberRequest.Builder> getMemberRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about an account that's associated with an Amazon Macie administrator account.
This is a convenience which creates an instance of the
GetMemberRequest.Builder
avoiding the need to create one manually viaGetMemberRequest.builder()
- Parameters:
getMemberRequest
- AConsumer
that will call methods onGetMemberRequest.Builder
to create a request.- Returns:
- Result of the GetMember operation returned by the service.
- See Also:
-
getResourceProfile
default GetResourceProfileResponse getResourceProfile(GetResourceProfileRequest getResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
- Parameters:
getResourceProfileRequest
-- Returns:
- Result of the GetResourceProfile operation returned by the service.
- See Also:
-
getResourceProfile
default GetResourceProfileResponse getResourceProfile(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.
This is a convenience which creates an instance of the
GetResourceProfileRequest.Builder
avoiding the need to create one manually viaGetResourceProfileRequest.builder()
- Parameters:
getResourceProfileRequest
- AConsumer
that will call methods onGetResourceProfileRequest.Builder
to create a request.- Returns:
- Result of the GetResourceProfile operation returned by the service.
- See Also:
-
getRevealConfiguration
default GetRevealConfigurationResponse getRevealConfiguration(GetRevealConfigurationRequest getRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
- Parameters:
getRevealConfigurationRequest
-- Returns:
- Result of the GetRevealConfiguration operation returned by the service.
- See Also:
-
getRevealConfiguration
default GetRevealConfigurationResponse getRevealConfiguration(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
This is a convenience which creates an instance of the
GetRevealConfigurationRequest.Builder
avoiding the need to create one manually viaGetRevealConfigurationRequest.builder()
- Parameters:
getRevealConfigurationRequest
- AConsumer
that will call methods onGetRevealConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetRevealConfiguration operation returned by the service.
- See Also:
-
getSensitiveDataOccurrences
default GetSensitiveDataOccurrencesResponse getSensitiveDataOccurrences(GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest) throws UnprocessableEntityException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Retrieves occurrences of sensitive data reported by a finding.
- Parameters:
getSensitiveDataOccurrencesRequest
-- Returns:
- Result of the GetSensitiveDataOccurrences operation returned by the service.
- See Also:
-
getSensitiveDataOccurrences
default GetSensitiveDataOccurrencesResponse getSensitiveDataOccurrences(Consumer<GetSensitiveDataOccurrencesRequest.Builder> getSensitiveDataOccurrencesRequest) throws UnprocessableEntityException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Retrieves occurrences of sensitive data reported by a finding.
This is a convenience which creates an instance of the
GetSensitiveDataOccurrencesRequest.Builder
avoiding the need to create one manually viaGetSensitiveDataOccurrencesRequest.builder()
- Parameters:
getSensitiveDataOccurrencesRequest
- AConsumer
that will call methods onGetSensitiveDataOccurrencesRequest.Builder
to create a request.- Returns:
- Result of the GetSensitiveDataOccurrences operation returned by the service.
- See Also:
-
getSensitiveDataOccurrencesAvailability
default GetSensitiveDataOccurrencesAvailabilityResponse getSensitiveDataOccurrencesAvailability(GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Checks whether occurrences of sensitive data can be retrieved for a finding.
- Parameters:
getSensitiveDataOccurrencesAvailabilityRequest
-- Returns:
- Result of the GetSensitiveDataOccurrencesAvailability operation returned by the service.
- See Also:
-
getSensitiveDataOccurrencesAvailability
default GetSensitiveDataOccurrencesAvailabilityResponse getSensitiveDataOccurrencesAvailability(Consumer<GetSensitiveDataOccurrencesAvailabilityRequest.Builder> getSensitiveDataOccurrencesAvailabilityRequest) throws ResourceNotFoundException, ThrottlingException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Checks whether occurrences of sensitive data can be retrieved for a finding.
This is a convenience which creates an instance of the
GetSensitiveDataOccurrencesAvailabilityRequest.Builder
avoiding the need to create one manually viaGetSensitiveDataOccurrencesAvailabilityRequest.builder()
- Parameters:
getSensitiveDataOccurrencesAvailabilityRequest
- AConsumer
that will call methods onGetSensitiveDataOccurrencesAvailabilityRequest.Builder
to create a request.- Returns:
- Result of the GetSensitiveDataOccurrencesAvailability operation returned by the service.
- See Also:
-
getSensitivityInspectionTemplate
default GetSensitivityInspectionTemplateResponse getSensitivityInspectionTemplate(GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the settings for the sensitivity inspection template for an account.
- Parameters:
getSensitivityInspectionTemplateRequest
-- Returns:
- Result of the GetSensitivityInspectionTemplate operation returned by the service.
- See Also:
-
getSensitivityInspectionTemplate
default GetSensitivityInspectionTemplateResponse getSensitivityInspectionTemplate(Consumer<GetSensitivityInspectionTemplateRequest.Builder> getSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the settings for the sensitivity inspection template for an account.
This is a convenience which creates an instance of the
GetSensitivityInspectionTemplateRequest.Builder
avoiding the need to create one manually viaGetSensitivityInspectionTemplateRequest.builder()
- Parameters:
getSensitivityInspectionTemplateRequest
- AConsumer
that will call methods onGetSensitivityInspectionTemplateRequest.Builder
to create a request.- Returns:
- Result of the GetSensitivityInspectionTemplate operation returned by the service.
- See Also:
-
getUsageStatistics
default GetUsageStatisticsResponse getUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) quotas and aggregated usage data for one or more accounts.
- Parameters:
getUsageStatisticsRequest
-- Returns:
- Result of the GetUsageStatistics operation returned by the service.
- See Also:
-
getUsageStatistics
default GetUsageStatisticsResponse getUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) quotas and aggregated usage data for one or more accounts.
This is a convenience which creates an instance of the
GetUsageStatisticsRequest.Builder
avoiding the need to create one manually viaGetUsageStatisticsRequest.builder()
- Parameters:
getUsageStatisticsRequest
- AConsumer
that will call methods onGetUsageStatisticsRequest.Builder
to create a request.- Returns:
- Result of the GetUsageStatistics operation returned by the service.
- See Also:
-
getUsageStatisticsPaginator
default GetUsageStatisticsIterable getUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsIterable responses = client .getUsageStatisticsPaginator(request); for (software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.- Parameters:
getUsageStatisticsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getUsageStatisticsPaginator
default GetUsageStatisticsIterable getUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsIterable responses = client .getUsageStatisticsPaginator(request); for (software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsIterable responses = client.getUsageStatisticsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)
operation.
This is a convenience which creates an instance of the
GetUsageStatisticsRequest.Builder
avoiding the need to create one manually viaGetUsageStatisticsRequest.builder()
- Parameters:
getUsageStatisticsRequest
- AConsumer
that will call methods onGetUsageStatisticsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getUsageTotals
default GetUsageTotalsResponse getUsageTotals(GetUsageTotalsRequest getUsageTotalsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) aggregated usage data for an account.
- Parameters:
getUsageTotalsRequest
-- Returns:
- Result of the GetUsageTotals operation returned by the service.
- See Also:
-
getUsageTotals
default GetUsageTotalsResponse getUsageTotals(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) aggregated usage data for an account.
This is a convenience which creates an instance of the
GetUsageTotalsRequest.Builder
avoiding the need to create one manually viaGetUsageTotalsRequest.builder()
- Parameters:
getUsageTotalsRequest
- AConsumer
that will call methods onGetUsageTotalsRequest.Builder
to create a request.- Returns:
- Result of the GetUsageTotals operation returned by the service.
- See Also:
-
listAllowLists
default ListAllowListsResponse listAllowLists(ListAllowListsRequest listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about all the allow lists for an account.
- Parameters:
listAllowListsRequest
-- Returns:
- Result of the ListAllowLists operation returned by the service.
- See Also:
-
listAllowLists
default ListAllowListsResponse listAllowLists(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about all the allow lists for an account.
This is a convenience which creates an instance of the
ListAllowListsRequest.Builder
avoiding the need to create one manually viaListAllowListsRequest.builder()
- Parameters:
listAllowListsRequest
- AConsumer
that will call methods onListAllowListsRequest.Builder
to create a request.- Returns:
- Result of the ListAllowLists operation returned by the service.
- See Also:
-
listAllowListsPaginator
default ListAllowListsIterable listAllowListsPaginator(ListAllowListsRequest listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation.- Parameters:
listAllowListsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAllowListsPaginator
default ListAllowListsIterable listAllowListsPaginator(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListAllowListsIterable responses = client.listAllowListsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)
operation.
This is a convenience which creates an instance of the
ListAllowListsRequest.Builder
avoiding the need to create one manually viaListAllowListsRequest.builder()
- Parameters:
listAllowListsRequest
- AConsumer
that will call methods onListAllowListsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAutomatedDiscoveryAccounts
default ListAutomatedDiscoveryAccountsResponse listAutomatedDiscoveryAccounts(ListAutomatedDiscoveryAccountsRequest listAutomatedDiscoveryAccountsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status of automated sensitive data discovery for one or more accounts.
- Parameters:
listAutomatedDiscoveryAccountsRequest
-- Returns:
- Result of the ListAutomatedDiscoveryAccounts operation returned by the service.
- See Also:
-
listAutomatedDiscoveryAccounts
default ListAutomatedDiscoveryAccountsResponse listAutomatedDiscoveryAccounts(Consumer<ListAutomatedDiscoveryAccountsRequest.Builder> listAutomatedDiscoveryAccountsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves the status of automated sensitive data discovery for one or more accounts.
This is a convenience which creates an instance of the
ListAutomatedDiscoveryAccountsRequest.Builder
avoiding the need to create one manually viaListAutomatedDiscoveryAccountsRequest.builder()
- Parameters:
listAutomatedDiscoveryAccountsRequest
- AConsumer
that will call methods onListAutomatedDiscoveryAccountsRequest.Builder
to create a request.- Returns:
- Result of the ListAutomatedDiscoveryAccounts operation returned by the service.
- See Also:
-
listAutomatedDiscoveryAccountsPaginator
default ListAutomatedDiscoveryAccountsIterable listAutomatedDiscoveryAccountsPaginator(ListAutomatedDiscoveryAccountsRequest listAutomatedDiscoveryAccountsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsIterable responses = client.listAutomatedDiscoveryAccountsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsIterable responses = client .listAutomatedDiscoveryAccountsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsIterable responses = client.listAutomatedDiscoveryAccountsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)
operation.- Parameters:
listAutomatedDiscoveryAccountsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listAutomatedDiscoveryAccountsPaginator
default ListAutomatedDiscoveryAccountsIterable listAutomatedDiscoveryAccountsPaginator(Consumer<ListAutomatedDiscoveryAccountsRequest.Builder> listAutomatedDiscoveryAccountsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsIterable responses = client.listAutomatedDiscoveryAccountsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsIterable responses = client .listAutomatedDiscoveryAccountsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListAutomatedDiscoveryAccountsIterable responses = client.listAutomatedDiscoveryAccountsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAutomatedDiscoveryAccounts(software.amazon.awssdk.services.macie2.model.ListAutomatedDiscoveryAccountsRequest)
operation.
This is a convenience which creates an instance of the
ListAutomatedDiscoveryAccountsRequest.Builder
avoiding the need to create one manually viaListAutomatedDiscoveryAccountsRequest.builder()
- Parameters:
listAutomatedDiscoveryAccountsRequest
- AConsumer
that will call methods onListAutomatedDiscoveryAccountsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listClassificationJobs
default ListClassificationJobsResponse listClassificationJobs(ListClassificationJobsRequest listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about one or more classification jobs.
- Parameters:
listClassificationJobsRequest
-- Returns:
- Result of the ListClassificationJobs operation returned by the service.
- See Also:
-
listClassificationJobs
default ListClassificationJobsResponse listClassificationJobs(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about one or more classification jobs.
This is a convenience which creates an instance of the
ListClassificationJobsRequest.Builder
avoiding the need to create one manually viaListClassificationJobsRequest.builder()
- Parameters:
listClassificationJobsRequest
- AConsumer
that will call methods onListClassificationJobsRequest.Builder
to create a request.- Returns:
- Result of the ListClassificationJobs operation returned by the service.
- See Also:
-
listClassificationJobsPaginator
default ListClassificationJobsIterable listClassificationJobsPaginator(ListClassificationJobsRequest listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsIterable responses = client.listClassificationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsIterable responses = client .listClassificationJobsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsIterable responses = client.listClassificationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.- Parameters:
listClassificationJobsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listClassificationJobsPaginator
default ListClassificationJobsIterable listClassificationJobsPaginator(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsIterable responses = client.listClassificationJobsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsIterable responses = client .listClassificationJobsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListClassificationJobsIterable responses = client.listClassificationJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)
operation.
This is a convenience which creates an instance of the
ListClassificationJobsRequest.Builder
avoiding the need to create one manually viaListClassificationJobsRequest.builder()
- Parameters:
listClassificationJobsRequest
- AConsumer
that will call methods onListClassificationJobsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listClassificationScopes
default ListClassificationScopesResponse listClassificationScopes(ListClassificationScopesRequest listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about the classification scope for an account.
- Parameters:
listClassificationScopesRequest
-- Returns:
- Result of the ListClassificationScopes operation returned by the service.
- See Also:
-
listClassificationScopes
default ListClassificationScopesResponse listClassificationScopes(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about the classification scope for an account.
This is a convenience which creates an instance of the
ListClassificationScopesRequest.Builder
avoiding the need to create one manually viaListClassificationScopesRequest.builder()
- Parameters:
listClassificationScopesRequest
- AConsumer
that will call methods onListClassificationScopesRequest.Builder
to create a request.- Returns:
- Result of the ListClassificationScopes operation returned by the service.
- See Also:
-
listClassificationScopesPaginator
default ListClassificationScopesIterable listClassificationScopesPaginator(ListClassificationScopesRequest listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client .listClassificationScopesPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.- Parameters:
listClassificationScopesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listClassificationScopesPaginator
default ListClassificationScopesIterable listClassificationScopesPaginator(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client .listClassificationScopesPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListClassificationScopesIterable responses = client.listClassificationScopesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)
operation.
This is a convenience which creates an instance of the
ListClassificationScopesRequest.Builder
avoiding the need to create one manually viaListClassificationScopesRequest.builder()
- Parameters:
listClassificationScopesRequest
- AConsumer
that will call methods onListClassificationScopesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomDataIdentifiers
default ListCustomDataIdentifiersResponse listCustomDataIdentifiers(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about all the custom data identifiers for an account.
- Parameters:
listCustomDataIdentifiersRequest
-- Returns:
- Result of the ListCustomDataIdentifiers operation returned by the service.
- See Also:
-
listCustomDataIdentifiers
default ListCustomDataIdentifiersResponse listCustomDataIdentifiers(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about all the custom data identifiers for an account.
This is a convenience which creates an instance of the
ListCustomDataIdentifiersRequest.Builder
avoiding the need to create one manually viaListCustomDataIdentifiersRequest.builder()
- Parameters:
listCustomDataIdentifiersRequest
- AConsumer
that will call methods onListCustomDataIdentifiersRequest.Builder
to create a request.- Returns:
- Result of the ListCustomDataIdentifiers operation returned by the service.
- See Also:
-
listCustomDataIdentifiersPaginator
default ListCustomDataIdentifiersIterable listCustomDataIdentifiersPaginator(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersIterable responses = client.listCustomDataIdentifiersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersIterable responses = client .listCustomDataIdentifiersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersIterable responses = client.listCustomDataIdentifiersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation.- Parameters:
listCustomDataIdentifiersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listCustomDataIdentifiersPaginator
default ListCustomDataIdentifiersIterable listCustomDataIdentifiersPaginator(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersIterable responses = client.listCustomDataIdentifiersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersIterable responses = client .listCustomDataIdentifiersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersIterable responses = client.listCustomDataIdentifiersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest)
operation.
This is a convenience which creates an instance of the
ListCustomDataIdentifiersRequest.Builder
avoiding the need to create one manually viaListCustomDataIdentifiersRequest.builder()
- Parameters:
listCustomDataIdentifiersRequest
- AConsumer
that will call methods onListCustomDataIdentifiersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(ListFindingsRequest listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about one or more findings.
- Parameters:
listFindingsRequest
-- Returns:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindings
default ListFindingsResponse listFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about one or more findings.
This is a convenience which creates an instance of the
ListFindingsRequest.Builder
avoiding the need to create one manually viaListFindingsRequest.builder()
- Parameters:
listFindingsRequest
- AConsumer
that will call methods onListFindingsRequest.Builder
to create a request.- Returns:
- Result of the ListFindings operation returned by the service.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(ListFindingsRequest listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListFindingsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation.- Parameters:
listFindingsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingsPaginator
default ListFindingsIterable listFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListFindingsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListFindingsIterable responses = client.listFindingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)
operation.
This is a convenience which creates an instance of the
ListFindingsRequest.Builder
avoiding the need to create one manually viaListFindingsRequest.builder()
- Parameters:
listFindingsRequest
- AConsumer
that will call methods onListFindingsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingsFilters
default ListFindingsFiltersResponse listFindingsFilters(ListFindingsFiltersRequest listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about all the findings filters for an account.
- Parameters:
listFindingsFiltersRequest
-- Returns:
- Result of the ListFindingsFilters operation returned by the service.
- See Also:
-
listFindingsFilters
default ListFindingsFiltersResponse listFindingsFilters(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about all the findings filters for an account.
This is a convenience which creates an instance of the
ListFindingsFiltersRequest.Builder
avoiding the need to create one manually viaListFindingsFiltersRequest.builder()
- Parameters:
listFindingsFiltersRequest
- AConsumer
that will call methods onListFindingsFiltersRequest.Builder
to create a request.- Returns:
- Result of the ListFindingsFilters operation returned by the service.
- See Also:
-
listFindingsFiltersPaginator
default ListFindingsFiltersIterable listFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersIterable responses = client.listFindingsFiltersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersIterable responses = client .listFindingsFiltersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersIterable responses = client.listFindingsFiltersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.- Parameters:
listFindingsFiltersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFindingsFiltersPaginator
default ListFindingsFiltersIterable listFindingsFiltersPaginator(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersIterable responses = client.listFindingsFiltersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersIterable responses = client .listFindingsFiltersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersIterable responses = client.listFindingsFiltersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)
operation.
This is a convenience which creates an instance of the
ListFindingsFiltersRequest.Builder
avoiding the need to create one manually viaListFindingsFiltersRequest.builder()
- Parameters:
listFindingsFiltersRequest
- AConsumer
that will call methods onListFindingsFiltersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitations
default ListInvitationsResponse listInvitations(ListInvitationsRequest listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about Amazon Macie membership invitations that were received by an account.
- Parameters:
listInvitationsRequest
-- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitations
default ListInvitationsResponse listInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about Amazon Macie membership invitations that were received by an account.
This is a convenience which creates an instance of the
ListInvitationsRequest.Builder
avoiding the need to create one manually viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to create a request.- Returns:
- Result of the ListInvitations operation returned by the service.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator(ListInvitationsRequest listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListInvitationsIterable responses = client .listInvitationsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation.- Parameters:
listInvitationsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInvitationsPaginator
default ListInvitationsIterable listInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListInvitationsIterable responses = client .listInvitationsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListInvitationsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListInvitationsIterable responses = client.listInvitationsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)
operation.
This is a convenience which creates an instance of the
ListInvitationsRequest.Builder
avoiding the need to create one manually viaListInvitationsRequest.builder()
- Parameters:
listInvitationsRequest
- AConsumer
that will call methods onListInvitationsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedDataIdentifiers
default ListManagedDataIdentifiersResponse listManagedDataIdentifiers(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
- Parameters:
listManagedDataIdentifiersRequest
-- Returns:
- Result of the ListManagedDataIdentifiers operation returned by the service.
- See Also:
-
listManagedDataIdentifiers
default ListManagedDataIdentifiersResponse listManagedDataIdentifiers(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception Retrieves information about all the managed data identifiers that Amazon Macie currently provides.
This is a convenience which creates an instance of the
ListManagedDataIdentifiersRequest.Builder
avoiding the need to create one manually viaListManagedDataIdentifiersRequest.builder()
- Parameters:
listManagedDataIdentifiersRequest
- AConsumer
that will call methods onListManagedDataIdentifiersRequest.Builder
to create a request.- Returns:
- Result of the ListManagedDataIdentifiers operation returned by the service.
- See Also:
-
listManagedDataIdentifiersPaginator
default ListManagedDataIdentifiersIterable listManagedDataIdentifiersPaginator(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client .listManagedDataIdentifiersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.- Parameters:
listManagedDataIdentifiersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listManagedDataIdentifiersPaginator
default ListManagedDataIdentifiersIterable listManagedDataIdentifiersPaginator(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest) throws AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client .listManagedDataIdentifiersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersIterable responses = client.listManagedDataIdentifiersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest)
operation.
This is a convenience which creates an instance of the
ListManagedDataIdentifiersRequest.Builder
avoiding the need to create one manually viaListManagedDataIdentifiersRequest.builder()
- Parameters:
listManagedDataIdentifiersRequest
- AConsumer
that will call methods onListManagedDataIdentifiersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembers
default ListMembersResponse listMembers(ListMembersRequest listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
- Parameters:
listMembersRequest
-- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembers
default ListMembersResponse listMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the accounts that are associated with an Amazon Macie administrator account.
This is a convenience which creates an instance of the
ListMembersRequest.Builder
avoiding the need to create one manually viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to create a request.- Returns:
- Result of the ListMembers operation returned by the service.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(ListMembersRequest listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListMembersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation.- Parameters:
listMembersRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listMembersPaginator
default ListMembersIterable listMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListMembersResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListMembersIterable responses = client.listMembersPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)
operation.
This is a convenience which creates an instance of the
ListMembersRequest.Builder
avoiding the need to create one manually viaListMembersRequest.builder()
- Parameters:
listMembersRequest
- AConsumer
that will call methods onListMembersRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationAdminAccounts
default ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
- Parameters:
listOrganizationAdminAccountsRequest
-- Returns:
- Result of the ListOrganizationAdminAccounts operation returned by the service.
- See Also:
-
listOrganizationAdminAccounts
default ListOrganizationAdminAccountsResponse listOrganizationAdminAccounts(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.
This is a convenience which creates an instance of the
ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()
- Parameters:
listOrganizationAdminAccountsRequest
- AConsumer
that will call methods onListOrganizationAdminAccountsRequest.Builder
to create a request.- Returns:
- Result of the ListOrganizationAdminAccounts operation returned by the service.
- See Also:
-
listOrganizationAdminAccountsPaginator
default ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsIterable responses = client .listOrganizationAdminAccountsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.- Parameters:
listOrganizationAdminAccountsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOrganizationAdminAccountsPaginator
default ListOrganizationAdminAccountsIterable listOrganizationAdminAccountsPaginator(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsIterable responses = client .listOrganizationAdminAccountsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsIterable responses = client.listOrganizationAdminAccountsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest)
operation.
This is a convenience which creates an instance of the
ListOrganizationAdminAccountsRequest.Builder
avoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()
- Parameters:
listOrganizationAdminAccountsRequest
- AConsumer
that will call methods onListOrganizationAdminAccountsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceProfileArtifacts
default ListResourceProfileArtifactsResponse listResourceProfileArtifacts(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about objects that Amazon Macie selected from an S3 bucket for automated sensitive data discovery.
- Parameters:
listResourceProfileArtifactsRequest
-- Returns:
- Result of the ListResourceProfileArtifacts operation returned by the service.
- See Also:
-
listResourceProfileArtifacts
default ListResourceProfileArtifactsResponse listResourceProfileArtifacts(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception 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.Builder
avoiding the need to create one manually viaListResourceProfileArtifactsRequest.builder()
- Parameters:
listResourceProfileArtifactsRequest
- AConsumer
that will call methods onListResourceProfileArtifactsRequest.Builder
to create a request.- Returns:
- Result of the ListResourceProfileArtifacts operation returned by the service.
- See Also:
-
listResourceProfileArtifactsPaginator
default ListResourceProfileArtifactsIterable listResourceProfileArtifactsPaginator(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client .listResourceProfileArtifactsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation.- Parameters:
listResourceProfileArtifactsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceProfileArtifactsPaginator
default ListResourceProfileArtifactsIterable listResourceProfileArtifactsPaginator(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client .listResourceProfileArtifactsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsIterable responses = client.listResourceProfileArtifactsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest)
operation.
This is a convenience which creates an instance of the
ListResourceProfileArtifactsRequest.Builder
avoiding the need to create one manually viaListResourceProfileArtifactsRequest.builder()
- Parameters:
listResourceProfileArtifactsRequest
- AConsumer
that will call methods onListResourceProfileArtifactsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceProfileDetections
default ListResourceProfileDetectionsResponse listResourceProfileDetections(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
- Parameters:
listResourceProfileDetectionsRequest
-- Returns:
- Result of the ListResourceProfileDetections operation returned by the service.
- See Also:
-
listResourceProfileDetections
default ListResourceProfileDetectionsResponse listResourceProfileDetections(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.
This is a convenience which creates an instance of the
ListResourceProfileDetectionsRequest.Builder
avoiding the need to create one manually viaListResourceProfileDetectionsRequest.builder()
- Parameters:
listResourceProfileDetectionsRequest
- AConsumer
that will call methods onListResourceProfileDetectionsRequest.Builder
to create a request.- Returns:
- Result of the ListResourceProfileDetections operation returned by the service.
- See Also:
-
listResourceProfileDetectionsPaginator
default ListResourceProfileDetectionsIterable listResourceProfileDetectionsPaginator(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client .listResourceProfileDetectionsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation.- Parameters:
listResourceProfileDetectionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listResourceProfileDetectionsPaginator
default ListResourceProfileDetectionsIterable listResourceProfileDetectionsPaginator(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client .listResourceProfileDetectionsPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsIterable responses = client.listResourceProfileDetectionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest)
operation.
This is a convenience which creates an instance of the
ListResourceProfileDetectionsRequest.Builder
avoiding the need to create one manually viaListResourceProfileDetectionsRequest.builder()
- Parameters:
listResourceProfileDetectionsRequest
- AConsumer
that will call methods onListResourceProfileDetectionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSensitivityInspectionTemplates
default ListSensitivityInspectionTemplatesResponse listSensitivityInspectionTemplates(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about the sensitivity inspection template for an account.
- Parameters:
listSensitivityInspectionTemplatesRequest
-- Returns:
- Result of the ListSensitivityInspectionTemplates operation returned by the service.
- See Also:
-
listSensitivityInspectionTemplates
default ListSensitivityInspectionTemplatesResponse listSensitivityInspectionTemplates(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Retrieves a subset of information about the sensitivity inspection template for an account.
This is a convenience which creates an instance of the
ListSensitivityInspectionTemplatesRequest.Builder
avoiding the need to create one manually viaListSensitivityInspectionTemplatesRequest.builder()
- Parameters:
listSensitivityInspectionTemplatesRequest
- AConsumer
that will call methods onListSensitivityInspectionTemplatesRequest.Builder
to create a request.- Returns:
- Result of the ListSensitivityInspectionTemplates operation returned by the service.
- See Also:
-
listSensitivityInspectionTemplatesPaginator
default ListSensitivityInspectionTemplatesIterable listSensitivityInspectionTemplatesPaginator(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client .listSensitivityInspectionTemplatesPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation.- Parameters:
listSensitivityInspectionTemplatesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSensitivityInspectionTemplatesPaginator
default ListSensitivityInspectionTemplatesIterable listSensitivityInspectionTemplatesPaginator(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest) throws ThrottlingException, ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client .listSensitivityInspectionTemplatesPaginator(request); for (software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesIterable responses = client.listSensitivityInspectionTemplatesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest)
operation.
This is a convenience which creates an instance of the
ListSensitivityInspectionTemplatesRequest.Builder
avoiding the need to create one manually viaListSensitivityInspectionTemplatesRequest.builder()
- Parameters:
listSensitivityInspectionTemplatesRequest
- AConsumer
that will call methods onListSensitivityInspectionTemplatesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putClassificationExportConfiguration
default PutClassificationExportConfigurationResponse putClassificationExportConfiguration(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Adds or updates the configuration settings for storing data classification results.
- Parameters:
putClassificationExportConfigurationRequest
-- Returns:
- Result of the PutClassificationExportConfiguration operation returned by the service.
- See Also:
-
putClassificationExportConfiguration
default PutClassificationExportConfigurationResponse putClassificationExportConfiguration(Consumer<PutClassificationExportConfigurationRequest.Builder> putClassificationExportConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Adds or updates the configuration settings for storing data classification results.
This is a convenience which creates an instance of the
PutClassificationExportConfigurationRequest.Builder
avoiding the need to create one manually viaPutClassificationExportConfigurationRequest.builder()
- Parameters:
putClassificationExportConfigurationRequest
- AConsumer
that will call methods onPutClassificationExportConfigurationRequest.Builder
to create a request.- Returns:
- Result of the PutClassificationExportConfiguration operation returned by the service.
- See Also:
-
putFindingsPublicationConfiguration
default PutFindingsPublicationConfigurationResponse putFindingsPublicationConfiguration(PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Updates the configuration settings for publishing findings to Security Hub.
- Parameters:
putFindingsPublicationConfigurationRequest
-- Returns:
- Result of the PutFindingsPublicationConfiguration operation returned by the service.
- See Also:
-
putFindingsPublicationConfiguration
default PutFindingsPublicationConfigurationResponse putFindingsPublicationConfiguration(Consumer<PutFindingsPublicationConfigurationRequest.Builder> putFindingsPublicationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Updates the configuration settings for publishing findings to Security Hub.
This is a convenience which creates an instance of the
PutFindingsPublicationConfigurationRequest.Builder
avoiding the need to create one manually viaPutFindingsPublicationConfigurationRequest.builder()
- Parameters:
putFindingsPublicationConfigurationRequest
- AConsumer
that will call methods onPutFindingsPublicationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the PutFindingsPublicationConfiguration operation returned by the service.
- See Also:
-
searchResources
default SearchResourcesResponse searchResources(SearchResourcesRequest searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
- Parameters:
searchResourcesRequest
-- Returns:
- Result of the SearchResources operation returned by the service.
- See Also:
-
searchResources
default SearchResourcesResponse searchResources(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.
This is a convenience which creates an instance of the
SearchResourcesRequest.Builder
avoiding the need to create one manually viaSearchResourcesRequest.builder()
- Parameters:
searchResourcesRequest
- AConsumer
that will call methods onSearchResourcesRequest.Builder
to create a request.- Returns:
- Result of the SearchResources operation returned by the service.
- See Also:
-
searchResourcesPaginator
default SearchResourcesIterable searchResourcesPaginator(SearchResourcesRequest searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesIterable responses = client.searchResourcesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.SearchResourcesIterable responses = client .searchResourcesPaginator(request); for (software.amazon.awssdk.services.macie2.model.SearchResourcesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesIterable responses = client.searchResourcesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation.- Parameters:
searchResourcesRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
searchResourcesPaginator
default SearchResourcesIterable searchResourcesPaginator(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception This is a variant of
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Streamsoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesIterable responses = client.searchResourcesPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.macie2.paginators.SearchResourcesIterable responses = client .searchResourcesPaginator(request); for (software.amazon.awssdk.services.macie2.model.SearchResourcesResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.macie2.paginators.SearchResourcesIterable responses = client.searchResourcesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)
operation.
This is a convenience which creates an instance of the
SearchResourcesRequest.Builder
avoiding the need to create one manually viaSearchResourcesRequest.builder()
- Parameters:
searchResourcesRequest
- AConsumer
that will call methods onSearchResourcesRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
testCustomDataIdentifier
default TestCustomDataIdentifierResponse testCustomDataIdentifier(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Tests criteria for a custom data identifier.
- Parameters:
testCustomDataIdentifierRequest
-- Returns:
- Result of the TestCustomDataIdentifier operation returned by the service.
- See Also:
-
testCustomDataIdentifier
default TestCustomDataIdentifierResponse testCustomDataIdentifier(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Tests criteria for a custom data identifier.
This is a convenience which creates an instance of the
TestCustomDataIdentifierRequest.Builder
avoiding the need to create one manually viaTestCustomDataIdentifierRequest.builder()
- Parameters:
testCustomDataIdentifierRequest
- AConsumer
that will call methods onTestCustomDataIdentifierRequest.Builder
to create a request.- Returns:
- Result of the TestCustomDataIdentifier operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception Removes one or more tags (keys and values) from an Amazon Macie resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws AwsServiceException, SdkClientException, Macie2Exception Removes one or more tags (keys and values) from an Amazon Macie resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAllowList
default UpdateAllowListResponse updateAllowList(UpdateAllowListRequest updateAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the settings for an allow list.
- Parameters:
updateAllowListRequest
-- Returns:
- Result of the UpdateAllowList operation returned by the service.
- See Also:
-
updateAllowList
default UpdateAllowListResponse updateAllowList(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the settings for an allow list.
This is a convenience which creates an instance of the
UpdateAllowListRequest.Builder
avoiding the need to create one manually viaUpdateAllowListRequest.builder()
- Parameters:
updateAllowListRequest
- AConsumer
that will call methods onUpdateAllowListRequest.Builder
to create a request.- Returns:
- Result of the UpdateAllowList operation returned by the service.
- See Also:
-
updateAutomatedDiscoveryConfiguration
default UpdateAutomatedDiscoveryConfigurationResponse updateAutomatedDiscoveryConfiguration(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Changes the configuration settings and status of automated sensitive data discovery for an organization or standalone account.
- Parameters:
updateAutomatedDiscoveryConfigurationRequest
-- Returns:
- Result of the UpdateAutomatedDiscoveryConfiguration operation returned by the service.
- See Also:
-
updateAutomatedDiscoveryConfiguration
default UpdateAutomatedDiscoveryConfigurationResponse updateAutomatedDiscoveryConfiguration(Consumer<UpdateAutomatedDiscoveryConfigurationRequest.Builder> updateAutomatedDiscoveryConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception 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.Builder
avoiding the need to create one manually viaUpdateAutomatedDiscoveryConfigurationRequest.builder()
- Parameters:
updateAutomatedDiscoveryConfigurationRequest
- AConsumer
that will call methods onUpdateAutomatedDiscoveryConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateAutomatedDiscoveryConfiguration operation returned by the service.
- See Also:
-
updateClassificationJob
default UpdateClassificationJobResponse updateClassificationJob(UpdateClassificationJobRequest updateClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Changes the status of a classification job.
- Parameters:
updateClassificationJobRequest
-- Returns:
- Result of the UpdateClassificationJob operation returned by the service.
- See Also:
-
updateClassificationJob
default UpdateClassificationJobResponse updateClassificationJob(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Changes the status of a classification job.
This is a convenience which creates an instance of the
UpdateClassificationJobRequest.Builder
avoiding the need to create one manually viaUpdateClassificationJobRequest.builder()
- Parameters:
updateClassificationJobRequest
- AConsumer
that will call methods onUpdateClassificationJobRequest.Builder
to create a request.- Returns:
- Result of the UpdateClassificationJob operation returned by the service.
- See Also:
-
updateClassificationScope
default UpdateClassificationScopeResponse updateClassificationScope(UpdateClassificationScopeRequest updateClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the classification scope settings for an account.
- Parameters:
updateClassificationScopeRequest
-- Returns:
- Result of the UpdateClassificationScope operation returned by the service.
- See Also:
-
updateClassificationScope
default UpdateClassificationScopeResponse updateClassificationScope(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the classification scope settings for an account.
This is a convenience which creates an instance of the
UpdateClassificationScopeRequest.Builder
avoiding the need to create one manually viaUpdateClassificationScopeRequest.builder()
- Parameters:
updateClassificationScopeRequest
- AConsumer
that will call methods onUpdateClassificationScopeRequest.Builder
to create a request.- Returns:
- Result of the UpdateClassificationScope operation returned by the service.
- See Also:
-
updateFindingsFilter
default UpdateFindingsFilterResponse updateFindingsFilter(UpdateFindingsFilterRequest updateFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Updates the criteria and other settings for a findings filter.
- Parameters:
updateFindingsFilterRequest
-- Returns:
- Result of the UpdateFindingsFilter operation returned by the service.
- See Also:
-
updateFindingsFilter
default UpdateFindingsFilterResponse updateFindingsFilter(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Updates the criteria and other settings for a findings filter.
This is a convenience which creates an instance of the
UpdateFindingsFilterRequest.Builder
avoiding the need to create one manually viaUpdateFindingsFilterRequest.builder()
- Parameters:
updateFindingsFilterRequest
- AConsumer
that will call methods onUpdateFindingsFilterRequest.Builder
to create a request.- Returns:
- Result of the UpdateFindingsFilter operation returned by the service.
- See Also:
-
updateMacieSession
default UpdateMacieSessionResponse updateMacieSession(UpdateMacieSessionRequest updateMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
- Parameters:
updateMacieSessionRequest
-- Returns:
- Result of the UpdateMacieSession operation returned by the service.
- See Also:
-
updateMacieSession
default UpdateMacieSessionResponse updateMacieSession(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.
This is a convenience which creates an instance of the
UpdateMacieSessionRequest.Builder
avoiding the need to create one manually viaUpdateMacieSessionRequest.builder()
- Parameters:
updateMacieSessionRequest
- AConsumer
that will call methods onUpdateMacieSessionRequest.Builder
to create a request.- Returns:
- Result of the UpdateMacieSession operation returned by the service.
- See Also:
-
updateMemberSession
default UpdateMemberSessionResponse updateMemberSession(UpdateMemberSessionRequest updateMemberSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
- Parameters:
updateMemberSessionRequest
-- Returns:
- Result of the UpdateMemberSession operation returned by the service.
- See Also:
-
updateMemberSession
default UpdateMemberSessionResponse updateMemberSession(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.
This is a convenience which creates an instance of the
UpdateMemberSessionRequest.Builder
avoiding the need to create one manually viaUpdateMemberSessionRequest.builder()
- Parameters:
updateMemberSessionRequest
- AConsumer
that will call methods onUpdateMemberSessionRequest.Builder
to create a request.- Returns:
- Result of the UpdateMemberSession operation returned by the service.
- See Also:
-
updateOrganizationConfiguration
default UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Updates the Amazon Macie configuration settings for an organization in Organizations.
- Parameters:
updateOrganizationConfigurationRequest
-- Returns:
- Result of the UpdateOrganizationConfiguration operation returned by the service.
- See Also:
-
updateOrganizationConfiguration
default UpdateOrganizationConfigurationResponse updateOrganizationConfiguration(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, ConflictException, AwsServiceException, SdkClientException, Macie2Exception Updates the Amazon Macie configuration settings for an organization in Organizations.
This is a convenience which creates an instance of the
UpdateOrganizationConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateOrganizationConfigurationRequest.builder()
- Parameters:
updateOrganizationConfigurationRequest
- AConsumer
that will call methods onUpdateOrganizationConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateOrganizationConfiguration operation returned by the service.
- See Also:
-
updateResourceProfile
default UpdateResourceProfileResponse updateResourceProfile(UpdateResourceProfileRequest updateResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Updates the sensitivity score for an S3 bucket.
- Parameters:
updateResourceProfileRequest
-- Returns:
- Result of the UpdateResourceProfile operation returned by the service.
- See Also:
-
updateResourceProfile
default UpdateResourceProfileResponse updateResourceProfile(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Updates the sensitivity score for an S3 bucket.
This is a convenience which creates an instance of the
UpdateResourceProfileRequest.Builder
avoiding the need to create one manually viaUpdateResourceProfileRequest.builder()
- Parameters:
updateResourceProfileRequest
- AConsumer
that will call methods onUpdateResourceProfileRequest.Builder
to create a request.- Returns:
- Result of the UpdateResourceProfile operation returned by the service.
- See Also:
-
updateResourceProfileDetections
default UpdateResourceProfileDetectionsResponse updateResourceProfileDetections(UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Updates the sensitivity scoring settings for an S3 bucket.
- Parameters:
updateResourceProfileDetectionsRequest
-- Returns:
- Result of the UpdateResourceProfileDetections operation returned by the service.
- See Also:
-
updateResourceProfileDetections
default UpdateResourceProfileDetectionsResponse updateResourceProfileDetections(Consumer<UpdateResourceProfileDetectionsRequest.Builder> updateResourceProfileDetectionsRequest) throws ValidationException, InternalServerException, ServiceQuotaExceededException, AccessDeniedException, ResourceNotFoundException, ThrottlingException, AwsServiceException, SdkClientException, Macie2Exception Updates the sensitivity scoring settings for an S3 bucket.
This is a convenience which creates an instance of the
UpdateResourceProfileDetectionsRequest.Builder
avoiding the need to create one manually viaUpdateResourceProfileDetectionsRequest.builder()
- Parameters:
updateResourceProfileDetectionsRequest
- AConsumer
that will call methods onUpdateResourceProfileDetectionsRequest.Builder
to create a request.- Returns:
- Result of the UpdateResourceProfileDetections operation returned by the service.
- See Also:
-
updateRevealConfiguration
default UpdateRevealConfigurationResponse updateRevealConfiguration(UpdateRevealConfigurationRequest updateRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
- Parameters:
updateRevealConfigurationRequest
-- Returns:
- Result of the UpdateRevealConfiguration operation returned by the service.
- See Also:
-
updateRevealConfiguration
default UpdateRevealConfigurationResponse updateRevealConfiguration(Consumer<UpdateRevealConfigurationRequest.Builder> updateRevealConfigurationRequest) throws ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.
This is a convenience which creates an instance of the
UpdateRevealConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateRevealConfigurationRequest.builder()
- Parameters:
updateRevealConfigurationRequest
- AConsumer
that will call methods onUpdateRevealConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateRevealConfiguration operation returned by the service.
- See Also:
-
updateSensitivityInspectionTemplate
default UpdateSensitivityInspectionTemplateResponse updateSensitivityInspectionTemplate(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the settings for the sensitivity inspection template for an account.
- Parameters:
updateSensitivityInspectionTemplateRequest
-- Returns:
- Result of the UpdateSensitivityInspectionTemplate operation returned by the service.
- See Also:
-
updateSensitivityInspectionTemplate
default UpdateSensitivityInspectionTemplateResponse updateSensitivityInspectionTemplate(Consumer<UpdateSensitivityInspectionTemplateRequest.Builder> updateSensitivityInspectionTemplateRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InternalServerException, AccessDeniedException, AwsServiceException, SdkClientException, Macie2Exception Updates the settings for the sensitivity inspection template for an account.
This is a convenience which creates an instance of the
UpdateSensitivityInspectionTemplateRequest.Builder
avoiding the need to create one manually viaUpdateSensitivityInspectionTemplateRequest.builder()
- Parameters:
updateSensitivityInspectionTemplateRequest
- AConsumer
that will call methods onUpdateSensitivityInspectionTemplateRequest.Builder
to create a request.- Returns:
- Result of the UpdateSensitivityInspectionTemplate operation returned by the service.
- See Also:
-
waiter
Create an instance ofMacie2Waiter
using this client.Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.
- Returns:
- an instance of
Macie2Waiter
-
create
Create aMacie2Client
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aMacie2Client
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-