Interface Macie2AsyncClient

    • Method Detail

      • acceptInvitation

        default CompletableFuture<AcceptInvitationResponse> acceptInvitation​(AcceptInvitationRequest acceptInvitationRequest)

        Accepts an Amazon Macie membership invitation that was received from a specific account.

        Parameters:
        acceptInvitationRequest -
        Returns:
        A Java Future containing the result of the AcceptInvitation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • acceptInvitation

        default CompletableFuture<AcceptInvitationResponse> acceptInvitation​(Consumer<AcceptInvitationRequest.Builder> acceptInvitationRequest)

        Accepts an Amazon Macie membership invitation that was received from a specific account.


        This is a convenience which creates an instance of the AcceptInvitationRequest.Builder avoiding the need to create one manually via AcceptInvitationRequest.builder()

        Parameters:
        acceptInvitationRequest - A Consumer that will call methods on AcceptInvitationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the AcceptInvitation operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • batchGetCustomDataIdentifiers

        default CompletableFuture<BatchGetCustomDataIdentifiersResponse> batchGetCustomDataIdentifiers​(BatchGetCustomDataIdentifiersRequest batchGetCustomDataIdentifiersRequest)

        Retrieves information about one or more custom data identifiers.

        Parameters:
        batchGetCustomDataIdentifiersRequest -
        Returns:
        A Java Future containing the result of the BatchGetCustomDataIdentifiers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • batchGetCustomDataIdentifiers

        default CompletableFuture<BatchGetCustomDataIdentifiersResponse> batchGetCustomDataIdentifiers​(Consumer<BatchGetCustomDataIdentifiersRequest.Builder> batchGetCustomDataIdentifiersRequest)

        Retrieves information about one or more custom data identifiers.


        This is a convenience which creates an instance of the BatchGetCustomDataIdentifiersRequest.Builder avoiding the need to create one manually via BatchGetCustomDataIdentifiersRequest.builder()

        Parameters:
        batchGetCustomDataIdentifiersRequest - A Consumer that will call methods on BatchGetCustomDataIdentifiersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the BatchGetCustomDataIdentifiers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAllowList

        default CompletableFuture<CreateAllowListResponse> createAllowList​(CreateAllowListRequest createAllowListRequest)

        Creates and defines the settings for an allow list.

        Parameters:
        createAllowListRequest -
        Returns:
        A Java Future containing the result of the CreateAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createAllowList

        default CompletableFuture<CreateAllowListResponse> createAllowList​(Consumer<CreateAllowListRequest.Builder> createAllowListRequest)

        Creates and defines the settings for an allow list.


        This is a convenience which creates an instance of the CreateAllowListRequest.Builder avoiding the need to create one manually via CreateAllowListRequest.builder()

        Parameters:
        createAllowListRequest - A Consumer that will call methods on CreateAllowListRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createClassificationJob

        default CompletableFuture<CreateClassificationJobResponse> createClassificationJob​(CreateClassificationJobRequest createClassificationJobRequest)

        Creates and defines the settings for a classification job.

        Parameters:
        createClassificationJobRequest -
        Returns:
        A Java Future containing the result of the CreateClassificationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createClassificationJob

        default CompletableFuture<CreateClassificationJobResponse> createClassificationJob​(Consumer<CreateClassificationJobRequest.Builder> createClassificationJobRequest)

        Creates and defines the settings for a classification job.


        This is a convenience which creates an instance of the CreateClassificationJobRequest.Builder avoiding the need to create one manually via CreateClassificationJobRequest.builder()

        Parameters:
        createClassificationJobRequest - A Consumer that will call methods on CreateClassificationJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateClassificationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCustomDataIdentifier

        default CompletableFuture<CreateCustomDataIdentifierResponse> createCustomDataIdentifier​(CreateCustomDataIdentifierRequest createCustomDataIdentifierRequest)

        Creates and defines the criteria and other settings for a custom data identifier.

        Parameters:
        createCustomDataIdentifierRequest -
        Returns:
        A Java Future containing the result of the CreateCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createCustomDataIdentifier

        default CompletableFuture<CreateCustomDataIdentifierResponse> createCustomDataIdentifier​(Consumer<CreateCustomDataIdentifierRequest.Builder> createCustomDataIdentifierRequest)

        Creates and defines the criteria and other settings for a custom data identifier.


        This is a convenience which creates an instance of the CreateCustomDataIdentifierRequest.Builder avoiding the need to create one manually via CreateCustomDataIdentifierRequest.builder()

        Parameters:
        createCustomDataIdentifierRequest - A Consumer that will call methods on CreateCustomDataIdentifierRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFindingsFilter

        default CompletableFuture<CreateFindingsFilterResponse> createFindingsFilter​(CreateFindingsFilterRequest createFindingsFilterRequest)

        Creates and defines the criteria and other settings for a findings filter.

        Parameters:
        createFindingsFilterRequest -
        Returns:
        A Java Future containing the result of the CreateFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createFindingsFilter

        default CompletableFuture<CreateFindingsFilterResponse> createFindingsFilter​(Consumer<CreateFindingsFilterRequest.Builder> createFindingsFilterRequest)

        Creates and defines the criteria and other settings for a findings filter.


        This is a convenience which creates an instance of the CreateFindingsFilterRequest.Builder avoiding the need to create one manually via CreateFindingsFilterRequest.builder()

        Parameters:
        createFindingsFilterRequest - A Consumer that will call methods on CreateFindingsFilterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createInvitations

        default CompletableFuture<CreateInvitationsResponse> createInvitations​(CreateInvitationsRequest createInvitationsRequest)

        Sends an Amazon Macie membership invitation to one or more accounts.

        Parameters:
        createInvitationsRequest -
        Returns:
        A Java Future containing the result of the CreateInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createInvitations

        default CompletableFuture<CreateInvitationsResponse> createInvitations​(Consumer<CreateInvitationsRequest.Builder> createInvitationsRequest)

        Sends an Amazon Macie membership invitation to one or more accounts.


        This is a convenience which creates an instance of the CreateInvitationsRequest.Builder avoiding the need to create one manually via CreateInvitationsRequest.builder()

        Parameters:
        createInvitationsRequest - A Consumer that will call methods on CreateInvitationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createMember

        default CompletableFuture<CreateMemberResponse> createMember​(CreateMemberRequest createMemberRequest)

        Associates an account with an Amazon Macie administrator account.

        Parameters:
        createMemberRequest -
        Returns:
        A Java Future containing the result of the CreateMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createMember

        default CompletableFuture<CreateMemberResponse> createMember​(Consumer<CreateMemberRequest.Builder> createMemberRequest)

        Associates an account with an Amazon Macie administrator account.


        This is a convenience which creates an instance of the CreateMemberRequest.Builder avoiding the need to create one manually via CreateMemberRequest.builder()

        Parameters:
        createMemberRequest - A Consumer that will call methods on CreateMemberRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSampleFindings

        default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings​(CreateSampleFindingsRequest createSampleFindingsRequest)

        Creates sample findings.

        Parameters:
        createSampleFindingsRequest -
        Returns:
        A Java Future containing the result of the CreateSampleFindings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createSampleFindings

        default CompletableFuture<CreateSampleFindingsResponse> createSampleFindings​(Consumer<CreateSampleFindingsRequest.Builder> createSampleFindingsRequest)

        Creates sample findings.


        This is a convenience which creates an instance of the CreateSampleFindingsRequest.Builder avoiding the need to create one manually via CreateSampleFindingsRequest.builder()

        Parameters:
        createSampleFindingsRequest - A Consumer that will call methods on CreateSampleFindingsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateSampleFindings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • declineInvitations

        default CompletableFuture<DeclineInvitationsResponse> declineInvitations​(DeclineInvitationsRequest declineInvitationsRequest)

        Declines Amazon Macie membership invitations that were received from specific accounts.

        Parameters:
        declineInvitationsRequest -
        Returns:
        A Java Future containing the result of the DeclineInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • declineInvitations

        default CompletableFuture<DeclineInvitationsResponse> declineInvitations​(Consumer<DeclineInvitationsRequest.Builder> declineInvitationsRequest)

        Declines Amazon Macie membership invitations that were received from specific accounts.


        This is a convenience which creates an instance of the DeclineInvitationsRequest.Builder avoiding the need to create one manually via DeclineInvitationsRequest.builder()

        Parameters:
        declineInvitationsRequest - A Consumer that will call methods on DeclineInvitationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeclineInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAllowList

        default CompletableFuture<DeleteAllowListResponse> deleteAllowList​(DeleteAllowListRequest deleteAllowListRequest)

        Deletes an allow list.

        Parameters:
        deleteAllowListRequest -
        Returns:
        A Java Future containing the result of the DeleteAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteAllowList

        default CompletableFuture<DeleteAllowListResponse> deleteAllowList​(Consumer<DeleteAllowListRequest.Builder> deleteAllowListRequest)

        Deletes an allow list.


        This is a convenience which creates an instance of the DeleteAllowListRequest.Builder avoiding the need to create one manually via DeleteAllowListRequest.builder()

        Parameters:
        deleteAllowListRequest - A Consumer that will call methods on DeleteAllowListRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCustomDataIdentifier

        default CompletableFuture<DeleteCustomDataIdentifierResponse> deleteCustomDataIdentifier​(DeleteCustomDataIdentifierRequest deleteCustomDataIdentifierRequest)

        Soft deletes a custom data identifier.

        Parameters:
        deleteCustomDataIdentifierRequest -
        Returns:
        A Java Future containing the result of the DeleteCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteCustomDataIdentifier

        default CompletableFuture<DeleteCustomDataIdentifierResponse> deleteCustomDataIdentifier​(Consumer<DeleteCustomDataIdentifierRequest.Builder> deleteCustomDataIdentifierRequest)

        Soft deletes a custom data identifier.


        This is a convenience which creates an instance of the DeleteCustomDataIdentifierRequest.Builder avoiding the need to create one manually via DeleteCustomDataIdentifierRequest.builder()

        Parameters:
        deleteCustomDataIdentifierRequest - A Consumer that will call methods on DeleteCustomDataIdentifierRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFindingsFilter

        default CompletableFuture<DeleteFindingsFilterResponse> deleteFindingsFilter​(DeleteFindingsFilterRequest deleteFindingsFilterRequest)

        Deletes a findings filter.

        Parameters:
        deleteFindingsFilterRequest -
        Returns:
        A Java Future containing the result of the DeleteFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteFindingsFilter

        default CompletableFuture<DeleteFindingsFilterResponse> deleteFindingsFilter​(Consumer<DeleteFindingsFilterRequest.Builder> deleteFindingsFilterRequest)

        Deletes a findings filter.


        This is a convenience which creates an instance of the DeleteFindingsFilterRequest.Builder avoiding the need to create one manually via DeleteFindingsFilterRequest.builder()

        Parameters:
        deleteFindingsFilterRequest - A Consumer that will call methods on DeleteFindingsFilterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteInvitations

        default CompletableFuture<DeleteInvitationsResponse> deleteInvitations​(DeleteInvitationsRequest deleteInvitationsRequest)

        Deletes Amazon Macie membership invitations that were received from specific accounts.

        Parameters:
        deleteInvitationsRequest -
        Returns:
        A Java Future containing the result of the DeleteInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteInvitations

        default CompletableFuture<DeleteInvitationsResponse> deleteInvitations​(Consumer<DeleteInvitationsRequest.Builder> deleteInvitationsRequest)

        Deletes Amazon Macie membership invitations that were received from specific accounts.


        This is a convenience which creates an instance of the DeleteInvitationsRequest.Builder avoiding the need to create one manually via DeleteInvitationsRequest.builder()

        Parameters:
        deleteInvitationsRequest - A Consumer that will call methods on DeleteInvitationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteMember

        default CompletableFuture<DeleteMemberResponse> deleteMember​(DeleteMemberRequest deleteMemberRequest)

        Deletes the association between an Amazon Macie administrator account and an account.

        Parameters:
        deleteMemberRequest -
        Returns:
        A Java Future containing the result of the DeleteMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteMember

        default CompletableFuture<DeleteMemberResponse> deleteMember​(Consumer<DeleteMemberRequest.Builder> deleteMemberRequest)

        Deletes the association between an Amazon Macie administrator account and an account.


        This is a convenience which creates an instance of the DeleteMemberRequest.Builder avoiding the need to create one manually via DeleteMemberRequest.builder()

        Parameters:
        deleteMemberRequest - A Consumer that will call methods on DeleteMemberRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeBuckets

        default CompletableFuture<DescribeBucketsResponse> describeBuckets​(DescribeBucketsRequest describeBucketsRequest)

        Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.

        Parameters:
        describeBucketsRequest -
        Returns:
        A Java Future containing the result of the DescribeBuckets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeBuckets

        default CompletableFuture<DescribeBucketsResponse> describeBuckets​(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest)

        Retrieves (queries) statistical data and other information about one or more S3 buckets that Amazon Macie monitors and analyzes for an account.


        This is a convenience which creates an instance of the DescribeBucketsRequest.Builder avoiding the need to create one manually via DescribeBucketsRequest.builder()

        Parameters:
        describeBucketsRequest - A Consumer that will call methods on DescribeBucketsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeBuckets operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeBucketsPaginator

        default DescribeBucketsPublisher describeBucketsPaginator​(DescribeBucketsRequest describeBucketsRequest)

        This is a variant of describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest) operation.

        Parameters:
        describeBucketsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeBucketsPaginator

        default DescribeBucketsPublisher describeBucketsPaginator​(Consumer<DescribeBucketsRequest.Builder> describeBucketsRequest)

        This is a variant of describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.DescribeBucketsPublisher publisher = client.describeBucketsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.DescribeBucketsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the describeBuckets(software.amazon.awssdk.services.macie2.model.DescribeBucketsRequest) operation.


        This is a convenience which creates an instance of the DescribeBucketsRequest.Builder avoiding the need to create one manually via DescribeBucketsRequest.builder()

        Parameters:
        describeBucketsRequest - A Consumer that will call methods on DescribeBucketsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeClassificationJob

        default CompletableFuture<DescribeClassificationJobResponse> describeClassificationJob​(DescribeClassificationJobRequest describeClassificationJobRequest)

        Retrieves the status and settings for a classification job.

        Parameters:
        describeClassificationJobRequest -
        Returns:
        A Java Future containing the result of the DescribeClassificationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeClassificationJob

        default CompletableFuture<DescribeClassificationJobResponse> describeClassificationJob​(Consumer<DescribeClassificationJobRequest.Builder> describeClassificationJobRequest)

        Retrieves the status and settings for a classification job.


        This is a convenience which creates an instance of the DescribeClassificationJobRequest.Builder avoiding the need to create one manually via DescribeClassificationJobRequest.builder()

        Parameters:
        describeClassificationJobRequest - A Consumer that will call methods on DescribeClassificationJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeClassificationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrganizationConfiguration

        default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration​(DescribeOrganizationConfigurationRequest describeOrganizationConfigurationRequest)

        Retrieves the Amazon Macie configuration settings for an organization in Organizations.

        Parameters:
        describeOrganizationConfigurationRequest -
        Returns:
        A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • describeOrganizationConfiguration

        default CompletableFuture<DescribeOrganizationConfigurationResponse> describeOrganizationConfiguration​(Consumer<DescribeOrganizationConfigurationRequest.Builder> describeOrganizationConfigurationRequest)

        Retrieves the Amazon Macie configuration settings for an organization in Organizations.


        This is a convenience which creates an instance of the DescribeOrganizationConfigurationRequest.Builder avoiding the need to create one manually via DescribeOrganizationConfigurationRequest.builder()

        Parameters:
        describeOrganizationConfigurationRequest - A Consumer that will call methods on DescribeOrganizationConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DescribeOrganizationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disableMacie

        default CompletableFuture<DisableMacieResponse> disableMacie​(DisableMacieRequest disableMacieRequest)

        Disables Amazon Macie and deletes all settings and resources for a Macie account.

        Parameters:
        disableMacieRequest -
        Returns:
        A Java Future containing the result of the DisableMacie operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disableMacie

        default CompletableFuture<DisableMacieResponse> disableMacie​(Consumer<DisableMacieRequest.Builder> disableMacieRequest)

        Disables Amazon Macie and deletes all settings and resources for a Macie account.


        This is a convenience which creates an instance of the DisableMacieRequest.Builder avoiding the need to create one manually via DisableMacieRequest.builder()

        Parameters:
        disableMacieRequest - A Consumer that will call methods on DisableMacieRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisableMacie operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disableOrganizationAdminAccount

        default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount​(DisableOrganizationAdminAccountRequest disableOrganizationAdminAccountRequest)

        Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.

        Parameters:
        disableOrganizationAdminAccountRequest -
        Returns:
        A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disableOrganizationAdminAccount

        default CompletableFuture<DisableOrganizationAdminAccountResponse> disableOrganizationAdminAccount​(Consumer<DisableOrganizationAdminAccountRequest.Builder> disableOrganizationAdminAccountRequest)

        Disables an account as the delegated Amazon Macie administrator account for an organization in Organizations.


        This is a convenience which creates an instance of the DisableOrganizationAdminAccountRequest.Builder avoiding the need to create one manually via DisableOrganizationAdminAccountRequest.builder()

        Parameters:
        disableOrganizationAdminAccountRequest - A Consumer that will call methods on DisableOrganizationAdminAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisableOrganizationAdminAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateFromAdministratorAccount

        default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount​(DisassociateFromAdministratorAccountRequest disassociateFromAdministratorAccountRequest)

        Disassociates a member account from its Amazon Macie administrator account.

        Parameters:
        disassociateFromAdministratorAccountRequest -
        Returns:
        A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateFromAdministratorAccount

        default CompletableFuture<DisassociateFromAdministratorAccountResponse> disassociateFromAdministratorAccount​(Consumer<DisassociateFromAdministratorAccountRequest.Builder> disassociateFromAdministratorAccountRequest)

        Disassociates a member account from its Amazon Macie administrator account.


        This is a convenience which creates an instance of the DisassociateFromAdministratorAccountRequest.Builder avoiding the need to create one manually via DisassociateFromAdministratorAccountRequest.builder()

        Parameters:
        disassociateFromAdministratorAccountRequest - A Consumer that will call methods on DisassociateFromAdministratorAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateFromAdministratorAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateFromMasterAccount

        default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount​(DisassociateFromMasterAccountRequest disassociateFromMasterAccountRequest)

        (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.

        Parameters:
        disassociateFromMasterAccountRequest -
        Returns:
        A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateFromMasterAccount

        default CompletableFuture<DisassociateFromMasterAccountResponse> disassociateFromMasterAccount​(Consumer<DisassociateFromMasterAccountRequest.Builder> disassociateFromMasterAccountRequest)

        (Deprecated) Disassociates a member account from its Amazon Macie administrator account. This operation has been replaced by the DisassociateFromAdministratorAccount operation.


        This is a convenience which creates an instance of the DisassociateFromMasterAccountRequest.Builder avoiding the need to create one manually via DisassociateFromMasterAccountRequest.builder()

        Parameters:
        disassociateFromMasterAccountRequest - A Consumer that will call methods on DisassociateFromMasterAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateFromMasterAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateMember

        default CompletableFuture<DisassociateMemberResponse> disassociateMember​(DisassociateMemberRequest disassociateMemberRequest)

        Disassociates an Amazon Macie administrator account from a member account.

        Parameters:
        disassociateMemberRequest -
        Returns:
        A Java Future containing the result of the DisassociateMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • disassociateMember

        default CompletableFuture<DisassociateMemberResponse> disassociateMember​(Consumer<DisassociateMemberRequest.Builder> disassociateMemberRequest)

        Disassociates an Amazon Macie administrator account from a member account.


        This is a convenience which creates an instance of the DisassociateMemberRequest.Builder avoiding the need to create one manually via DisassociateMemberRequest.builder()

        Parameters:
        disassociateMemberRequest - A Consumer that will call methods on DisassociateMemberRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DisassociateMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • enableMacie

        default CompletableFuture<EnableMacieResponse> enableMacie​(EnableMacieRequest enableMacieRequest)

        Enables Amazon Macie and specifies the configuration settings for a Macie account.

        Parameters:
        enableMacieRequest -
        Returns:
        A Java Future containing the result of the EnableMacie operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • enableMacie

        default CompletableFuture<EnableMacieResponse> enableMacie​(Consumer<EnableMacieRequest.Builder> enableMacieRequest)

        Enables Amazon Macie and specifies the configuration settings for a Macie account.


        This is a convenience which creates an instance of the EnableMacieRequest.Builder avoiding the need to create one manually via EnableMacieRequest.builder()

        Parameters:
        enableMacieRequest - A Consumer that will call methods on EnableMacieRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the EnableMacie operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • enableOrganizationAdminAccount

        default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount​(EnableOrganizationAdminAccountRequest enableOrganizationAdminAccountRequest)

        Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.

        Parameters:
        enableOrganizationAdminAccountRequest -
        Returns:
        A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • enableOrganizationAdminAccount

        default CompletableFuture<EnableOrganizationAdminAccountResponse> enableOrganizationAdminAccount​(Consumer<EnableOrganizationAdminAccountRequest.Builder> enableOrganizationAdminAccountRequest)

        Designates an account as the delegated Amazon Macie administrator account for an organization in Organizations.


        This is a convenience which creates an instance of the EnableOrganizationAdminAccountRequest.Builder avoiding the need to create one manually via EnableOrganizationAdminAccountRequest.builder()

        Parameters:
        enableOrganizationAdminAccountRequest - A Consumer that will call methods on EnableOrganizationAdminAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the EnableOrganizationAdminAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAdministratorAccount

        default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount​(GetAdministratorAccountRequest getAdministratorAccountRequest)

        Retrieves information about the Amazon Macie administrator account for an account.

        Parameters:
        getAdministratorAccountRequest -
        Returns:
        A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAdministratorAccount

        default CompletableFuture<GetAdministratorAccountResponse> getAdministratorAccount​(Consumer<GetAdministratorAccountRequest.Builder> getAdministratorAccountRequest)

        Retrieves information about the Amazon Macie administrator account for an account.


        This is a convenience which creates an instance of the GetAdministratorAccountRequest.Builder avoiding the need to create one manually via GetAdministratorAccountRequest.builder()

        Parameters:
        getAdministratorAccountRequest - A Consumer that will call methods on GetAdministratorAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAdministratorAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAllowList

        default CompletableFuture<GetAllowListResponse> getAllowList​(GetAllowListRequest getAllowListRequest)

        Retrieves the settings and status of an allow list.

        Parameters:
        getAllowListRequest -
        Returns:
        A Java Future containing the result of the GetAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAllowList

        default CompletableFuture<GetAllowListResponse> getAllowList​(Consumer<GetAllowListRequest.Builder> getAllowListRequest)

        Retrieves the settings and status of an allow list.


        This is a convenience which creates an instance of the GetAllowListRequest.Builder avoiding the need to create one manually via GetAllowListRequest.builder()

        Parameters:
        getAllowListRequest - A Consumer that will call methods on GetAllowListRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAutomatedDiscoveryConfiguration

        default CompletableFuture<GetAutomatedDiscoveryConfigurationResponse> getAutomatedDiscoveryConfiguration​(GetAutomatedDiscoveryConfigurationRequest getAutomatedDiscoveryConfigurationRequest)

        Retrieves the configuration settings and status of automated sensitive data discovery for an account.

        Parameters:
        getAutomatedDiscoveryConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetAutomatedDiscoveryConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getAutomatedDiscoveryConfiguration

        default CompletableFuture<GetAutomatedDiscoveryConfigurationResponse> getAutomatedDiscoveryConfiguration​(Consumer<GetAutomatedDiscoveryConfigurationRequest.Builder> getAutomatedDiscoveryConfigurationRequest)

        Retrieves the configuration settings and status of automated sensitive data discovery for an account.


        This is a convenience which creates an instance of the GetAutomatedDiscoveryConfigurationRequest.Builder avoiding the need to create one manually via GetAutomatedDiscoveryConfigurationRequest.builder()

        Parameters:
        getAutomatedDiscoveryConfigurationRequest - A Consumer that will call methods on GetAutomatedDiscoveryConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetAutomatedDiscoveryConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getBucketStatistics

        default CompletableFuture<GetBucketStatisticsResponse> getBucketStatistics​(GetBucketStatisticsRequest getBucketStatisticsRequest)

        Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.

        Parameters:
        getBucketStatisticsRequest -
        Returns:
        A Java Future containing the result of the GetBucketStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getBucketStatistics

        default CompletableFuture<GetBucketStatisticsResponse> getBucketStatistics​(Consumer<GetBucketStatisticsRequest.Builder> getBucketStatisticsRequest)

        Retrieves (queries) aggregated statistical data about all the S3 buckets that Amazon Macie monitors and analyzes for an account.


        This is a convenience which creates an instance of the GetBucketStatisticsRequest.Builder avoiding the need to create one manually via GetBucketStatisticsRequest.builder()

        Parameters:
        getBucketStatisticsRequest - A Consumer that will call methods on GetBucketStatisticsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetBucketStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getClassificationExportConfiguration

        default CompletableFuture<GetClassificationExportConfigurationResponse> getClassificationExportConfiguration​(GetClassificationExportConfigurationRequest getClassificationExportConfigurationRequest)

        Retrieves the configuration settings for storing data classification results.

        Parameters:
        getClassificationExportConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetClassificationExportConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getClassificationExportConfiguration

        default CompletableFuture<GetClassificationExportConfigurationResponse> getClassificationExportConfiguration​(Consumer<GetClassificationExportConfigurationRequest.Builder> getClassificationExportConfigurationRequest)

        Retrieves the configuration settings for storing data classification results.


        This is a convenience which creates an instance of the GetClassificationExportConfigurationRequest.Builder avoiding the need to create one manually via GetClassificationExportConfigurationRequest.builder()

        Parameters:
        getClassificationExportConfigurationRequest - A Consumer that will call methods on GetClassificationExportConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetClassificationExportConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getClassificationScope

        default CompletableFuture<GetClassificationScopeResponse> getClassificationScope​(GetClassificationScopeRequest getClassificationScopeRequest)

        Retrieves the classification scope settings for an account.

        Parameters:
        getClassificationScopeRequest -
        Returns:
        A Java Future containing the result of the GetClassificationScope operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getClassificationScope

        default CompletableFuture<GetClassificationScopeResponse> getClassificationScope​(Consumer<GetClassificationScopeRequest.Builder> getClassificationScopeRequest)

        Retrieves the classification scope settings for an account.


        This is a convenience which creates an instance of the GetClassificationScopeRequest.Builder avoiding the need to create one manually via GetClassificationScopeRequest.builder()

        Parameters:
        getClassificationScopeRequest - A Consumer that will call methods on GetClassificationScopeRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetClassificationScope operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCustomDataIdentifier

        default CompletableFuture<GetCustomDataIdentifierResponse> getCustomDataIdentifier​(GetCustomDataIdentifierRequest getCustomDataIdentifierRequest)

        Retrieves the criteria and other settings for a custom data identifier.

        Parameters:
        getCustomDataIdentifierRequest -
        Returns:
        A Java Future containing the result of the GetCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getCustomDataIdentifier

        default CompletableFuture<GetCustomDataIdentifierResponse> getCustomDataIdentifier​(Consumer<GetCustomDataIdentifierRequest.Builder> getCustomDataIdentifierRequest)

        Retrieves the criteria and other settings for a custom data identifier.


        This is a convenience which creates an instance of the GetCustomDataIdentifierRequest.Builder avoiding the need to create one manually via GetCustomDataIdentifierRequest.builder()

        Parameters:
        getCustomDataIdentifierRequest - A Consumer that will call methods on GetCustomDataIdentifierRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindingStatistics

        default CompletableFuture<GetFindingStatisticsResponse> getFindingStatistics​(GetFindingStatisticsRequest getFindingStatisticsRequest)

        Retrieves (queries) aggregated statistical data about findings.

        Parameters:
        getFindingStatisticsRequest -
        Returns:
        A Java Future containing the result of the GetFindingStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindingStatistics

        default CompletableFuture<GetFindingStatisticsResponse> getFindingStatistics​(Consumer<GetFindingStatisticsRequest.Builder> getFindingStatisticsRequest)

        Retrieves (queries) aggregated statistical data about findings.


        This is a convenience which creates an instance of the GetFindingStatisticsRequest.Builder avoiding the need to create one manually via GetFindingStatisticsRequest.builder()

        Parameters:
        getFindingStatisticsRequest - A Consumer that will call methods on GetFindingStatisticsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetFindingStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindings

        default CompletableFuture<GetFindingsResponse> getFindings​(GetFindingsRequest getFindingsRequest)

        Retrieves the details of one or more findings.

        Parameters:
        getFindingsRequest -
        Returns:
        A Java Future containing the result of the GetFindings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindings

        default CompletableFuture<GetFindingsResponse> getFindings​(Consumer<GetFindingsRequest.Builder> getFindingsRequest)

        Retrieves the details of one or more findings.


        This is a convenience which creates an instance of the GetFindingsRequest.Builder avoiding the need to create one manually via GetFindingsRequest.builder()

        Parameters:
        getFindingsRequest - A Consumer that will call methods on GetFindingsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetFindings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindingsFilter

        default CompletableFuture<GetFindingsFilterResponse> getFindingsFilter​(GetFindingsFilterRequest getFindingsFilterRequest)

        Retrieves the criteria and other settings for a findings filter.

        Parameters:
        getFindingsFilterRequest -
        Returns:
        A Java Future containing the result of the GetFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindingsFilter

        default CompletableFuture<GetFindingsFilterResponse> getFindingsFilter​(Consumer<GetFindingsFilterRequest.Builder> getFindingsFilterRequest)

        Retrieves the criteria and other settings for a findings filter.


        This is a convenience which creates an instance of the GetFindingsFilterRequest.Builder avoiding the need to create one manually via GetFindingsFilterRequest.builder()

        Parameters:
        getFindingsFilterRequest - A Consumer that will call methods on GetFindingsFilterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindingsPublicationConfiguration

        default CompletableFuture<GetFindingsPublicationConfigurationResponse> getFindingsPublicationConfiguration​(GetFindingsPublicationConfigurationRequest getFindingsPublicationConfigurationRequest)

        Retrieves the configuration settings for publishing findings to Security Hub.

        Parameters:
        getFindingsPublicationConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetFindingsPublicationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getFindingsPublicationConfiguration

        default CompletableFuture<GetFindingsPublicationConfigurationResponse> getFindingsPublicationConfiguration​(Consumer<GetFindingsPublicationConfigurationRequest.Builder> getFindingsPublicationConfigurationRequest)

        Retrieves the configuration settings for publishing findings to Security Hub.


        This is a convenience which creates an instance of the GetFindingsPublicationConfigurationRequest.Builder avoiding the need to create one manually via GetFindingsPublicationConfigurationRequest.builder()

        Parameters:
        getFindingsPublicationConfigurationRequest - A Consumer that will call methods on GetFindingsPublicationConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetFindingsPublicationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getInvitationsCount

        default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount​(GetInvitationsCountRequest getInvitationsCountRequest)

        Retrieves the count of Amazon Macie membership invitations that were received by an account.

        Parameters:
        getInvitationsCountRequest -
        Returns:
        A Java Future containing the result of the GetInvitationsCount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getInvitationsCount

        default CompletableFuture<GetInvitationsCountResponse> getInvitationsCount​(Consumer<GetInvitationsCountRequest.Builder> getInvitationsCountRequest)

        Retrieves the count of Amazon Macie membership invitations that were received by an account.


        This is a convenience which creates an instance of the GetInvitationsCountRequest.Builder avoiding the need to create one manually via GetInvitationsCountRequest.builder()

        Parameters:
        getInvitationsCountRequest - A Consumer that will call methods on GetInvitationsCountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetInvitationsCount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getMacieSession

        default CompletableFuture<GetMacieSessionResponse> getMacieSession​(GetMacieSessionRequest getMacieSessionRequest)

        Retrieves the status and configuration settings for an Amazon Macie account.

        Parameters:
        getMacieSessionRequest -
        Returns:
        A Java Future containing the result of the GetMacieSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getMacieSession

        default CompletableFuture<GetMacieSessionResponse> getMacieSession​(Consumer<GetMacieSessionRequest.Builder> getMacieSessionRequest)

        Retrieves the status and configuration settings for an Amazon Macie account.


        This is a convenience which creates an instance of the GetMacieSessionRequest.Builder avoiding the need to create one manually via GetMacieSessionRequest.builder()

        Parameters:
        getMacieSessionRequest - A Consumer that will call methods on GetMacieSessionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetMacieSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getMasterAccount

        default CompletableFuture<GetMasterAccountResponse> getMasterAccount​(GetMasterAccountRequest getMasterAccountRequest)

        (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.

        Parameters:
        getMasterAccountRequest -
        Returns:
        A Java Future containing the result of the GetMasterAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getMasterAccount

        default CompletableFuture<GetMasterAccountResponse> getMasterAccount​(Consumer<GetMasterAccountRequest.Builder> getMasterAccountRequest)

        (Deprecated) Retrieves information about the Amazon Macie administrator account for an account. This operation has been replaced by the GetAdministratorAccount operation.


        This is a convenience which creates an instance of the GetMasterAccountRequest.Builder avoiding the need to create one manually via GetMasterAccountRequest.builder()

        Parameters:
        getMasterAccountRequest - A Consumer that will call methods on GetMasterAccountRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetMasterAccount operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getMember

        default CompletableFuture<GetMemberResponse> getMember​(GetMemberRequest getMemberRequest)

        Retrieves information about an account that's associated with an Amazon Macie administrator account.

        Parameters:
        getMemberRequest -
        Returns:
        A Java Future containing the result of the GetMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getMember

        default CompletableFuture<GetMemberResponse> getMember​(Consumer<GetMemberRequest.Builder> getMemberRequest)

        Retrieves information about an account that's associated with an Amazon Macie administrator account.


        This is a convenience which creates an instance of the GetMemberRequest.Builder avoiding the need to create one manually via GetMemberRequest.builder()

        Parameters:
        getMemberRequest - A Consumer that will call methods on GetMemberRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetMember operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceProfile

        default CompletableFuture<GetResourceProfileResponse> getResourceProfile​(GetResourceProfileRequest getResourceProfileRequest)

        Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.

        Parameters:
        getResourceProfileRequest -
        Returns:
        A Java Future containing the result of the GetResourceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getResourceProfile

        default CompletableFuture<GetResourceProfileResponse> getResourceProfile​(Consumer<GetResourceProfileRequest.Builder> getResourceProfileRequest)

        Retrieves (queries) sensitive data discovery statistics and the sensitivity score for an S3 bucket.


        This is a convenience which creates an instance of the GetResourceProfileRequest.Builder avoiding the need to create one manually via GetResourceProfileRequest.builder()

        Parameters:
        getResourceProfileRequest - A Consumer that will call methods on GetResourceProfileRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetResourceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRevealConfiguration

        default CompletableFuture<GetRevealConfigurationResponse> getRevealConfiguration​(GetRevealConfigurationRequest getRevealConfigurationRequest)

        Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

        Parameters:
        getRevealConfigurationRequest -
        Returns:
        A Java Future containing the result of the GetRevealConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getRevealConfiguration

        default CompletableFuture<GetRevealConfigurationResponse> getRevealConfiguration​(Consumer<GetRevealConfigurationRequest.Builder> getRevealConfigurationRequest)

        Retrieves the status and configuration settings for retrieving occurrences of sensitive data reported by findings.


        This is a convenience which creates an instance of the GetRevealConfigurationRequest.Builder avoiding the need to create one manually via GetRevealConfigurationRequest.builder()

        Parameters:
        getRevealConfigurationRequest - A Consumer that will call methods on GetRevealConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetRevealConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSensitiveDataOccurrences

        default CompletableFuture<GetSensitiveDataOccurrencesResponse> getSensitiveDataOccurrences​(GetSensitiveDataOccurrencesRequest getSensitiveDataOccurrencesRequest)

        Retrieves occurrences of sensitive data reported by a finding.

        Parameters:
        getSensitiveDataOccurrencesRequest -
        Returns:
        A Java Future containing the result of the GetSensitiveDataOccurrences operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • UnprocessableEntityException The request failed because it contains instructions that Amazon Macie can't process (Unprocessable Entity).
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSensitiveDataOccurrences

        default CompletableFuture<GetSensitiveDataOccurrencesResponse> getSensitiveDataOccurrences​(Consumer<GetSensitiveDataOccurrencesRequest.Builder> getSensitiveDataOccurrencesRequest)

        Retrieves occurrences of sensitive data reported by a finding.


        This is a convenience which creates an instance of the GetSensitiveDataOccurrencesRequest.Builder avoiding the need to create one manually via GetSensitiveDataOccurrencesRequest.builder()

        Parameters:
        getSensitiveDataOccurrencesRequest - A Consumer that will call methods on GetSensitiveDataOccurrencesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSensitiveDataOccurrences operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • UnprocessableEntityException The request failed because it contains instructions that Amazon Macie can't process (Unprocessable Entity).
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSensitiveDataOccurrencesAvailability

        default CompletableFuture<GetSensitiveDataOccurrencesAvailabilityResponse> getSensitiveDataOccurrencesAvailability​(GetSensitiveDataOccurrencesAvailabilityRequest getSensitiveDataOccurrencesAvailabilityRequest)

        Checks whether occurrences of sensitive data can be retrieved for a finding.

        Parameters:
        getSensitiveDataOccurrencesAvailabilityRequest -
        Returns:
        A Java Future containing the result of the GetSensitiveDataOccurrencesAvailability operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSensitiveDataOccurrencesAvailability

        default CompletableFuture<GetSensitiveDataOccurrencesAvailabilityResponse> getSensitiveDataOccurrencesAvailability​(Consumer<GetSensitiveDataOccurrencesAvailabilityRequest.Builder> getSensitiveDataOccurrencesAvailabilityRequest)

        Checks whether occurrences of sensitive data can be retrieved for a finding.


        This is a convenience which creates an instance of the GetSensitiveDataOccurrencesAvailabilityRequest.Builder avoiding the need to create one manually via GetSensitiveDataOccurrencesAvailabilityRequest.builder()

        Parameters:
        getSensitiveDataOccurrencesAvailabilityRequest - A Consumer that will call methods on GetSensitiveDataOccurrencesAvailabilityRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSensitiveDataOccurrencesAvailability operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSensitivityInspectionTemplate

        default CompletableFuture<GetSensitivityInspectionTemplateResponse> getSensitivityInspectionTemplate​(GetSensitivityInspectionTemplateRequest getSensitivityInspectionTemplateRequest)

        Retrieves the settings for the sensitivity inspection template for an account.

        Parameters:
        getSensitivityInspectionTemplateRequest -
        Returns:
        A Java Future containing the result of the GetSensitivityInspectionTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getSensitivityInspectionTemplate

        default CompletableFuture<GetSensitivityInspectionTemplateResponse> getSensitivityInspectionTemplate​(Consumer<GetSensitivityInspectionTemplateRequest.Builder> getSensitivityInspectionTemplateRequest)

        Retrieves the settings for the sensitivity inspection template for an account.


        This is a convenience which creates an instance of the GetSensitivityInspectionTemplateRequest.Builder avoiding the need to create one manually via GetSensitivityInspectionTemplateRequest.builder()

        Parameters:
        getSensitivityInspectionTemplateRequest - A Consumer that will call methods on GetSensitivityInspectionTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetSensitivityInspectionTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getUsageStatistics

        default CompletableFuture<GetUsageStatisticsResponse> getUsageStatistics​(GetUsageStatisticsRequest getUsageStatisticsRequest)

        Retrieves (queries) quotas and aggregated usage data for one or more accounts.

        Parameters:
        getUsageStatisticsRequest -
        Returns:
        A Java Future containing the result of the GetUsageStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getUsageStatistics

        default CompletableFuture<GetUsageStatisticsResponse> getUsageStatistics​(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)

        Retrieves (queries) quotas and aggregated usage data for one or more accounts.


        This is a convenience which creates an instance of the GetUsageStatisticsRequest.Builder avoiding the need to create one manually via GetUsageStatisticsRequest.builder()

        Parameters:
        getUsageStatisticsRequest - A Consumer that will call methods on GetUsageStatisticsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetUsageStatistics operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getUsageStatisticsPaginator

        default GetUsageStatisticsPublisher getUsageStatisticsPaginator​(GetUsageStatisticsRequest getUsageStatisticsRequest)

        This is a variant of getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest) operation.

        Parameters:
        getUsageStatisticsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getUsageStatisticsPaginator

        default GetUsageStatisticsPublisher getUsageStatisticsPaginator​(Consumer<GetUsageStatisticsRequest.Builder> getUsageStatisticsRequest)

        This is a variant of getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.GetUsageStatisticsPublisher publisher = client.getUsageStatisticsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the getUsageStatistics(software.amazon.awssdk.services.macie2.model.GetUsageStatisticsRequest) operation.


        This is a convenience which creates an instance of the GetUsageStatisticsRequest.Builder avoiding the need to create one manually via GetUsageStatisticsRequest.builder()

        Parameters:
        getUsageStatisticsRequest - A Consumer that will call methods on GetUsageStatisticsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getUsageTotals

        default CompletableFuture<GetUsageTotalsResponse> getUsageTotals​(GetUsageTotalsRequest getUsageTotalsRequest)

        Retrieves (queries) aggregated usage data for an account.

        Parameters:
        getUsageTotalsRequest -
        Returns:
        A Java Future containing the result of the GetUsageTotals operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getUsageTotals

        default CompletableFuture<GetUsageTotalsResponse> getUsageTotals​(Consumer<GetUsageTotalsRequest.Builder> getUsageTotalsRequest)

        Retrieves (queries) aggregated usage data for an account.


        This is a convenience which creates an instance of the GetUsageTotalsRequest.Builder avoiding the need to create one manually via GetUsageTotalsRequest.builder()

        Parameters:
        getUsageTotalsRequest - A Consumer that will call methods on GetUsageTotalsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetUsageTotals operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAllowLists

        default CompletableFuture<ListAllowListsResponse> listAllowLists​(ListAllowListsRequest listAllowListsRequest)

        Retrieves a subset of information about all the allow lists for an account.

        Parameters:
        listAllowListsRequest -
        Returns:
        A Java Future containing the result of the ListAllowLists operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAllowLists

        default CompletableFuture<ListAllowListsResponse> listAllowLists​(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest)

        Retrieves a subset of information about all the allow lists for an account.


        This is a convenience which creates an instance of the ListAllowListsRequest.Builder avoiding the need to create one manually via ListAllowListsRequest.builder()

        Parameters:
        listAllowListsRequest - A Consumer that will call methods on ListAllowListsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListAllowLists operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAllowListsPaginator

        default ListAllowListsPublisher listAllowListsPaginator​(ListAllowListsRequest listAllowListsRequest)

        This is a variant of listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListAllowListsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest) operation.

        Parameters:
        listAllowListsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listAllowListsPaginator

        default ListAllowListsPublisher listAllowListsPaginator​(Consumer<ListAllowListsRequest.Builder> listAllowListsRequest)

        This is a variant of listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListAllowListsPublisher publisher = client.listAllowListsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListAllowListsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListAllowListsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listAllowLists(software.amazon.awssdk.services.macie2.model.ListAllowListsRequest) operation.


        This is a convenience which creates an instance of the ListAllowListsRequest.Builder avoiding the need to create one manually via ListAllowListsRequest.builder()

        Parameters:
        listAllowListsRequest - A Consumer that will call methods on ListAllowListsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationJobs

        default CompletableFuture<ListClassificationJobsResponse> listClassificationJobs​(ListClassificationJobsRequest listClassificationJobsRequest)

        Retrieves a subset of information about one or more classification jobs.

        Parameters:
        listClassificationJobsRequest -
        Returns:
        A Java Future containing the result of the ListClassificationJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationJobs

        default CompletableFuture<ListClassificationJobsResponse> listClassificationJobs​(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest)

        Retrieves a subset of information about one or more classification jobs.


        This is a convenience which creates an instance of the ListClassificationJobsRequest.Builder avoiding the need to create one manually via ListClassificationJobsRequest.builder()

        Parameters:
        listClassificationJobsRequest - A Consumer that will call methods on ListClassificationJobsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListClassificationJobs operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationJobsPaginator

        default ListClassificationJobsPublisher listClassificationJobsPaginator​(ListClassificationJobsRequest listClassificationJobsRequest)

        This is a variant of listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest) operation.

        Parameters:
        listClassificationJobsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationJobsPaginator

        default ListClassificationJobsPublisher listClassificationJobsPaginator​(Consumer<ListClassificationJobsRequest.Builder> listClassificationJobsRequest)

        This is a variant of listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationJobsPublisher publisher = client.listClassificationJobsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationJobsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listClassificationJobs(software.amazon.awssdk.services.macie2.model.ListClassificationJobsRequest) operation.


        This is a convenience which creates an instance of the ListClassificationJobsRequest.Builder avoiding the need to create one manually via ListClassificationJobsRequest.builder()

        Parameters:
        listClassificationJobsRequest - A Consumer that will call methods on ListClassificationJobsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationScopes

        default CompletableFuture<ListClassificationScopesResponse> listClassificationScopes​(ListClassificationScopesRequest listClassificationScopesRequest)

        Retrieves a subset of information about the classification scope for an account.

        Parameters:
        listClassificationScopesRequest -
        Returns:
        A Java Future containing the result of the ListClassificationScopes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationScopes

        default CompletableFuture<ListClassificationScopesResponse> listClassificationScopes​(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest)

        Retrieves a subset of information about the classification scope for an account.


        This is a convenience which creates an instance of the ListClassificationScopesRequest.Builder avoiding the need to create one manually via ListClassificationScopesRequest.builder()

        Parameters:
        listClassificationScopesRequest - A Consumer that will call methods on ListClassificationScopesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListClassificationScopes operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationScopesPaginator

        default ListClassificationScopesPublisher listClassificationScopesPaginator​(ListClassificationScopesRequest listClassificationScopesRequest)

        This is a variant of listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest) operation.

        Parameters:
        listClassificationScopesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listClassificationScopesPaginator

        default ListClassificationScopesPublisher listClassificationScopesPaginator​(Consumer<ListClassificationScopesRequest.Builder> listClassificationScopesRequest)

        This is a variant of listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListClassificationScopesPublisher publisher = client.listClassificationScopesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListClassificationScopesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listClassificationScopes(software.amazon.awssdk.services.macie2.model.ListClassificationScopesRequest) operation.


        This is a convenience which creates an instance of the ListClassificationScopesRequest.Builder avoiding the need to create one manually via ListClassificationScopesRequest.builder()

        Parameters:
        listClassificationScopesRequest - A Consumer that will call methods on ListClassificationScopesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCustomDataIdentifiers

        default CompletableFuture<ListCustomDataIdentifiersResponse> listCustomDataIdentifiers​(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest)

        Retrieves a subset of information about all the custom data identifiers for an account.

        Parameters:
        listCustomDataIdentifiersRequest -
        Returns:
        A Java Future containing the result of the ListCustomDataIdentifiers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCustomDataIdentifiers

        default CompletableFuture<ListCustomDataIdentifiersResponse> listCustomDataIdentifiers​(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest)

        Retrieves a subset of information about all the custom data identifiers for an account.


        This is a convenience which creates an instance of the ListCustomDataIdentifiersRequest.Builder avoiding the need to create one manually via ListCustomDataIdentifiersRequest.builder()

        Parameters:
        listCustomDataIdentifiersRequest - A Consumer that will call methods on ListCustomDataIdentifiersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListCustomDataIdentifiers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCustomDataIdentifiersPaginator

        default ListCustomDataIdentifiersPublisher listCustomDataIdentifiersPaginator​(ListCustomDataIdentifiersRequest listCustomDataIdentifiersRequest)

        This is a variant of listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest) operation.

        Parameters:
        listCustomDataIdentifiersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listCustomDataIdentifiersPaginator

        default ListCustomDataIdentifiersPublisher listCustomDataIdentifiersPaginator​(Consumer<ListCustomDataIdentifiersRequest.Builder> listCustomDataIdentifiersRequest)

        This is a variant of listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListCustomDataIdentifiersPublisher publisher = client.listCustomDataIdentifiersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listCustomDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListCustomDataIdentifiersRequest) operation.


        This is a convenience which creates an instance of the ListCustomDataIdentifiersRequest.Builder avoiding the need to create one manually via ListCustomDataIdentifiersRequest.builder()

        Parameters:
        listCustomDataIdentifiersRequest - A Consumer that will call methods on ListCustomDataIdentifiersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindings

        default CompletableFuture<ListFindingsResponse> listFindings​(ListFindingsRequest listFindingsRequest)

        Retrieves a subset of information about one or more findings.

        Parameters:
        listFindingsRequest -
        Returns:
        A Java Future containing the result of the ListFindings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindings

        default CompletableFuture<ListFindingsResponse> listFindings​(Consumer<ListFindingsRequest.Builder> listFindingsRequest)

        Retrieves a subset of information about one or more findings.


        This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to create one manually via ListFindingsRequest.builder()

        Parameters:
        listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListFindings operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindingsFilters

        default CompletableFuture<ListFindingsFiltersResponse> listFindingsFilters​(ListFindingsFiltersRequest listFindingsFiltersRequest)

        Retrieves a subset of information about all the findings filters for an account.

        Parameters:
        listFindingsFiltersRequest -
        Returns:
        A Java Future containing the result of the ListFindingsFilters operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindingsFilters

        default CompletableFuture<ListFindingsFiltersResponse> listFindingsFilters​(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest)

        Retrieves a subset of information about all the findings filters for an account.


        This is a convenience which creates an instance of the ListFindingsFiltersRequest.Builder avoiding the need to create one manually via ListFindingsFiltersRequest.builder()

        Parameters:
        listFindingsFiltersRequest - A Consumer that will call methods on ListFindingsFiltersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListFindingsFilters operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindingsFiltersPaginator

        default ListFindingsFiltersPublisher listFindingsFiltersPaginator​(ListFindingsFiltersRequest listFindingsFiltersRequest)

        This is a variant of listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest) operation.

        Parameters:
        listFindingsFiltersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindingsFiltersPaginator

        default ListFindingsFiltersPublisher listFindingsFiltersPaginator​(Consumer<ListFindingsFiltersRequest.Builder> listFindingsFiltersRequest)

        This is a variant of listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsFiltersPublisher publisher = client.listFindingsFiltersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFindingsFilters(software.amazon.awssdk.services.macie2.model.ListFindingsFiltersRequest) operation.


        This is a convenience which creates an instance of the ListFindingsFiltersRequest.Builder avoiding the need to create one manually via ListFindingsFiltersRequest.builder()

        Parameters:
        listFindingsFiltersRequest - A Consumer that will call methods on ListFindingsFiltersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindingsPaginator

        default ListFindingsPublisher listFindingsPaginator​(ListFindingsRequest listFindingsRequest)

        This is a variant of listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest) operation.

        Parameters:
        listFindingsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listFindingsPaginator

        default ListFindingsPublisher listFindingsPaginator​(Consumer<ListFindingsRequest.Builder> listFindingsRequest)

        This is a variant of listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListFindingsPublisher publisher = client.listFindingsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListFindingsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListFindingsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listFindings(software.amazon.awssdk.services.macie2.model.ListFindingsRequest) operation.


        This is a convenience which creates an instance of the ListFindingsRequest.Builder avoiding the need to create one manually via ListFindingsRequest.builder()

        Parameters:
        listFindingsRequest - A Consumer that will call methods on ListFindingsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listInvitations

        default CompletableFuture<ListInvitationsResponse> listInvitations​(ListInvitationsRequest listInvitationsRequest)

        Retrieves information about the Amazon Macie membership invitations that were received by an account.

        Parameters:
        listInvitationsRequest -
        Returns:
        A Java Future containing the result of the ListInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listInvitations

        default CompletableFuture<ListInvitationsResponse> listInvitations​(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)

        Retrieves information about the Amazon Macie membership invitations that were received by an account.


        This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need to create one manually via ListInvitationsRequest.builder()

        Parameters:
        listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListInvitations operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listInvitationsPaginator

        default ListInvitationsPublisher listInvitationsPaginator​(ListInvitationsRequest listInvitationsRequest)

        This is a variant of listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListInvitationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListInvitationsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest) operation.

        Parameters:
        listInvitationsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listInvitationsPaginator

        default ListInvitationsPublisher listInvitationsPaginator​(Consumer<ListInvitationsRequest.Builder> listInvitationsRequest)

        This is a variant of listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListInvitationsPublisher publisher = client.listInvitationsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListInvitationsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListInvitationsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listInvitations(software.amazon.awssdk.services.macie2.model.ListInvitationsRequest) operation.


        This is a convenience which creates an instance of the ListInvitationsRequest.Builder avoiding the need to create one manually via ListInvitationsRequest.builder()

        Parameters:
        listInvitationsRequest - A Consumer that will call methods on ListInvitationsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listManagedDataIdentifiers

        default CompletableFuture<ListManagedDataIdentifiersResponse> listManagedDataIdentifiers​(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest)

        Retrieves information about all the managed data identifiers that Amazon Macie currently provides.

        Parameters:
        listManagedDataIdentifiersRequest -
        Returns:
        A Java Future containing the result of the ListManagedDataIdentifiers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listManagedDataIdentifiersPaginator

        default ListManagedDataIdentifiersPublisher listManagedDataIdentifiersPaginator​(ListManagedDataIdentifiersRequest listManagedDataIdentifiersRequest)

        This is a variant of listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest) operation.

        Parameters:
        listManagedDataIdentifiersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listManagedDataIdentifiersPaginator

        default ListManagedDataIdentifiersPublisher listManagedDataIdentifiersPaginator​(Consumer<ListManagedDataIdentifiersRequest.Builder> listManagedDataIdentifiersRequest)

        This is a variant of listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListManagedDataIdentifiersPublisher publisher = client.listManagedDataIdentifiersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listManagedDataIdentifiers(software.amazon.awssdk.services.macie2.model.ListManagedDataIdentifiersRequest) operation.


        This is a convenience which creates an instance of the ListManagedDataIdentifiersRequest.Builder avoiding the need to create one manually via ListManagedDataIdentifiersRequest.builder()

        Parameters:
        listManagedDataIdentifiersRequest - A Consumer that will call methods on ListManagedDataIdentifiersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listMembers

        default CompletableFuture<ListMembersResponse> listMembers​(ListMembersRequest listMembersRequest)

        Retrieves information about the accounts that are associated with an Amazon Macie administrator account.

        Parameters:
        listMembersRequest -
        Returns:
        A Java Future containing the result of the ListMembers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listMembers

        default CompletableFuture<ListMembersResponse> listMembers​(Consumer<ListMembersRequest.Builder> listMembersRequest)

        Retrieves information about the accounts that are associated with an Amazon Macie administrator account.


        This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to create one manually via ListMembersRequest.builder()

        Parameters:
        listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListMembers operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listMembersPaginator

        default ListMembersPublisher listMembersPaginator​(ListMembersRequest listMembersRequest)

        This is a variant of listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListMembersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListMembersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest) operation.

        Parameters:
        listMembersRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listMembersPaginator

        default ListMembersPublisher listMembersPaginator​(Consumer<ListMembersRequest.Builder> listMembersRequest)

        This is a variant of listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListMembersPublisher publisher = client.listMembersPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListMembersResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListMembersResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listMembers(software.amazon.awssdk.services.macie2.model.ListMembersRequest) operation.


        This is a convenience which creates an instance of the ListMembersRequest.Builder avoiding the need to create one manually via ListMembersRequest.builder()

        Parameters:
        listMembersRequest - A Consumer that will call methods on ListMembersRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrganizationAdminAccounts

        default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts​(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)

        Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.

        Parameters:
        listOrganizationAdminAccountsRequest -
        Returns:
        A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrganizationAdminAccounts

        default CompletableFuture<ListOrganizationAdminAccountsResponse> listOrganizationAdminAccounts​(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)

        Retrieves information about the delegated Amazon Macie administrator account for an organization in Organizations.


        This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()

        Parameters:
        listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListOrganizationAdminAccounts operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrganizationAdminAccountsPaginator

        default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator​(ListOrganizationAdminAccountsRequest listOrganizationAdminAccountsRequest)

        This is a variant of listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest) operation.

        Parameters:
        listOrganizationAdminAccountsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listOrganizationAdminAccountsPaginator

        default ListOrganizationAdminAccountsPublisher listOrganizationAdminAccountsPaginator​(Consumer<ListOrganizationAdminAccountsRequest.Builder> listOrganizationAdminAccountsRequest)

        This is a variant of listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListOrganizationAdminAccountsPublisher publisher = client.listOrganizationAdminAccountsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listOrganizationAdminAccounts(software.amazon.awssdk.services.macie2.model.ListOrganizationAdminAccountsRequest) operation.


        This is a convenience which creates an instance of the ListOrganizationAdminAccountsRequest.Builder avoiding the need to create one manually via ListOrganizationAdminAccountsRequest.builder()

        Parameters:
        listOrganizationAdminAccountsRequest - A Consumer that will call methods on ListOrganizationAdminAccountsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileArtifacts

        default CompletableFuture<ListResourceProfileArtifactsResponse> listResourceProfileArtifacts​(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest)

        Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.

        Parameters:
        listResourceProfileArtifactsRequest -
        Returns:
        A Java Future containing the result of the ListResourceProfileArtifacts operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileArtifacts

        default CompletableFuture<ListResourceProfileArtifactsResponse> listResourceProfileArtifacts​(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest)

        Retrieves information about objects that were selected from an S3 bucket for automated sensitive data discovery.


        This is a convenience which creates an instance of the ListResourceProfileArtifactsRequest.Builder avoiding the need to create one manually via ListResourceProfileArtifactsRequest.builder()

        Parameters:
        listResourceProfileArtifactsRequest - A Consumer that will call methods on ListResourceProfileArtifactsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListResourceProfileArtifacts operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileArtifactsPaginator

        default ListResourceProfileArtifactsPublisher listResourceProfileArtifactsPaginator​(ListResourceProfileArtifactsRequest listResourceProfileArtifactsRequest)

        This is a variant of listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest) operation.

        Parameters:
        listResourceProfileArtifactsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileArtifactsPaginator

        default ListResourceProfileArtifactsPublisher listResourceProfileArtifactsPaginator​(Consumer<ListResourceProfileArtifactsRequest.Builder> listResourceProfileArtifactsRequest)

        This is a variant of listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileArtifactsPublisher publisher = client.listResourceProfileArtifactsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceProfileArtifacts(software.amazon.awssdk.services.macie2.model.ListResourceProfileArtifactsRequest) operation.


        This is a convenience which creates an instance of the ListResourceProfileArtifactsRequest.Builder avoiding the need to create one manually via ListResourceProfileArtifactsRequest.builder()

        Parameters:
        listResourceProfileArtifactsRequest - A Consumer that will call methods on ListResourceProfileArtifactsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileDetections

        default CompletableFuture<ListResourceProfileDetectionsResponse> listResourceProfileDetections​(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest)

        Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.

        Parameters:
        listResourceProfileDetectionsRequest -
        Returns:
        A Java Future containing the result of the ListResourceProfileDetections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileDetections

        default CompletableFuture<ListResourceProfileDetectionsResponse> listResourceProfileDetections​(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest)

        Retrieves information about the types and amount of sensitive data that Amazon Macie found in an S3 bucket.


        This is a convenience which creates an instance of the ListResourceProfileDetectionsRequest.Builder avoiding the need to create one manually via ListResourceProfileDetectionsRequest.builder()

        Parameters:
        listResourceProfileDetectionsRequest - A Consumer that will call methods on ListResourceProfileDetectionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListResourceProfileDetections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileDetectionsPaginator

        default ListResourceProfileDetectionsPublisher listResourceProfileDetectionsPaginator​(ListResourceProfileDetectionsRequest listResourceProfileDetectionsRequest)

        This is a variant of listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest) operation.

        Parameters:
        listResourceProfileDetectionsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listResourceProfileDetectionsPaginator

        default ListResourceProfileDetectionsPublisher listResourceProfileDetectionsPaginator​(Consumer<ListResourceProfileDetectionsRequest.Builder> listResourceProfileDetectionsRequest)

        This is a variant of listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListResourceProfileDetectionsPublisher publisher = client.listResourceProfileDetectionsPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listResourceProfileDetections(software.amazon.awssdk.services.macie2.model.ListResourceProfileDetectionsRequest) operation.


        This is a convenience which creates an instance of the ListResourceProfileDetectionsRequest.Builder avoiding the need to create one manually via ListResourceProfileDetectionsRequest.builder()

        Parameters:
        listResourceProfileDetectionsRequest - A Consumer that will call methods on ListResourceProfileDetectionsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSensitivityInspectionTemplates

        default CompletableFuture<ListSensitivityInspectionTemplatesResponse> listSensitivityInspectionTemplates​(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest)

        Retrieves a subset of information about the sensitivity inspection template for an account.

        Parameters:
        listSensitivityInspectionTemplatesRequest -
        Returns:
        A Java Future containing the result of the ListSensitivityInspectionTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSensitivityInspectionTemplates

        default CompletableFuture<ListSensitivityInspectionTemplatesResponse> listSensitivityInspectionTemplates​(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest)

        Retrieves a subset of information about the sensitivity inspection template for an account.


        This is a convenience which creates an instance of the ListSensitivityInspectionTemplatesRequest.Builder avoiding the need to create one manually via ListSensitivityInspectionTemplatesRequest.builder()

        Parameters:
        listSensitivityInspectionTemplatesRequest - A Consumer that will call methods on ListSensitivityInspectionTemplatesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListSensitivityInspectionTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSensitivityInspectionTemplatesPaginator

        default ListSensitivityInspectionTemplatesPublisher listSensitivityInspectionTemplatesPaginator​(ListSensitivityInspectionTemplatesRequest listSensitivityInspectionTemplatesRequest)

        This is a variant of listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest) operation.

        Parameters:
        listSensitivityInspectionTemplatesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listSensitivityInspectionTemplatesPaginator

        default ListSensitivityInspectionTemplatesPublisher listSensitivityInspectionTemplatesPaginator​(Consumer<ListSensitivityInspectionTemplatesRequest.Builder> listSensitivityInspectionTemplatesRequest)

        This is a variant of listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.ListSensitivityInspectionTemplatesPublisher publisher = client.listSensitivityInspectionTemplatesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the listSensitivityInspectionTemplates(software.amazon.awssdk.services.macie2.model.ListSensitivityInspectionTemplatesRequest) operation.


        This is a convenience which creates an instance of the ListSensitivityInspectionTemplatesRequest.Builder avoiding the need to create one manually via ListSensitivityInspectionTemplatesRequest.builder()

        Parameters:
        listSensitivityInspectionTemplatesRequest - A Consumer that will call methods on ListSensitivityInspectionTemplatesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.

        Parameters:
        listTagsForResourceRequest -
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

        Retrieves the tags (keys and values) that are associated with an Amazon Macie resource.


        This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

        Parameters:
        listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTagsForResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putClassificationExportConfiguration

        default CompletableFuture<PutClassificationExportConfigurationResponse> putClassificationExportConfiguration​(PutClassificationExportConfigurationRequest putClassificationExportConfigurationRequest)

        Creates or updates the configuration settings for storing data classification results.

        Parameters:
        putClassificationExportConfigurationRequest -
        Returns:
        A Java Future containing the result of the PutClassificationExportConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putClassificationExportConfiguration

        default CompletableFuture<PutClassificationExportConfigurationResponse> putClassificationExportConfiguration​(Consumer<PutClassificationExportConfigurationRequest.Builder> putClassificationExportConfigurationRequest)

        Creates or updates the configuration settings for storing data classification results.


        This is a convenience which creates an instance of the PutClassificationExportConfigurationRequest.Builder avoiding the need to create one manually via PutClassificationExportConfigurationRequest.builder()

        Parameters:
        putClassificationExportConfigurationRequest - A Consumer that will call methods on PutClassificationExportConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the PutClassificationExportConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putFindingsPublicationConfiguration

        default CompletableFuture<PutFindingsPublicationConfigurationResponse> putFindingsPublicationConfiguration​(PutFindingsPublicationConfigurationRequest putFindingsPublicationConfigurationRequest)

        Updates the configuration settings for publishing findings to Security Hub.

        Parameters:
        putFindingsPublicationConfigurationRequest -
        Returns:
        A Java Future containing the result of the PutFindingsPublicationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • putFindingsPublicationConfiguration

        default CompletableFuture<PutFindingsPublicationConfigurationResponse> putFindingsPublicationConfiguration​(Consumer<PutFindingsPublicationConfigurationRequest.Builder> putFindingsPublicationConfigurationRequest)

        Updates the configuration settings for publishing findings to Security Hub.


        This is a convenience which creates an instance of the PutFindingsPublicationConfigurationRequest.Builder avoiding the need to create one manually via PutFindingsPublicationConfigurationRequest.builder()

        Parameters:
        putFindingsPublicationConfigurationRequest - A Consumer that will call methods on PutFindingsPublicationConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the PutFindingsPublicationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchResources

        default CompletableFuture<SearchResourcesResponse> searchResources​(SearchResourcesRequest searchResourcesRequest)

        Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.

        Parameters:
        searchResourcesRequest -
        Returns:
        A Java Future containing the result of the SearchResources operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchResources

        default CompletableFuture<SearchResourcesResponse> searchResources​(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest)

        Retrieves (queries) statistical data and other information about Amazon Web Services resources that Amazon Macie monitors and analyzes.


        This is a convenience which creates an instance of the SearchResourcesRequest.Builder avoiding the need to create one manually via SearchResourcesRequest.builder()

        Parameters:
        searchResourcesRequest - A Consumer that will call methods on SearchResourcesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the SearchResources operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchResourcesPaginator

        default SearchResourcesPublisher searchResourcesPaginator​(SearchResourcesRequest searchResourcesRequest)

        This is a variant of searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.SearchResourcesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.SearchResourcesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest) operation.

        Parameters:
        searchResourcesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • searchResourcesPaginator

        default SearchResourcesPublisher searchResourcesPaginator​(Consumer<SearchResourcesRequest.Builder> searchResourcesRequest)

        This is a variant of searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

        When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

        The following are few ways to use the response class:

        1) Using the subscribe helper method
         
         software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
         CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
         future.get();
         
         
        2) Using a custom subscriber
         
         software.amazon.awssdk.services.macie2.paginators.SearchResourcesPublisher publisher = client.searchResourcesPaginator(request);
         publisher.subscribe(new Subscriber<software.amazon.awssdk.services.macie2.model.SearchResourcesResponse>() {
         
         public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
         
         
         public void onNext(software.amazon.awssdk.services.macie2.model.SearchResourcesResponse response) { //... };
         });
         
        As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

        Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.

        Note: If you prefer to have control on service calls, use the searchResources(software.amazon.awssdk.services.macie2.model.SearchResourcesRequest) operation.


        This is a convenience which creates an instance of the SearchResourcesRequest.Builder avoiding the need to create one manually via SearchResourcesRequest.builder()

        Parameters:
        searchResourcesRequest - A Consumer that will call methods on SearchResourcesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.

        Parameters:
        tagResourceRequest -
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(Consumer<TagResourceRequest.Builder> tagResourceRequest)

        Adds or updates one or more tags (keys and values) that are associated with an Amazon Macie resource.


        This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

        Parameters:
        tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the TagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • testCustomDataIdentifier

        default CompletableFuture<TestCustomDataIdentifierResponse> testCustomDataIdentifier​(TestCustomDataIdentifierRequest testCustomDataIdentifierRequest)

        Tests a custom data identifier.

        Parameters:
        testCustomDataIdentifierRequest -
        Returns:
        A Java Future containing the result of the TestCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • testCustomDataIdentifier

        default CompletableFuture<TestCustomDataIdentifierResponse> testCustomDataIdentifier​(Consumer<TestCustomDataIdentifierRequest.Builder> testCustomDataIdentifierRequest)

        Tests a custom data identifier.


        This is a convenience which creates an instance of the TestCustomDataIdentifierRequest.Builder avoiding the need to create one manually via TestCustomDataIdentifierRequest.builder()

        Parameters:
        testCustomDataIdentifierRequest - A Consumer that will call methods on TestCustomDataIdentifierRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the TestCustomDataIdentifier operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Removes one or more tags (keys and values) from an Amazon Macie resource.

        Parameters:
        untagResourceRequest -
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

        Removes one or more tags (keys and values) from an Amazon Macie resource.


        This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

        Parameters:
        untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UntagResource operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateAllowList

        default CompletableFuture<UpdateAllowListResponse> updateAllowList​(UpdateAllowListRequest updateAllowListRequest)

        Updates the settings for an allow list.

        Parameters:
        updateAllowListRequest -
        Returns:
        A Java Future containing the result of the UpdateAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateAllowList

        default CompletableFuture<UpdateAllowListResponse> updateAllowList​(Consumer<UpdateAllowListRequest.Builder> updateAllowListRequest)

        Updates the settings for an allow list.


        This is a convenience which creates an instance of the UpdateAllowListRequest.Builder avoiding the need to create one manually via UpdateAllowListRequest.builder()

        Parameters:
        updateAllowListRequest - A Consumer that will call methods on UpdateAllowListRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateAllowList operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateAutomatedDiscoveryConfiguration

        default CompletableFuture<UpdateAutomatedDiscoveryConfigurationResponse> updateAutomatedDiscoveryConfiguration​(UpdateAutomatedDiscoveryConfigurationRequest updateAutomatedDiscoveryConfigurationRequest)

        Enables or disables automated sensitive data discovery for an account.

        Parameters:
        updateAutomatedDiscoveryConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateAutomatedDiscoveryConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateAutomatedDiscoveryConfiguration

        default CompletableFuture<UpdateAutomatedDiscoveryConfigurationResponse> updateAutomatedDiscoveryConfiguration​(Consumer<UpdateAutomatedDiscoveryConfigurationRequest.Builder> updateAutomatedDiscoveryConfigurationRequest)

        Enables or disables automated sensitive data discovery for an account.


        This is a convenience which creates an instance of the UpdateAutomatedDiscoveryConfigurationRequest.Builder avoiding the need to create one manually via UpdateAutomatedDiscoveryConfigurationRequest.builder()

        Parameters:
        updateAutomatedDiscoveryConfigurationRequest - A Consumer that will call methods on UpdateAutomatedDiscoveryConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateAutomatedDiscoveryConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateClassificationJob

        default CompletableFuture<UpdateClassificationJobResponse> updateClassificationJob​(UpdateClassificationJobRequest updateClassificationJobRequest)

        Changes the status of a classification job.

        Parameters:
        updateClassificationJobRequest -
        Returns:
        A Java Future containing the result of the UpdateClassificationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateClassificationJob

        default CompletableFuture<UpdateClassificationJobResponse> updateClassificationJob​(Consumer<UpdateClassificationJobRequest.Builder> updateClassificationJobRequest)

        Changes the status of a classification job.


        This is a convenience which creates an instance of the UpdateClassificationJobRequest.Builder avoiding the need to create one manually via UpdateClassificationJobRequest.builder()

        Parameters:
        updateClassificationJobRequest - A Consumer that will call methods on UpdateClassificationJobRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateClassificationJob operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateClassificationScope

        default CompletableFuture<UpdateClassificationScopeResponse> updateClassificationScope​(UpdateClassificationScopeRequest updateClassificationScopeRequest)

        Updates the classification scope settings for an account.

        Parameters:
        updateClassificationScopeRequest -
        Returns:
        A Java Future containing the result of the UpdateClassificationScope operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateClassificationScope

        default CompletableFuture<UpdateClassificationScopeResponse> updateClassificationScope​(Consumer<UpdateClassificationScopeRequest.Builder> updateClassificationScopeRequest)

        Updates the classification scope settings for an account.


        This is a convenience which creates an instance of the UpdateClassificationScopeRequest.Builder avoiding the need to create one manually via UpdateClassificationScopeRequest.builder()

        Parameters:
        updateClassificationScopeRequest - A Consumer that will call methods on UpdateClassificationScopeRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateClassificationScope operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateFindingsFilter

        default CompletableFuture<UpdateFindingsFilterResponse> updateFindingsFilter​(UpdateFindingsFilterRequest updateFindingsFilterRequest)

        Updates the criteria and other settings for a findings filter.

        Parameters:
        updateFindingsFilterRequest -
        Returns:
        A Java Future containing the result of the UpdateFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateFindingsFilter

        default CompletableFuture<UpdateFindingsFilterResponse> updateFindingsFilter​(Consumer<UpdateFindingsFilterRequest.Builder> updateFindingsFilterRequest)

        Updates the criteria and other settings for a findings filter.


        This is a convenience which creates an instance of the UpdateFindingsFilterRequest.Builder avoiding the need to create one manually via UpdateFindingsFilterRequest.builder()

        Parameters:
        updateFindingsFilterRequest - A Consumer that will call methods on UpdateFindingsFilterRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateFindingsFilter operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateMacieSession

        default CompletableFuture<UpdateMacieSessionResponse> updateMacieSession​(UpdateMacieSessionRequest updateMacieSessionRequest)

        Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.

        Parameters:
        updateMacieSessionRequest -
        Returns:
        A Java Future containing the result of the UpdateMacieSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateMacieSession

        default CompletableFuture<UpdateMacieSessionResponse> updateMacieSession​(Consumer<UpdateMacieSessionRequest.Builder> updateMacieSessionRequest)

        Suspends or re-enables Amazon Macie, or updates the configuration settings for a Macie account.


        This is a convenience which creates an instance of the UpdateMacieSessionRequest.Builder avoiding the need to create one manually via UpdateMacieSessionRequest.builder()

        Parameters:
        updateMacieSessionRequest - A Consumer that will call methods on UpdateMacieSessionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateMacieSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateMemberSession

        default CompletableFuture<UpdateMemberSessionResponse> updateMemberSession​(UpdateMemberSessionRequest updateMemberSessionRequest)

        Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.

        Parameters:
        updateMemberSessionRequest -
        Returns:
        A Java Future containing the result of the UpdateMemberSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateMemberSession

        default CompletableFuture<UpdateMemberSessionResponse> updateMemberSession​(Consumer<UpdateMemberSessionRequest.Builder> updateMemberSessionRequest)

        Enables an Amazon Macie administrator to suspend or re-enable Macie for a member account.


        This is a convenience which creates an instance of the UpdateMemberSessionRequest.Builder avoiding the need to create one manually via UpdateMemberSessionRequest.builder()

        Parameters:
        updateMemberSessionRequest - A Consumer that will call methods on UpdateMemberSessionRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateMemberSession operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateOrganizationConfiguration

        default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration​(UpdateOrganizationConfigurationRequest updateOrganizationConfigurationRequest)

        Updates the Amazon Macie configuration settings for an organization in Organizations.

        Parameters:
        updateOrganizationConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateOrganizationConfiguration

        default CompletableFuture<UpdateOrganizationConfigurationResponse> updateOrganizationConfiguration​(Consumer<UpdateOrganizationConfigurationRequest.Builder> updateOrganizationConfigurationRequest)

        Updates the Amazon Macie configuration settings for an organization in Organizations.


        This is a convenience which creates an instance of the UpdateOrganizationConfigurationRequest.Builder avoiding the need to create one manually via UpdateOrganizationConfigurationRequest.builder()

        Parameters:
        updateOrganizationConfigurationRequest - A Consumer that will call methods on UpdateOrganizationConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateOrganizationConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ConflictException The request failed because it conflicts with the current state of the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceProfile

        default CompletableFuture<UpdateResourceProfileResponse> updateResourceProfile​(UpdateResourceProfileRequest updateResourceProfileRequest)

        Updates the sensitivity score for an S3 bucket.

        Parameters:
        updateResourceProfileRequest -
        Returns:
        A Java Future containing the result of the UpdateResourceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceProfile

        default CompletableFuture<UpdateResourceProfileResponse> updateResourceProfile​(Consumer<UpdateResourceProfileRequest.Builder> updateResourceProfileRequest)

        Updates the sensitivity score for an S3 bucket.


        This is a convenience which creates an instance of the UpdateResourceProfileRequest.Builder avoiding the need to create one manually via UpdateResourceProfileRequest.builder()

        Parameters:
        updateResourceProfileRequest - A Consumer that will call methods on UpdateResourceProfileRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateResourceProfile operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceProfileDetections

        default CompletableFuture<UpdateResourceProfileDetectionsResponse> updateResourceProfileDetections​(UpdateResourceProfileDetectionsRequest updateResourceProfileDetectionsRequest)

        Updates the sensitivity scoring settings for an S3 bucket.

        Parameters:
        updateResourceProfileDetectionsRequest -
        Returns:
        A Java Future containing the result of the UpdateResourceProfileDetections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateResourceProfileDetections

        default CompletableFuture<UpdateResourceProfileDetectionsResponse> updateResourceProfileDetections​(Consumer<UpdateResourceProfileDetectionsRequest.Builder> updateResourceProfileDetectionsRequest)

        Updates the sensitivity scoring settings for an S3 bucket.


        This is a convenience which creates an instance of the UpdateResourceProfileDetectionsRequest.Builder avoiding the need to create one manually via UpdateResourceProfileDetectionsRequest.builder()

        Parameters:
        updateResourceProfileDetectionsRequest - A Consumer that will call methods on UpdateResourceProfileDetectionsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateResourceProfileDetections operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • ServiceQuotaExceededException The request failed because fulfilling the request would exceed one or more service quotas for your account.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateRevealConfiguration

        default CompletableFuture<UpdateRevealConfigurationResponse> updateRevealConfiguration​(UpdateRevealConfigurationRequest updateRevealConfigurationRequest)

        Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.

        Parameters:
        updateRevealConfigurationRequest -
        Returns:
        A Java Future containing the result of the UpdateRevealConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateRevealConfiguration

        default CompletableFuture<UpdateRevealConfigurationResponse> updateRevealConfiguration​(Consumer<UpdateRevealConfigurationRequest.Builder> updateRevealConfigurationRequest)

        Updates the status and configuration settings for retrieving occurrences of sensitive data reported by findings.


        This is a convenience which creates an instance of the UpdateRevealConfigurationRequest.Builder avoiding the need to create one manually via UpdateRevealConfigurationRequest.builder()

        Parameters:
        updateRevealConfigurationRequest - A Consumer that will call methods on UpdateRevealConfigurationRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateRevealConfiguration operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSensitivityInspectionTemplate

        default CompletableFuture<UpdateSensitivityInspectionTemplateResponse> updateSensitivityInspectionTemplate​(UpdateSensitivityInspectionTemplateRequest updateSensitivityInspectionTemplateRequest)

        Updates the settings for the sensitivity inspection template for an account.

        Parameters:
        updateSensitivityInspectionTemplateRequest -
        Returns:
        A Java Future containing the result of the UpdateSensitivityInspectionTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateSensitivityInspectionTemplate

        default CompletableFuture<UpdateSensitivityInspectionTemplateResponse> updateSensitivityInspectionTemplate​(Consumer<UpdateSensitivityInspectionTemplateRequest.Builder> updateSensitivityInspectionTemplateRequest)

        Updates the settings for the sensitivity inspection template for an account.


        This is a convenience which creates an instance of the UpdateSensitivityInspectionTemplateRequest.Builder avoiding the need to create one manually via UpdateSensitivityInspectionTemplateRequest.builder()

        Parameters:
        updateSensitivityInspectionTemplateRequest - A Consumer that will call methods on UpdateSensitivityInspectionTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateSensitivityInspectionTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ResourceNotFoundException The request failed because the specified resource wasn't found.
        • ThrottlingException The request failed because you sent too many requests during a certain amount of time.
        • ValidationException The request failed because the input doesn't satisfy the constraints specified by the service.
        • InternalServerException The request failed due to an unknown internal server error, exception, or failure.
        • AccessDeniedException The request was denied because you don't have sufficient access to the specified resource.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • Macie2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • waiter

        default Macie2AsyncWaiter waiter()
        Create an instance of Macie2AsyncWaiter using this client.

        Waiters created via this method are managed by the SDK and resources will be released when the service client is closed.

        Returns:
        an instance of Macie2AsyncWaiter