Interface Macie2Client
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
Amazon Macie
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptiondefault AcceptInvitationResponseacceptInvitation(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest) Accepts an Amazon Macie membership invitation that was received from a specific account.default AcceptInvitationResponseacceptInvitation(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 Macie2ClientBuilderbuilder()Create a builder that can be used to configure and create aMacie2Client.static Macie2Clientcreate()Create aMacie2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAllowListResponsecreateAllowList(Consumer<CreateAllowListRequest.Builder> createAllowListRequest) Creates and defines the settings for an allow list.default CreateAllowListResponsecreateAllowList(CreateAllowListRequest createAllowListRequest) Creates and defines the settings for an allow list.default CreateClassificationJobResponsecreateClassificationJob(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest) Creates and defines the settings for a classification job.default CreateClassificationJobResponsecreateClassificationJob(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 CreateFindingsFilterResponsecreateFindingsFilter(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.default CreateFindingsFilterResponsecreateFindingsFilter(CreateFindingsFilterRequest createFindingsFilterRequest) Creates and defines the criteria and other settings for a findings filter.default CreateInvitationsResponsecreateInvitations(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.default CreateInvitationsResponsecreateInvitations(CreateInvitationsRequest createInvitationsRequest) Sends an Amazon Macie membership invitation to one or more accounts.default CreateMemberResponsecreateMember(Consumer<CreateMemberRequest.Builder> createMemberRequest) Associates an account with an Amazon Macie administrator account.default CreateMemberResponsecreateMember(CreateMemberRequest createMemberRequest) Associates an account with an Amazon Macie administrator account.default CreateSampleFindingsResponsecreateSampleFindings(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest) Creates sample findings.default CreateSampleFindingsResponsecreateSampleFindings(CreateSampleFindingsRequest createSampleFindingsRequest) Creates sample findings.default DeclineInvitationsResponsedeclineInvitations(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.default DeclineInvitationsResponsedeclineInvitations(DeclineInvitationsRequest declineInvitationsRequest) Declines Amazon Macie membership invitations that were received from specific accounts.default DeleteAllowListResponsedeleteAllowList(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest) Deletes an allow list.default DeleteAllowListResponsedeleteAllowList(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 DeleteFindingsFilterResponsedeleteFindingsFilter(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest) Deletes a findings filter.default DeleteFindingsFilterResponsedeleteFindingsFilter(DeleteFindingsFilterRequest deleteFindingsFilterRequest) Deletes a findings filter.default DeleteInvitationsResponsedeleteInvitations(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.default DeleteInvitationsResponsedeleteInvitations(DeleteInvitationsRequest deleteInvitationsRequest) Deletes Amazon Macie membership invitations that were received from specific accounts.default DeleteMemberResponsedeleteMember(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.default DeleteMemberResponsedeleteMember(DeleteMemberRequest deleteMemberRequest) Deletes the association between an Amazon Macie administrator account and an account.default DescribeBucketsResponsedescribeBuckets(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 DescribeBucketsResponsedescribeBuckets(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 DescribeBucketsIterabledescribeBucketsPaginator(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest) This is a variant ofdescribeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest)operation.default DescribeBucketsIterabledescribeBucketsPaginator(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 DisableMacieResponsedisableMacie(Consumer<DisableMacieRequest.Builder> disableMacieRequest) Disables Amazon Macie and deletes all settings and resources for a Macie account.default DisableMacieResponsedisableMacie(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 DisassociateMemberResponsedisassociateMember(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.default DisassociateMemberResponsedisassociateMember(DisassociateMemberRequest disassociateMemberRequest) Disassociates an Amazon Macie administrator account from a member account.default EnableMacieResponseenableMacie(Consumer<EnableMacieRequest.Builder> enableMacieRequest) Enables Amazon Macie and specifies the configuration settings for a Macie account.default EnableMacieResponseenableMacie(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 GetAdministratorAccountResponsegetAdministratorAccount(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.default GetAdministratorAccountResponsegetAdministratorAccount(GetAdministratorAccountRequest getAdministratorAccountRequest) Retrieves information about the Amazon Macie administrator account for an account.default GetAllowListResponsegetAllowList(Consumer<GetAllowListRequest.Builder> getAllowListRequest) Retrieves the settings and status of an allow list.default GetAllowListResponsegetAllowList(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 GetBucketStatisticsResponsegetBucketStatistics(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest) Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.default GetBucketStatisticsResponsegetBucketStatistics(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 GetClassificationScopeResponsegetClassificationScope(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest) Retrieves the classification scope settings for an account.default GetClassificationScopeResponsegetClassificationScope(GetClassificationScopeRequest getClassificationScopeRequest) Retrieves the classification scope settings for an account.default GetCustomDataIdentifierResponsegetCustomDataIdentifier(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.default GetCustomDataIdentifierResponsegetCustomDataIdentifier(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest) Retrieves the criteria and other settings for a custom data identifier.default GetFindingsResponsegetFindings(Consumer<GetFindingsRequest.Builder> getFindingsRequest) Retrieves the details of one or more findings.default GetFindingsResponsegetFindings(GetFindingsRequest getFindingsRequest) Retrieves the details of one or more findings.default GetFindingsFilterResponsegetFindingsFilter(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest) Retrieves the criteria and other settings for a findings filter.default GetFindingsFilterResponsegetFindingsFilter(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 GetFindingStatisticsResponsegetFindingStatistics(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.default GetFindingStatisticsResponsegetFindingStatistics(GetFindingStatisticsRequest getFindingStatisticsRequest) Retrieves (queries) aggregated statistical data about findings.default GetInvitationsCountResponsegetInvitationsCount(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.default GetInvitationsCountResponsegetInvitationsCount(GetInvitationsCountRequest getInvitationsCountRequest) Retrieves the count of Amazon Macie membership invitations that were received by an account.default GetMacieSessionResponsegetMacieSession(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.default GetMacieSessionResponsegetMacieSession(GetMacieSessionRequest getMacieSessionRequest) Retrieves the status and configuration settings for an Amazon Macie account.default GetMasterAccountResponsegetMasterAccount(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account.default GetMasterAccountResponsegetMasterAccount(GetMasterAccountRequest getMasterAccountRequest) (Deprecated) Retrieves information about the Amazon Macie administrator account for an account.default GetMemberResponsegetMember(Consumer<GetMemberRequest.Builder> getMemberRequest) Retrieves information about an account that's associated with an Amazon Macie administrator account.default GetMemberResponsegetMember(GetMemberRequest getMemberRequest) Retrieves information about an account that's associated with an Amazon Macie administrator account.default GetResourceProfileResponsegetResourceProfile(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.default GetResourceProfileResponsegetResourceProfile(GetResourceProfileRequest getResourceProfileRequest) Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.default GetRevealConfigurationResponsegetRevealConfiguration(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest) Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.default GetRevealConfigurationResponsegetRevealConfiguration(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 GetUsageStatisticsResponsegetUsageStatistics(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.default GetUsageStatisticsResponsegetUsageStatistics(GetUsageStatisticsRequest getUsageStatisticsRequest) Retrieves (queries) quotas and aggregated usage data for one or more accounts.default GetUsageStatisticsIterablegetUsageStatisticsPaginator(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)operation.default GetUsageStatisticsIterablegetUsageStatisticsPaginator(GetUsageStatisticsRequest getUsageStatisticsRequest) This is a variant ofgetUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest)operation.default GetUsageTotalsResponsegetUsageTotals(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.default GetUsageTotalsResponsegetUsageTotals(GetUsageTotalsRequest getUsageTotalsRequest) Retrieves (queries) aggregated usage data for an account.default ListAllowListsResponselistAllowLists(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.default ListAllowListsResponselistAllowLists(ListAllowListsRequest listAllowListsRequest) Retrieves a subset of information about all the allow lists for an account.default ListAllowListsIterablelistAllowListsPaginator(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest) This is a variant oflistAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest)operation.default ListAllowListsIterablelistAllowListsPaginator(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 ListClassificationJobsResponselistClassificationJobs(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.default ListClassificationJobsResponselistClassificationJobs(ListClassificationJobsRequest listClassificationJobsRequest) Retrieves a subset of information about one or more classification jobs.default ListClassificationJobsIterablelistClassificationJobsPaginator(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)operation.default ListClassificationJobsIterablelistClassificationJobsPaginator(ListClassificationJobsRequest listClassificationJobsRequest) This is a variant oflistClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest)operation.default ListClassificationScopesResponselistClassificationScopes(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.default ListClassificationScopesResponselistClassificationScopes(ListClassificationScopesRequest listClassificationScopesRequest) Retrieves a subset of information about the classification scope for an account.default ListClassificationScopesIterablelistClassificationScopesPaginator(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest) This is a variant oflistClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest)operation.default ListClassificationScopesIterablelistClassificationScopesPaginator(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 ListFindingsResponselistFindings(Consumer<ListFindingsRequest.Builder> listFindingsRequest) Retrieves a subset of information about one or more findings.default ListFindingsResponselistFindings(ListFindingsRequest listFindingsRequest) Retrieves a subset of information about one or more findings.default ListFindingsFiltersResponselistFindingsFilters(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.default ListFindingsFiltersResponselistFindingsFilters(ListFindingsFiltersRequest listFindingsFiltersRequest) Retrieves a subset of information about all the findings filters for an account.default ListFindingsFiltersIterablelistFindingsFiltersPaginator(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)operation.default ListFindingsFiltersIterablelistFindingsFiltersPaginator(ListFindingsFiltersRequest listFindingsFiltersRequest) This is a variant oflistFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest)operation.default ListFindingsIterablelistFindingsPaginator(Consumer<ListFindingsRequest.Builder> listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)operation.default ListFindingsIterablelistFindingsPaginator(ListFindingsRequest listFindingsRequest) This is a variant oflistFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest)operation.default ListInvitationsResponselistInvitations(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) Retrieves information about Amazon Macie membership invitations that were received by an account.default ListInvitationsResponselistInvitations(ListInvitationsRequest listInvitationsRequest) Retrieves information about Amazon Macie membership invitations that were received by an account.default ListInvitationsIterablelistInvitationsPaginator(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest) This is a variant oflistInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest)operation.default ListInvitationsIterablelistInvitationsPaginator(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 ListMembersResponselistMembers(Consumer<ListMembersRequest.Builder> listMembersRequest) Retrieves information about the accounts that are associated with an Amazon Macie administrator account.default ListMembersResponselistMembers(ListMembersRequest listMembersRequest) Retrieves information about the accounts that are associated with an Amazon Macie administrator account.default ListMembersIterablelistMembersPaginator(Consumer<ListMembersRequest.Builder> listMembersRequest) This is a variant oflistMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest)operation.default ListMembersIterablelistMembersPaginator(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 ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.default ListTagsForResourceResponselistTagsForResource(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 SearchResourcesResponsesearchResources(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.default SearchResourcesResponsesearchResources(SearchResourcesRequest searchResourcesRequest) Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.default SearchResourcesIterablesearchResourcesPaginator(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)operation.default SearchResourcesIterablesearchResourcesPaginator(SearchResourcesRequest searchResourcesRequest) This is a variant ofsearchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest)operation.default Macie2ServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.default TestCustomDataIdentifierResponsetestCustomDataIdentifier(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest) Tests criteria for a custom data identifier.default TestCustomDataIdentifierResponsetestCustomDataIdentifier(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest) Tests criteria for a custom data identifier.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags (keys and values) from an Amazon Macie resource.default UpdateAllowListResponseupdateAllowList(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest) Updates the settings for an allow list.default UpdateAllowListResponseupdateAllowList(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 UpdateClassificationJobResponseupdateClassificationJob(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest) Changes the status of a classification job.default UpdateClassificationJobResponseupdateClassificationJob(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 UpdateFindingsFilterResponseupdateFindingsFilter(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.default UpdateFindingsFilterResponseupdateFindingsFilter(UpdateFindingsFilterRequest updateFindingsFilterRequest) Updates the criteria and other settings for a findings filter.default UpdateMacieSessionResponseupdateMacieSession(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.default UpdateMacieSessionResponseupdateMacieSession(UpdateMacieSessionRequest updateMacieSessionRequest) Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.default UpdateMemberSessionResponseupdateMemberSession(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest) Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.default UpdateMemberSessionResponseupdateMemberSession(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 UpdateResourceProfileResponseupdateResourceProfile(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest) Updates the sensitivity score for an S3 bucket.default UpdateResourceProfileResponseupdateResourceProfile(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 Macie2Waiterwaiter()Create an instance ofMacie2Waiterusing this client.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptInvitation
default 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.Builderavoiding the need to create one manually viaAcceptInvitationRequest.builder()- Parameters:
acceptInvitationRequest- AConsumerthat will call methods onAcceptInvitationRequest.Builderto 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.Builderavoiding the need to create one manually viaBatchGetCustomDataIdentifiersRequest.builder()- Parameters:
batchGetCustomDataIdentifiersRequest- AConsumerthat will call methods onBatchGetCustomDataIdentifiersRequest.Builderto 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.Builderavoiding the need to create one manually viaBatchUpdateAutomatedDiscoveryAccountsRequest.builder()- Parameters:
batchUpdateAutomatedDiscoveryAccountsRequest- AConsumerthat will call methods onBatchUpdateAutomatedDiscoveryAccountsRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateAllowListRequest.builder()- Parameters:
createAllowListRequest- AConsumerthat will call methods onCreateAllowListRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateClassificationJobRequest.builder()- Parameters:
createClassificationJobRequest- AConsumerthat will call methods onCreateClassificationJobRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateCustomDataIdentifierRequest.builder()- Parameters:
createCustomDataIdentifierRequest- AConsumerthat will call methods onCreateCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateFindingsFilterRequest.builder()- Parameters:
createFindingsFilterRequest- AConsumerthat will call methods onCreateFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateInvitationsRequest.builder()- Parameters:
createInvitationsRequest- AConsumerthat will call methods onCreateInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateMemberRequest.builder()- Parameters:
createMemberRequest- AConsumerthat will call methods onCreateMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateSampleFindingsRequest.builder()- Parameters:
createSampleFindingsRequest- AConsumerthat will call methods onCreateSampleFindingsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeclineInvitationsRequest.builder()- Parameters:
declineInvitationsRequest- AConsumerthat will call methods onDeclineInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteAllowListRequest.builder()- Parameters:
deleteAllowListRequest- AConsumerthat will call methods onDeleteAllowListRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteCustomDataIdentifierRequest.builder()- Parameters:
deleteCustomDataIdentifierRequest- AConsumerthat will call methods onDeleteCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteFindingsFilterRequest.builder()- Parameters:
deleteFindingsFilterRequest- AConsumerthat will call methods onDeleteFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteInvitationsRequest.builder()- Parameters:
deleteInvitationsRequest- AConsumerthat will call methods onDeleteInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteMemberRequest.builder()- Parameters:
deleteMemberRequest- AConsumerthat will call methods onDeleteMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeBucketsRequest.builder()- Parameters:
describeBucketsRequest- AConsumerthat will call methods onDescribeBucketsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaDescribeBucketsRequest.builder()- Parameters:
describeBucketsRequest- AConsumerthat will call methods onDescribeBucketsRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeClassificationJobRequest.builder()- Parameters:
describeClassificationJobRequest- AConsumerthat will call methods onDescribeClassificationJobRequest.Builderto 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.Builderavoiding the need to create one manually viaDescribeOrganizationConfigurationRequest.builder()- Parameters:
describeOrganizationConfigurationRequest- AConsumerthat will call methods onDescribeOrganizationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaDisableMacieRequest.builder()- Parameters:
disableMacieRequest- AConsumerthat will call methods onDisableMacieRequest.Builderto 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.Builderavoiding the need to create one manually viaDisableOrganizationAdminAccountRequest.builder()- Parameters:
disableOrganizationAdminAccountRequest- AConsumerthat will call methods onDisableOrganizationAdminAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaDisassociateFromAdministratorAccountRequest.builder()- Parameters:
disassociateFromAdministratorAccountRequest- AConsumerthat will call methods onDisassociateFromAdministratorAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaDisassociateFromMasterAccountRequest.builder()- Parameters:
disassociateFromMasterAccountRequest- AConsumerthat will call methods onDisassociateFromMasterAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaDisassociateMemberRequest.builder()- Parameters:
disassociateMemberRequest- AConsumerthat will call methods onDisassociateMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaEnableMacieRequest.builder()- Parameters:
enableMacieRequest- AConsumerthat will call methods onEnableMacieRequest.Builderto 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.Builderavoiding the need to create one manually viaEnableOrganizationAdminAccountRequest.builder()- Parameters:
enableOrganizationAdminAccountRequest- AConsumerthat will call methods onEnableOrganizationAdminAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAdministratorAccountRequest.builder()- Parameters:
getAdministratorAccountRequest- AConsumerthat will call methods onGetAdministratorAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAllowListRequest.builder()- Parameters:
getAllowListRequest- AConsumerthat will call methods onGetAllowListRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAutomatedDiscoveryConfigurationRequest.builder()- Parameters:
getAutomatedDiscoveryConfigurationRequest- AConsumerthat will call methods onGetAutomatedDiscoveryConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetBucketStatisticsRequest.builder()- Parameters:
getBucketStatisticsRequest- AConsumerthat will call methods onGetBucketStatisticsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetClassificationExportConfigurationRequest.builder()- Parameters:
getClassificationExportConfigurationRequest- AConsumerthat will call methods onGetClassificationExportConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetClassificationScopeRequest.builder()- Parameters:
getClassificationScopeRequest- AConsumerthat will call methods onGetClassificationScopeRequest.Builderto 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.Builderavoiding the need to create one manually viaGetCustomDataIdentifierRequest.builder()- Parameters:
getCustomDataIdentifierRequest- AConsumerthat will call methods onGetCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingStatisticsRequest.builder()- Parameters:
getFindingStatisticsRequest- AConsumerthat will call methods onGetFindingStatisticsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingsRequest.builder()- Parameters:
getFindingsRequest- AConsumerthat will call methods onGetFindingsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingsFilterRequest.builder()- Parameters:
getFindingsFilterRequest- AConsumerthat will call methods onGetFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaGetFindingsPublicationConfigurationRequest.builder()- Parameters:
getFindingsPublicationConfigurationRequest- AConsumerthat will call methods onGetFindingsPublicationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetInvitationsCountRequest.builder()- Parameters:
getInvitationsCountRequest- AConsumerthat will call methods onGetInvitationsCountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetMacieSessionRequest.builder()- Parameters:
getMacieSessionRequest- AConsumerthat will call methods onGetMacieSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaGetMasterAccountRequest.builder()- Parameters:
getMasterAccountRequest- AConsumerthat will call methods onGetMasterAccountRequest.Builderto 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.Builderavoiding the need to create one manually viaGetMemberRequest.builder()- Parameters:
getMemberRequest- AConsumerthat will call methods onGetMemberRequest.Builderto 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.Builderavoiding the need to create one manually viaGetResourceProfileRequest.builder()- Parameters:
getResourceProfileRequest- AConsumerthat will call methods onGetResourceProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaGetRevealConfigurationRequest.builder()- Parameters:
getRevealConfigurationRequest- AConsumerthat will call methods onGetRevealConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSensitiveDataOccurrencesRequest.builder()- Parameters:
getSensitiveDataOccurrencesRequest- AConsumerthat will call methods onGetSensitiveDataOccurrencesRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSensitiveDataOccurrencesAvailabilityRequest.builder()- Parameters:
getSensitiveDataOccurrencesAvailabilityRequest- AConsumerthat will call methods onGetSensitiveDataOccurrencesAvailabilityRequest.Builderto 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.Builderavoiding the need to create one manually viaGetSensitivityInspectionTemplateRequest.builder()- Parameters:
getSensitivityInspectionTemplateRequest- AConsumerthat will call methods onGetSensitivityInspectionTemplateRequest.Builderto 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.Builderavoiding the need to create one manually viaGetUsageStatisticsRequest.builder()- Parameters:
getUsageStatisticsRequest- AConsumerthat will call methods onGetUsageStatisticsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaGetUsageStatisticsRequest.builder()- Parameters:
getUsageStatisticsRequest- AConsumerthat will call methods onGetUsageStatisticsRequest.Builderto 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.Builderavoiding the need to create one manually viaGetUsageTotalsRequest.builder()- Parameters:
getUsageTotalsRequest- AConsumerthat will call methods onGetUsageTotalsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAllowListsRequest.builder()- Parameters:
listAllowListsRequest- AConsumerthat will call methods onListAllowListsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAllowListsRequest.builder()- Parameters:
listAllowListsRequest- AConsumerthat will call methods onListAllowListsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAutomatedDiscoveryAccountsRequest.builder()- Parameters:
listAutomatedDiscoveryAccountsRequest- AConsumerthat will call methods onListAutomatedDiscoveryAccountsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListAutomatedDiscoveryAccountsRequest.builder()- Parameters:
listAutomatedDiscoveryAccountsRequest- AConsumerthat will call methods onListAutomatedDiscoveryAccountsRequest.Builderto 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.Builderavoiding the need to create one manually viaListClassificationJobsRequest.builder()- Parameters:
listClassificationJobsRequest- AConsumerthat will call methods onListClassificationJobsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListClassificationJobsRequest.builder()- Parameters:
listClassificationJobsRequest- AConsumerthat will call methods onListClassificationJobsRequest.Builderto 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.Builderavoiding the need to create one manually viaListClassificationScopesRequest.builder()- Parameters:
listClassificationScopesRequest- AConsumerthat will call methods onListClassificationScopesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListClassificationScopesRequest.builder()- Parameters:
listClassificationScopesRequest- AConsumerthat will call methods onListClassificationScopesRequest.Builderto 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.Builderavoiding the need to create one manually viaListCustomDataIdentifiersRequest.builder()- Parameters:
listCustomDataIdentifiersRequest- AConsumerthat will call methods onListCustomDataIdentifiersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListCustomDataIdentifiersRequest.builder()- Parameters:
listCustomDataIdentifiersRequest- AConsumerthat will call methods onListCustomDataIdentifiersRequest.Builderto 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.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListFindingsRequest.builder()- Parameters:
listFindingsRequest- AConsumerthat will call methods onListFindingsRequest.Builderto 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.Builderavoiding the need to create one manually viaListFindingsFiltersRequest.builder()- Parameters:
listFindingsFiltersRequest- AConsumerthat will call methods onListFindingsFiltersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListFindingsFiltersRequest.builder()- Parameters:
listFindingsFiltersRequest- AConsumerthat will call methods onListFindingsFiltersRequest.Builderto 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.Builderavoiding the need to create one manually viaListInvitationsRequest.builder()- Parameters:
listInvitationsRequest- AConsumerthat will call methods onListInvitationsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListInvitationsRequest.builder()- Parameters:
listInvitationsRequest- AConsumerthat will call methods onListInvitationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListManagedDataIdentifiersRequest.builder()- Parameters:
listManagedDataIdentifiersRequest- AConsumerthat will call methods onListManagedDataIdentifiersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListManagedDataIdentifiersRequest.builder()- Parameters:
listManagedDataIdentifiersRequest- AConsumerthat will call methods onListManagedDataIdentifiersRequest.Builderto 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.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListMembersRequest.builder()- Parameters:
listMembersRequest- AConsumerthat will call methods onListMembersRequest.Builderto 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.Builderavoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()- Parameters:
listOrganizationAdminAccountsRequest- AConsumerthat will call methods onListOrganizationAdminAccountsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListOrganizationAdminAccountsRequest.builder()- Parameters:
listOrganizationAdminAccountsRequest- AConsumerthat will call methods onListOrganizationAdminAccountsRequest.Builderto 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.Builderavoiding the need to create one manually viaListResourceProfileArtifactsRequest.builder()- Parameters:
listResourceProfileArtifactsRequest- AConsumerthat will call methods onListResourceProfileArtifactsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListResourceProfileArtifactsRequest.builder()- Parameters:
listResourceProfileArtifactsRequest- AConsumerthat will call methods onListResourceProfileArtifactsRequest.Builderto 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.Builderavoiding the need to create one manually viaListResourceProfileDetectionsRequest.builder()- Parameters:
listResourceProfileDetectionsRequest- AConsumerthat will call methods onListResourceProfileDetectionsRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListResourceProfileDetectionsRequest.builder()- Parameters:
listResourceProfileDetectionsRequest- AConsumerthat will call methods onListResourceProfileDetectionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListSensitivityInspectionTemplatesRequest.builder()- Parameters:
listSensitivityInspectionTemplatesRequest- AConsumerthat will call methods onListSensitivityInspectionTemplatesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSensitivityInspectionTemplatesRequest.builder()- Parameters:
listSensitivityInspectionTemplatesRequest- AConsumerthat will call methods onListSensitivityInspectionTemplatesRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaPutClassificationExportConfigurationRequest.builder()- Parameters:
putClassificationExportConfigurationRequest- AConsumerthat will call methods onPutClassificationExportConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaPutFindingsPublicationConfigurationRequest.builder()- Parameters:
putFindingsPublicationConfigurationRequest- AConsumerthat will call methods onPutFindingsPublicationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaSearchResourcesRequest.builder()- Parameters:
searchResourcesRequest- AConsumerthat will call methods onSearchResourcesRequest.Builderto 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 Stream
2) Using For loopsoftware.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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaSearchResourcesRequest.builder()- Parameters:
searchResourcesRequest- AConsumerthat will call methods onSearchResourcesRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaTestCustomDataIdentifierRequest.builder()- Parameters:
testCustomDataIdentifierRequest- AConsumerthat will call methods onTestCustomDataIdentifierRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateAllowListRequest.builder()- Parameters:
updateAllowListRequest- AConsumerthat will call methods onUpdateAllowListRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateAutomatedDiscoveryConfigurationRequest.builder()- Parameters:
updateAutomatedDiscoveryConfigurationRequest- AConsumerthat will call methods onUpdateAutomatedDiscoveryConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateClassificationJobRequest.builder()- Parameters:
updateClassificationJobRequest- AConsumerthat will call methods onUpdateClassificationJobRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateClassificationScopeRequest.builder()- Parameters:
updateClassificationScopeRequest- AConsumerthat will call methods onUpdateClassificationScopeRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateFindingsFilterRequest.builder()- Parameters:
updateFindingsFilterRequest- AConsumerthat will call methods onUpdateFindingsFilterRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateMacieSessionRequest.builder()- Parameters:
updateMacieSessionRequest- AConsumerthat will call methods onUpdateMacieSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateMemberSessionRequest.builder()- Parameters:
updateMemberSessionRequest- AConsumerthat will call methods onUpdateMemberSessionRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateOrganizationConfigurationRequest.builder()- Parameters:
updateOrganizationConfigurationRequest- AConsumerthat will call methods onUpdateOrganizationConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateResourceProfileRequest.builder()- Parameters:
updateResourceProfileRequest- AConsumerthat will call methods onUpdateResourceProfileRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateResourceProfileDetectionsRequest.builder()- Parameters:
updateResourceProfileDetectionsRequest- AConsumerthat will call methods onUpdateResourceProfileDetectionsRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateRevealConfigurationRequest.builder()- Parameters:
updateRevealConfigurationRequest- AConsumerthat will call methods onUpdateRevealConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateSensitivityInspectionTemplateRequest.builder()- Parameters:
updateSensitivityInspectionTemplateRequest- AConsumerthat will call methods onUpdateSensitivityInspectionTemplateRequest.Builderto create a request.- Returns:
- Result of the UpdateSensitivityInspectionTemplate operation returned by the service.
- See Also:
-
waiter
Create an instance ofMacie2Waiterusing 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 aMacie2Clientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMacie2Client. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-