Interface AuditManagerAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface AuditManagerAsyncClient extends AwsClient
Service client for accessing AWS Audit Manager asynchronously. This can be created using the static builder() method.

Welcome to the Audit Manager API reference. This guide is for developers who need detailed information about the Audit Manager API operations, data types, and errors.

Audit Manager is a service that provides automated evidence collection so that you can continually audit your Amazon Web Services usage. You can use it to assess the effectiveness of your controls, manage risk, and simplify compliance.

Audit Manager provides prebuilt frameworks that structure and automate assessments for a given compliance standard. Frameworks include a prebuilt collection of controls with descriptions and testing procedures. These controls are grouped according to the requirements of the specified compliance standard or regulation. You can also customize frameworks and controls to support internal audits with specific requirements.

Use the following links to get started with the Audit Manager API:

  • Actions: An alphabetical list of all Audit Manager API operations.

  • Data types: An alphabetical list of all Audit Manager data types.

  • Common parameters: Parameters that all operations can use.

  • Common errors: Client and server errors that all operations can return.

If you're new to Audit Manager, we recommend that you review the Audit Manager User Guide.

  • Field Details

  • Method Details

    • associateAssessmentReportEvidenceFolder

      default CompletableFuture<AssociateAssessmentReportEvidenceFolderResponse> associateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest associateAssessmentReportEvidenceFolderRequest)

      Associates an evidence folder to an assessment report in an Audit Manager assessment.

      Parameters:
      associateAssessmentReportEvidenceFolderRequest -
      Returns:
      A Java Future containing the result of the AssociateAssessmentReportEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • associateAssessmentReportEvidenceFolder

      default CompletableFuture<AssociateAssessmentReportEvidenceFolderResponse> associateAssessmentReportEvidenceFolder(Consumer<AssociateAssessmentReportEvidenceFolderRequest.Builder> associateAssessmentReportEvidenceFolderRequest)

      Associates an evidence folder to an assessment report in an Audit Manager assessment.


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

      Parameters:
      associateAssessmentReportEvidenceFolderRequest - A Consumer that will call methods on AssociateAssessmentReportEvidenceFolderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssociateAssessmentReportEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchAssociateAssessmentReportEvidence

      default CompletableFuture<BatchAssociateAssessmentReportEvidenceResponse> batchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest batchAssociateAssessmentReportEvidenceRequest)

      Associates a list of evidence to an assessment report in an Audit Manager assessment.

      Parameters:
      batchAssociateAssessmentReportEvidenceRequest -
      Returns:
      A Java Future containing the result of the BatchAssociateAssessmentReportEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchAssociateAssessmentReportEvidence

      default CompletableFuture<BatchAssociateAssessmentReportEvidenceResponse> batchAssociateAssessmentReportEvidence(Consumer<BatchAssociateAssessmentReportEvidenceRequest.Builder> batchAssociateAssessmentReportEvidenceRequest)

      Associates a list of evidence to an assessment report in an Audit Manager assessment.


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

      Parameters:
      batchAssociateAssessmentReportEvidenceRequest - A Consumer that will call methods on BatchAssociateAssessmentReportEvidenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchAssociateAssessmentReportEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateDelegationByAssessment

      default CompletableFuture<BatchCreateDelegationByAssessmentResponse> batchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest batchCreateDelegationByAssessmentRequest)

      Creates a batch of delegations for an assessment in Audit Manager.

      Parameters:
      batchCreateDelegationByAssessmentRequest -
      Returns:
      A Java Future containing the result of the BatchCreateDelegationByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchCreateDelegationByAssessment

      default CompletableFuture<BatchCreateDelegationByAssessmentResponse> batchCreateDelegationByAssessment(Consumer<BatchCreateDelegationByAssessmentRequest.Builder> batchCreateDelegationByAssessmentRequest)

      Creates a batch of delegations for an assessment in Audit Manager.


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

      Parameters:
      batchCreateDelegationByAssessmentRequest - A Consumer that will call methods on BatchCreateDelegationByAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchCreateDelegationByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteDelegationByAssessment

      default CompletableFuture<BatchDeleteDelegationByAssessmentResponse> batchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest batchDeleteDelegationByAssessmentRequest)

      Deletes a batch of delegations for an assessment in Audit Manager.

      Parameters:
      batchDeleteDelegationByAssessmentRequest -
      Returns:
      A Java Future containing the result of the BatchDeleteDelegationByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDeleteDelegationByAssessment

      default CompletableFuture<BatchDeleteDelegationByAssessmentResponse> batchDeleteDelegationByAssessment(Consumer<BatchDeleteDelegationByAssessmentRequest.Builder> batchDeleteDelegationByAssessmentRequest)

      Deletes a batch of delegations for an assessment in Audit Manager.


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

      Parameters:
      batchDeleteDelegationByAssessmentRequest - A Consumer that will call methods on BatchDeleteDelegationByAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDeleteDelegationByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDisassociateAssessmentReportEvidence

      default CompletableFuture<BatchDisassociateAssessmentReportEvidenceResponse> batchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest batchDisassociateAssessmentReportEvidenceRequest)

      Disassociates a list of evidence from an assessment report in Audit Manager.

      Parameters:
      batchDisassociateAssessmentReportEvidenceRequest -
      Returns:
      A Java Future containing the result of the BatchDisassociateAssessmentReportEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchDisassociateAssessmentReportEvidence

      default CompletableFuture<BatchDisassociateAssessmentReportEvidenceResponse> batchDisassociateAssessmentReportEvidence(Consumer<BatchDisassociateAssessmentReportEvidenceRequest.Builder> batchDisassociateAssessmentReportEvidenceRequest)

      Disassociates a list of evidence from an assessment report in Audit Manager.


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

      Parameters:
      batchDisassociateAssessmentReportEvidenceRequest - A Consumer that will call methods on BatchDisassociateAssessmentReportEvidenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchDisassociateAssessmentReportEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchImportEvidenceToAssessmentControl

      default CompletableFuture<BatchImportEvidenceToAssessmentControlResponse> batchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest batchImportEvidenceToAssessmentControlRequest)

      Adds one or more pieces of evidence to a control in an Audit Manager assessment.

      You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.

      The following restrictions apply to this action:

      • manualEvidence can be only one of the following: evidenceFileName, s3ResourcePath, or textResponse

      • Maximum size of an individual evidence file: 100 MB

      • Number of daily manual evidence uploads per control: 100

      • Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide

      For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.

      Parameters:
      batchImportEvidenceToAssessmentControlRequest -
      Returns:
      A Java Future containing the result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ThrottlingException The request was denied due to request throttling.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchImportEvidenceToAssessmentControl

      default CompletableFuture<BatchImportEvidenceToAssessmentControlResponse> batchImportEvidenceToAssessmentControl(Consumer<BatchImportEvidenceToAssessmentControlRequest.Builder> batchImportEvidenceToAssessmentControlRequest)

      Adds one or more pieces of evidence to a control in an Audit Manager assessment.

      You can import manual evidence from any S3 bucket by specifying the S3 URI of the object. You can also upload a file from your browser, or enter plain text in response to a risk assessment question.

      The following restrictions apply to this action:

      • manualEvidence can be only one of the following: evidenceFileName, s3ResourcePath, or textResponse

      • Maximum size of an individual evidence file: 100 MB

      • Number of daily manual evidence uploads per control: 100

      • Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide

      For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.


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

      Parameters:
      batchImportEvidenceToAssessmentControlRequest - A Consumer that will call methods on BatchImportEvidenceToAssessmentControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchImportEvidenceToAssessmentControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ThrottlingException The request was denied due to request throttling.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAssessment

      default CompletableFuture<CreateAssessmentResponse> createAssessment(CreateAssessmentRequest createAssessmentRequest)

      Creates an assessment in Audit Manager.

      Parameters:
      createAssessmentRequest -
      Returns:
      A Java Future containing the result of the CreateAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAssessment

      default CompletableFuture<CreateAssessmentResponse> createAssessment(Consumer<CreateAssessmentRequest.Builder> createAssessmentRequest)

      Creates an assessment in Audit Manager.


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

      Parameters:
      createAssessmentRequest - A Consumer that will call methods on CreateAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAssessmentFramework

      default CompletableFuture<CreateAssessmentFrameworkResponse> createAssessmentFramework(CreateAssessmentFrameworkRequest createAssessmentFrameworkRequest)

      Creates a custom framework in Audit Manager.

      Parameters:
      createAssessmentFrameworkRequest -
      Returns:
      A Java Future containing the result of the CreateAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAssessmentFramework

      default CompletableFuture<CreateAssessmentFrameworkResponse> createAssessmentFramework(Consumer<CreateAssessmentFrameworkRequest.Builder> createAssessmentFrameworkRequest)

      Creates a custom framework in Audit Manager.


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

      Parameters:
      createAssessmentFrameworkRequest - A Consumer that will call methods on CreateAssessmentFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAssessmentReport

      default CompletableFuture<CreateAssessmentReportResponse> createAssessmentReport(CreateAssessmentReportRequest createAssessmentReportRequest)

      Creates an assessment report for the specified assessment.

      Parameters:
      createAssessmentReportRequest -
      Returns:
      A Java Future containing the result of the CreateAssessmentReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAssessmentReport

      default CompletableFuture<CreateAssessmentReportResponse> createAssessmentReport(Consumer<CreateAssessmentReportRequest.Builder> createAssessmentReportRequest)

      Creates an assessment report for the specified assessment.


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

      Parameters:
      createAssessmentReportRequest - A Consumer that will call methods on CreateAssessmentReportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAssessmentReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createControl

      default CompletableFuture<CreateControlResponse> createControl(CreateControlRequest createControlRequest)

      Creates a new custom control in Audit Manager.

      Parameters:
      createControlRequest -
      Returns:
      A Java Future containing the result of the CreateControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createControl

      default CompletableFuture<CreateControlResponse> createControl(Consumer<CreateControlRequest.Builder> createControlRequest)

      Creates a new custom control in Audit Manager.


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

      Parameters:
      createControlRequest - A Consumer that will call methods on CreateControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessment

      default CompletableFuture<DeleteAssessmentResponse> deleteAssessment(DeleteAssessmentRequest deleteAssessmentRequest)

      Deletes an assessment in Audit Manager.

      Parameters:
      deleteAssessmentRequest -
      Returns:
      A Java Future containing the result of the DeleteAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessment

      default CompletableFuture<DeleteAssessmentResponse> deleteAssessment(Consumer<DeleteAssessmentRequest.Builder> deleteAssessmentRequest)

      Deletes an assessment in Audit Manager.


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

      Parameters:
      deleteAssessmentRequest - A Consumer that will call methods on DeleteAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessmentFramework

      default CompletableFuture<DeleteAssessmentFrameworkResponse> deleteAssessmentFramework(DeleteAssessmentFrameworkRequest deleteAssessmentFrameworkRequest)

      Deletes a custom framework in Audit Manager.

      Parameters:
      deleteAssessmentFrameworkRequest -
      Returns:
      A Java Future containing the result of the DeleteAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessmentFramework

      default CompletableFuture<DeleteAssessmentFrameworkResponse> deleteAssessmentFramework(Consumer<DeleteAssessmentFrameworkRequest.Builder> deleteAssessmentFrameworkRequest)

      Deletes a custom framework in Audit Manager.


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

      Parameters:
      deleteAssessmentFrameworkRequest - A Consumer that will call methods on DeleteAssessmentFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessmentFrameworkShare

      default CompletableFuture<DeleteAssessmentFrameworkShareResponse> deleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest deleteAssessmentFrameworkShareRequest)

      Deletes a share request for a custom framework in Audit Manager.

      Parameters:
      deleteAssessmentFrameworkShareRequest -
      Returns:
      A Java Future containing the result of the DeleteAssessmentFrameworkShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessmentFrameworkShare

      default CompletableFuture<DeleteAssessmentFrameworkShareResponse> deleteAssessmentFrameworkShare(Consumer<DeleteAssessmentFrameworkShareRequest.Builder> deleteAssessmentFrameworkShareRequest)

      Deletes a share request for a custom framework in Audit Manager.


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

      Parameters:
      deleteAssessmentFrameworkShareRequest - A Consumer that will call methods on DeleteAssessmentFrameworkShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAssessmentFrameworkShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessmentReport

      default CompletableFuture<DeleteAssessmentReportResponse> deleteAssessmentReport(DeleteAssessmentReportRequest deleteAssessmentReportRequest)

      Deletes an assessment report in Audit Manager.

      When you run the DeleteAssessmentReport operation, Audit Manager attempts to delete the following data:

      1. The specified assessment report that’s stored in your S3 bucket

      2. The associated metadata that’s stored in Audit Manager

      If Audit Manager can’t access the assessment report in your S3 bucket, the report isn’t deleted. In this event, the DeleteAssessmentReport operation doesn’t fail. Instead, it proceeds to delete the associated metadata only. You must then delete the assessment report from the S3 bucket yourself.

      This scenario happens when Audit Manager receives a 403 (Forbidden) or 404 (Not Found) error from Amazon S3. To avoid this, make sure that your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that you can use, see Assessment report destination permissions in the Audit Manager User Guide. For information about the issues that could cause a 403 (Forbidden) or 404 (Not Found) error from Amazon S3, see List of Error Codes in the Amazon Simple Storage Service API Reference.

      Parameters:
      deleteAssessmentReportRequest -
      Returns:
      A Java Future containing the result of the DeleteAssessmentReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteAssessmentReport

      default CompletableFuture<DeleteAssessmentReportResponse> deleteAssessmentReport(Consumer<DeleteAssessmentReportRequest.Builder> deleteAssessmentReportRequest)

      Deletes an assessment report in Audit Manager.

      When you run the DeleteAssessmentReport operation, Audit Manager attempts to delete the following data:

      1. The specified assessment report that’s stored in your S3 bucket

      2. The associated metadata that’s stored in Audit Manager

      If Audit Manager can’t access the assessment report in your S3 bucket, the report isn’t deleted. In this event, the DeleteAssessmentReport operation doesn’t fail. Instead, it proceeds to delete the associated metadata only. You must then delete the assessment report from the S3 bucket yourself.

      This scenario happens when Audit Manager receives a 403 (Forbidden) or 404 (Not Found) error from Amazon S3. To avoid this, make sure that your S3 bucket is available, and that you configured the correct permissions for Audit Manager to delete resources in your S3 bucket. For an example permissions policy that you can use, see Assessment report destination permissions in the Audit Manager User Guide. For information about the issues that could cause a 403 (Forbidden) or 404 (Not Found) error from Amazon S3, see List of Error Codes in the Amazon Simple Storage Service API Reference.


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

      Parameters:
      deleteAssessmentReportRequest - A Consumer that will call methods on DeleteAssessmentReportRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteAssessmentReport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteControl

      default CompletableFuture<DeleteControlResponse> deleteControl(DeleteControlRequest deleteControlRequest)

      Deletes a custom control in Audit Manager.

      When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.

      Parameters:
      deleteControlRequest -
      Returns:
      A Java Future containing the result of the DeleteControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteControl

      default CompletableFuture<DeleteControlResponse> deleteControl(Consumer<DeleteControlRequest.Builder> deleteControlRequest)

      Deletes a custom control in Audit Manager.

      When you invoke this operation, the custom control is deleted from any frameworks or assessments that it’s currently part of. As a result, Audit Manager will stop collecting evidence for that custom control in all of your assessments. This includes assessments that you previously created before you deleted the custom control.


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

      Parameters:
      deleteControlRequest - A Consumer that will call methods on DeleteControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterAccount

      default CompletableFuture<DeregisterAccountResponse> deregisterAccount(DeregisterAccountRequest deregisterAccountRequest)

      Deregisters an account in Audit Manager.

      Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the DeregistrationPolicy attribute to request the deletion of your data.

      For more information about data retention, see Data Protection in the Audit Manager User Guide.

      Parameters:
      deregisterAccountRequest -
      Returns:
      A Java Future containing the result of the DeregisterAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterAccount

      default CompletableFuture<DeregisterAccountResponse> deregisterAccount(Consumer<DeregisterAccountRequest.Builder> deregisterAccountRequest)

      Deregisters an account in Audit Manager.

      Before you deregister, you can use the UpdateSettings API operation to set your preferred data retention policy. By default, Audit Manager retains your data. If you want to delete your data, you can use the DeregistrationPolicy attribute to request the deletion of your data.

      For more information about data retention, see Data Protection in the Audit Manager User Guide.


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

      Parameters:
      deregisterAccountRequest - A Consumer that will call methods on DeregisterAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterOrganizationAdminAccount

      default CompletableFuture<DeregisterOrganizationAdminAccountResponse> deregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest deregisterOrganizationAdminAccountRequest)

      Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.

      When you remove a delegated administrator from your Audit Manager settings, you continue to have access to the evidence that you previously collected under that account. This is also the case when you deregister a delegated administrator from Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.

      Keep in mind the following cleanup task if you use evidence finder:

      Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. If this task isn’t completed, the event data store remains in their account. In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store.

      This cleanup task is necessary to ensure that you don't end up with multiple event data stores. Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.

      When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.

      To delete your Audit Manager resource data, see the following instructions:

      At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.

      Parameters:
      deregisterOrganizationAdminAccountRequest -
      Returns:
      A Java Future containing the result of the DeregisterOrganizationAdminAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterOrganizationAdminAccount

      default CompletableFuture<DeregisterOrganizationAdminAccountResponse> deregisterOrganizationAdminAccount(Consumer<DeregisterOrganizationAdminAccountRequest.Builder> deregisterOrganizationAdminAccountRequest)

      Removes the specified Amazon Web Services account as a delegated administrator for Audit Manager.

      When you remove a delegated administrator from your Audit Manager settings, you continue to have access to the evidence that you previously collected under that account. This is also the case when you deregister a delegated administrator from Organizations. However, Audit Manager stops collecting and attaching evidence to that delegated administrator account moving forward.

      Keep in mind the following cleanup task if you use evidence finder:

      Before you use your management account to remove a delegated administrator, make sure that the current delegated administrator account signs in to Audit Manager and disables evidence finder first. Disabling evidence finder automatically deletes the event data store that was created in their account when they enabled evidence finder. If this task isn’t completed, the event data store remains in their account. In this case, we recommend that the original delegated administrator goes to CloudTrail Lake and manually deletes the event data store.

      This cleanup task is necessary to ensure that you don't end up with multiple event data stores. Audit Manager ignores an unused event data store after you remove or change a delegated administrator account. However, the unused event data store continues to incur storage costs from CloudTrail Lake if you don't delete it.

      When you deregister a delegated administrator account for Audit Manager, the data for that account isn’t deleted. If you want to delete resource data for a delegated administrator account, you must perform that task separately before you deregister the account. Either, you can do this in the Audit Manager console. Or, you can use one of the delete API operations that are provided by Audit Manager.

      To delete your Audit Manager resource data, see the following instructions:

      At this time, Audit Manager doesn't provide an option to delete evidence for a specific delegated administrator. Instead, when your management account deregisters Audit Manager, we perform a cleanup for the current delegated administrator account at the time of deregistration.


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

      Parameters:
      deregisterOrganizationAdminAccountRequest - A Consumer that will call methods on DeregisterOrganizationAdminAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterOrganizationAdminAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateAssessmentReportEvidenceFolder

      default CompletableFuture<DisassociateAssessmentReportEvidenceFolderResponse> disassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest disassociateAssessmentReportEvidenceFolderRequest)

      Disassociates an evidence folder from the specified assessment report in Audit Manager.

      Parameters:
      disassociateAssessmentReportEvidenceFolderRequest -
      Returns:
      A Java Future containing the result of the DisassociateAssessmentReportEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disassociateAssessmentReportEvidenceFolder

      default CompletableFuture<DisassociateAssessmentReportEvidenceFolderResponse> disassociateAssessmentReportEvidenceFolder(Consumer<DisassociateAssessmentReportEvidenceFolderRequest.Builder> disassociateAssessmentReportEvidenceFolderRequest)

      Disassociates an evidence folder from the specified assessment report in Audit Manager.


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

      Parameters:
      disassociateAssessmentReportEvidenceFolderRequest - A Consumer that will call methods on DisassociateAssessmentReportEvidenceFolderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisassociateAssessmentReportEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccountStatus

      default CompletableFuture<GetAccountStatusResponse> getAccountStatus(GetAccountStatusRequest getAccountStatusRequest)

      Gets the registration status of an account in Audit Manager.

      Parameters:
      getAccountStatusRequest -
      Returns:
      A Java Future containing the result of the GetAccountStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccountStatus

      default CompletableFuture<GetAccountStatusResponse> getAccountStatus(Consumer<GetAccountStatusRequest.Builder> getAccountStatusRequest)

      Gets the registration status of an account in Audit Manager.


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

      Parameters:
      getAccountStatusRequest - A Consumer that will call methods on GetAccountStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccountStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessment

      default CompletableFuture<GetAssessmentResponse> getAssessment(GetAssessmentRequest getAssessmentRequest)

      Gets information about a specified assessment.

      Parameters:
      getAssessmentRequest -
      Returns:
      A Java Future containing the result of the GetAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessment

      default CompletableFuture<GetAssessmentResponse> getAssessment(Consumer<GetAssessmentRequest.Builder> getAssessmentRequest)

      Gets information about a specified assessment.


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

      Parameters:
      getAssessmentRequest - A Consumer that will call methods on GetAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentFramework

      default CompletableFuture<GetAssessmentFrameworkResponse> getAssessmentFramework(GetAssessmentFrameworkRequest getAssessmentFrameworkRequest)

      Gets information about a specified framework.

      Parameters:
      getAssessmentFrameworkRequest -
      Returns:
      A Java Future containing the result of the GetAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentFramework

      default CompletableFuture<GetAssessmentFrameworkResponse> getAssessmentFramework(Consumer<GetAssessmentFrameworkRequest.Builder> getAssessmentFrameworkRequest)

      Gets information about a specified framework.


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

      Parameters:
      getAssessmentFrameworkRequest - A Consumer that will call methods on GetAssessmentFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentReportUrl

      default CompletableFuture<GetAssessmentReportUrlResponse> getAssessmentReportUrl(GetAssessmentReportUrlRequest getAssessmentReportUrlRequest)

      Gets the URL of an assessment report in Audit Manager.

      Parameters:
      getAssessmentReportUrlRequest -
      Returns:
      A Java Future containing the result of the GetAssessmentReportUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentReportUrl

      default CompletableFuture<GetAssessmentReportUrlResponse> getAssessmentReportUrl(Consumer<GetAssessmentReportUrlRequest.Builder> getAssessmentReportUrlRequest)

      Gets the URL of an assessment report in Audit Manager.


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

      Parameters:
      getAssessmentReportUrlRequest - A Consumer that will call methods on GetAssessmentReportUrlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAssessmentReportUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChangeLogs

      default CompletableFuture<GetChangeLogsResponse> getChangeLogs(GetChangeLogsRequest getChangeLogsRequest)

      Gets a list of changelogs from Audit Manager.

      Parameters:
      getChangeLogsRequest -
      Returns:
      A Java Future containing the result of the GetChangeLogs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChangeLogs

      default CompletableFuture<GetChangeLogsResponse> getChangeLogs(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest)

      Gets a list of changelogs from Audit Manager.


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

      Parameters:
      getChangeLogsRequest - A Consumer that will call methods on GetChangeLogsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetChangeLogs operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChangeLogsPaginator

      default GetChangeLogsPublisher getChangeLogsPaginator(GetChangeLogsRequest getChangeLogsRequest)

      This is a variant of getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest) 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.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse 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 getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest) operation.

      Parameters:
      getChangeLogsRequest -
      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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChangeLogsPaginator

      default GetChangeLogsPublisher getChangeLogsPaginator(Consumer<GetChangeLogsRequest.Builder> getChangeLogsRequest)

      This is a variant of getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest) 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.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetChangeLogsPublisher publisher = client.getChangeLogsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsResponse 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 getChangeLogs(software.amazon.awssdk.services.auditmanager.model.GetChangeLogsRequest) operation.


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

      Parameters:
      getChangeLogsRequest - A Consumer that will call methods on GetChangeLogsRequest.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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getControl

      default CompletableFuture<GetControlResponse> getControl(GetControlRequest getControlRequest)

      Gets information about a specified control.

      Parameters:
      getControlRequest -
      Returns:
      A Java Future containing the result of the GetControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getControl

      default CompletableFuture<GetControlResponse> getControl(Consumer<GetControlRequest.Builder> getControlRequest)

      Gets information about a specified control.


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

      Parameters:
      getControlRequest - A Consumer that will call methods on GetControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDelegations

      default CompletableFuture<GetDelegationsResponse> getDelegations(GetDelegationsRequest getDelegationsRequest)

      Gets a list of delegations from an audit owner to a delegate.

      Parameters:
      getDelegationsRequest -
      Returns:
      A Java Future containing the result of the GetDelegations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDelegations

      default CompletableFuture<GetDelegationsResponse> getDelegations(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest)

      Gets a list of delegations from an audit owner to a delegate.


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

      Parameters:
      getDelegationsRequest - A Consumer that will call methods on GetDelegationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetDelegations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDelegationsPaginator

      default GetDelegationsPublisher getDelegationsPaginator(GetDelegationsRequest getDelegationsRequest)

      This is a variant of getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest) 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.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse 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 getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest) operation.

      Parameters:
      getDelegationsRequest -
      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 has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getDelegationsPaginator

      default GetDelegationsPublisher getDelegationsPaginator(Consumer<GetDelegationsRequest.Builder> getDelegationsRequest)

      This is a variant of getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest) 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.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetDelegationsPublisher publisher = client.getDelegationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetDelegationsResponse 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 getDelegations(software.amazon.awssdk.services.auditmanager.model.GetDelegationsRequest) operation.


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

      Parameters:
      getDelegationsRequest - A Consumer that will call methods on GetDelegationsRequest.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 has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidence

      default CompletableFuture<GetEvidenceResponse> getEvidence(GetEvidenceRequest getEvidenceRequest)

      Gets information about a specified evidence item.

      Parameters:
      getEvidenceRequest -
      Returns:
      A Java Future containing the result of the GetEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidence

      default CompletableFuture<GetEvidenceResponse> getEvidence(Consumer<GetEvidenceRequest.Builder> getEvidenceRequest)

      Gets information about a specified evidence item.


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

      Parameters:
      getEvidenceRequest - A Consumer that will call methods on GetEvidenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceByEvidenceFolder

      default CompletableFuture<GetEvidenceByEvidenceFolderResponse> getEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest)

      Gets all evidence from a specified evidence folder in Audit Manager.

      Parameters:
      getEvidenceByEvidenceFolderRequest -
      Returns:
      A Java Future containing the result of the GetEvidenceByEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceByEvidenceFolder

      default CompletableFuture<GetEvidenceByEvidenceFolderResponse> getEvidenceByEvidenceFolder(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest)

      Gets all evidence from a specified evidence folder in Audit Manager.


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

      Parameters:
      getEvidenceByEvidenceFolderRequest - A Consumer that will call methods on GetEvidenceByEvidenceFolderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvidenceByEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceByEvidenceFolderPaginator

      default GetEvidenceByEvidenceFolderPublisher getEvidenceByEvidenceFolderPaginator(GetEvidenceByEvidenceFolderRequest getEvidenceByEvidenceFolderRequest)

      This is a variant of getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest) 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.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse 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 getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest) operation.

      Parameters:
      getEvidenceByEvidenceFolderRequest -
      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 resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceByEvidenceFolderPaginator

      default GetEvidenceByEvidenceFolderPublisher getEvidenceByEvidenceFolderPaginator(Consumer<GetEvidenceByEvidenceFolderRequest.Builder> getEvidenceByEvidenceFolderRequest)

      This is a variant of getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest) 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.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceByEvidenceFolderPublisher publisher = client.getEvidenceByEvidenceFolderPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderResponse 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 getEvidenceByEvidenceFolder(software.amazon.awssdk.services.auditmanager.model.GetEvidenceByEvidenceFolderRequest) operation.


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

      Parameters:
      getEvidenceByEvidenceFolderRequest - A Consumer that will call methods on GetEvidenceByEvidenceFolderRequest.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 resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFileUploadUrl

      default CompletableFuture<GetEvidenceFileUploadUrlResponse> getEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest getEvidenceFileUploadUrlRequest)

      Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.

      The following restrictions apply to this operation:

      • Maximum size of an individual evidence file: 100 MB

      • Number of daily manual evidence uploads per control: 100

      • Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide

      For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.

      Parameters:
      getEvidenceFileUploadUrlRequest -
      Returns:
      A Java Future containing the result of the GetEvidenceFileUploadUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ThrottlingException The request was denied due to request throttling.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFileUploadUrl

      default CompletableFuture<GetEvidenceFileUploadUrlResponse> getEvidenceFileUploadUrl(Consumer<GetEvidenceFileUploadUrlRequest.Builder> getEvidenceFileUploadUrlRequest)

      Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence. For instructions on how to use this operation, see Upload a file from your browser in the Audit Manager User Guide.

      The following restrictions apply to this operation:

      • Maximum size of an individual evidence file: 100 MB

      • Number of daily manual evidence uploads per control: 100

      • Supported file formats: See Supported file types for manual evidence in the Audit Manager User Guide

      For more information about Audit Manager service restrictions, see Quotas and restrictions for Audit Manager.


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

      Parameters:
      getEvidenceFileUploadUrlRequest - A Consumer that will call methods on GetEvidenceFileUploadUrlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvidenceFileUploadUrl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ThrottlingException The request was denied due to request throttling.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFolder

      default CompletableFuture<GetEvidenceFolderResponse> getEvidenceFolder(GetEvidenceFolderRequest getEvidenceFolderRequest)

      Gets an evidence folder from a specified assessment in Audit Manager.

      Parameters:
      getEvidenceFolderRequest -
      Returns:
      A Java Future containing the result of the GetEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFolder

      default CompletableFuture<GetEvidenceFolderResponse> getEvidenceFolder(Consumer<GetEvidenceFolderRequest.Builder> getEvidenceFolderRequest)

      Gets an evidence folder from a specified assessment in Audit Manager.


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

      Parameters:
      getEvidenceFolderRequest - A Consumer that will call methods on GetEvidenceFolderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvidenceFolder operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessment

      default CompletableFuture<GetEvidenceFoldersByAssessmentResponse> getEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest)

      Gets the evidence folders from a specified assessment in Audit Manager.

      Parameters:
      getEvidenceFoldersByAssessmentRequest -
      Returns:
      A Java Future containing the result of the GetEvidenceFoldersByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessment

      default CompletableFuture<GetEvidenceFoldersByAssessmentResponse> getEvidenceFoldersByAssessment(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest)

      Gets the evidence folders from a specified assessment in Audit Manager.


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

      Parameters:
      getEvidenceFoldersByAssessmentRequest - A Consumer that will call methods on GetEvidenceFoldersByAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvidenceFoldersByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessmentControl

      default CompletableFuture<GetEvidenceFoldersByAssessmentControlResponse> getEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest)

      Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.

      Parameters:
      getEvidenceFoldersByAssessmentControlRequest -
      Returns:
      A Java Future containing the result of the GetEvidenceFoldersByAssessmentControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessmentControl

      default CompletableFuture<GetEvidenceFoldersByAssessmentControlResponse> getEvidenceFoldersByAssessmentControl(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest)

      Gets a list of evidence folders that are associated with a specified control in an Audit Manager assessment.


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

      Parameters:
      getEvidenceFoldersByAssessmentControlRequest - A Consumer that will call methods on GetEvidenceFoldersByAssessmentControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEvidenceFoldersByAssessmentControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessmentControlPaginator

      default GetEvidenceFoldersByAssessmentControlPublisher getEvidenceFoldersByAssessmentControlPaginator(GetEvidenceFoldersByAssessmentControlRequest getEvidenceFoldersByAssessmentControlRequest)

      This is a variant of getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest) 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.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse 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 getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest) operation.

      Parameters:
      getEvidenceFoldersByAssessmentControlRequest -
      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 resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessmentControlPaginator

      default GetEvidenceFoldersByAssessmentControlPublisher getEvidenceFoldersByAssessmentControlPaginator(Consumer<GetEvidenceFoldersByAssessmentControlRequest.Builder> getEvidenceFoldersByAssessmentControlRequest)

      This is a variant of getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest) 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.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentControlPublisher publisher = client.getEvidenceFoldersByAssessmentControlPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlResponse 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 getEvidenceFoldersByAssessmentControl(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentControlRequest) operation.


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

      Parameters:
      getEvidenceFoldersByAssessmentControlRequest - A Consumer that will call methods on GetEvidenceFoldersByAssessmentControlRequest.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 resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessmentPaginator

      default GetEvidenceFoldersByAssessmentPublisher getEvidenceFoldersByAssessmentPaginator(GetEvidenceFoldersByAssessmentRequest getEvidenceFoldersByAssessmentRequest)

      This is a variant of getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest) 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.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse 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 getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest) operation.

      Parameters:
      getEvidenceFoldersByAssessmentRequest -
      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 resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceFoldersByAssessmentPaginator

      default GetEvidenceFoldersByAssessmentPublisher getEvidenceFoldersByAssessmentPaginator(Consumer<GetEvidenceFoldersByAssessmentRequest.Builder> getEvidenceFoldersByAssessmentRequest)

      This is a variant of getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest) 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.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.GetEvidenceFoldersByAssessmentPublisher publisher = client.getEvidenceFoldersByAssessmentPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentResponse 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 getEvidenceFoldersByAssessment(software.amazon.awssdk.services.auditmanager.model.GetEvidenceFoldersByAssessmentRequest) operation.


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

      Parameters:
      getEvidenceFoldersByAssessmentRequest - A Consumer that will call methods on GetEvidenceFoldersByAssessmentRequest.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 resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getInsights

      default CompletableFuture<GetInsightsResponse> getInsights(GetInsightsRequest getInsightsRequest)

      Gets the latest analytics data for all your current active assessments.

      Parameters:
      getInsightsRequest -
      Returns:
      A Java Future containing the result of the GetInsights operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getInsights

      default CompletableFuture<GetInsightsResponse> getInsights(Consumer<GetInsightsRequest.Builder> getInsightsRequest)

      Gets the latest analytics data for all your current active assessments.


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

      Parameters:
      getInsightsRequest - A Consumer that will call methods on GetInsightsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetInsights operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getInsightsByAssessment

      default CompletableFuture<GetInsightsByAssessmentResponse> getInsightsByAssessment(GetInsightsByAssessmentRequest getInsightsByAssessmentRequest)

      Gets the latest analytics data for a specific active assessment.

      Parameters:
      getInsightsByAssessmentRequest -
      Returns:
      A Java Future containing the result of the GetInsightsByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getInsightsByAssessment

      default CompletableFuture<GetInsightsByAssessmentResponse> getInsightsByAssessment(Consumer<GetInsightsByAssessmentRequest.Builder> getInsightsByAssessmentRequest)

      Gets the latest analytics data for a specific active assessment.


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

      Parameters:
      getInsightsByAssessmentRequest - A Consumer that will call methods on GetInsightsByAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetInsightsByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOrganizationAdminAccount

      default CompletableFuture<GetOrganizationAdminAccountResponse> getOrganizationAdminAccount(GetOrganizationAdminAccountRequest getOrganizationAdminAccountRequest)

      Gets the name of the delegated Amazon Web Services administrator account for a specified organization.

      Parameters:
      getOrganizationAdminAccountRequest -
      Returns:
      A Java Future containing the result of the GetOrganizationAdminAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getOrganizationAdminAccount

      default CompletableFuture<GetOrganizationAdminAccountResponse> getOrganizationAdminAccount(Consumer<GetOrganizationAdminAccountRequest.Builder> getOrganizationAdminAccountRequest)

      Gets the name of the delegated Amazon Web Services administrator account for a specified organization.


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

      Parameters:
      getOrganizationAdminAccountRequest - A Consumer that will call methods on GetOrganizationAdminAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetOrganizationAdminAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getServicesInScope

      default CompletableFuture<GetServicesInScopeResponse> getServicesInScope(GetServicesInScopeRequest getServicesInScopeRequest)

      Gets a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.

      Parameters:
      getServicesInScopeRequest -
      Returns:
      A Java Future containing the result of the GetServicesInScope operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getServicesInScope

      default CompletableFuture<GetServicesInScopeResponse> getServicesInScope(Consumer<GetServicesInScopeRequest.Builder> getServicesInScopeRequest)

      Gets a list of all of the Amazon Web Services that you can choose to include in your assessment. When you create an assessment, specify which of these services you want to include to narrow the assessment's scope.


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

      Parameters:
      getServicesInScopeRequest - A Consumer that will call methods on GetServicesInScopeRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetServicesInScope operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSettings

      default CompletableFuture<GetSettingsResponse> getSettings(GetSettingsRequest getSettingsRequest)

      Gets the settings for a specified Amazon Web Services account.

      Parameters:
      getSettingsRequest -
      Returns:
      A Java Future containing the result of the GetSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getSettings

      default CompletableFuture<GetSettingsResponse> getSettings(Consumer<GetSettingsRequest.Builder> getSettingsRequest)

      Gets the settings for a specified Amazon Web Services account.


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

      Parameters:
      getSettingsRequest - A Consumer that will call methods on GetSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentControlInsightsByControlDomain

      default CompletableFuture<ListAssessmentControlInsightsByControlDomainResponse> listAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest)

      Lists the latest analytics data for controls within a specific control domain and a specific active assessment.

      Control insights are listed only if the control belongs to the control domain and assessment that was specified. Moreover, the control must have collected evidence on the lastUpdated date of controlInsightsByAssessment. If neither of these conditions are met, no data is listed for that control.

      Parameters:
      listAssessmentControlInsightsByControlDomainRequest -
      Returns:
      A Java Future containing the result of the ListAssessmentControlInsightsByControlDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentControlInsightsByControlDomain

      default CompletableFuture<ListAssessmentControlInsightsByControlDomainResponse> listAssessmentControlInsightsByControlDomain(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest)

      Lists the latest analytics data for controls within a specific control domain and a specific active assessment.

      Control insights are listed only if the control belongs to the control domain and assessment that was specified. Moreover, the control must have collected evidence on the lastUpdated date of controlInsightsByAssessment. If neither of these conditions are met, no data is listed for that control.


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

      Parameters:
      listAssessmentControlInsightsByControlDomainRequest - A Consumer that will call methods on ListAssessmentControlInsightsByControlDomainRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessmentControlInsightsByControlDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentControlInsightsByControlDomainPaginator

      default ListAssessmentControlInsightsByControlDomainPublisher listAssessmentControlInsightsByControlDomainPaginator(ListAssessmentControlInsightsByControlDomainRequest listAssessmentControlInsightsByControlDomainRequest)

      This is a variant of listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest) 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.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse 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 listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest) operation.

      Parameters:
      listAssessmentControlInsightsByControlDomainRequest -
      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 has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentControlInsightsByControlDomainPaginator

      default ListAssessmentControlInsightsByControlDomainPublisher listAssessmentControlInsightsByControlDomainPaginator(Consumer<ListAssessmentControlInsightsByControlDomainRequest.Builder> listAssessmentControlInsightsByControlDomainRequest)

      This is a variant of listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest) 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.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentControlInsightsByControlDomainPublisher publisher = client.listAssessmentControlInsightsByControlDomainPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainResponse 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 listAssessmentControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListAssessmentControlInsightsByControlDomainRequest) operation.


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

      Parameters:
      listAssessmentControlInsightsByControlDomainRequest - A Consumer that will call methods on ListAssessmentControlInsightsByControlDomainRequest.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 has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworkShareRequests

      default CompletableFuture<ListAssessmentFrameworkShareRequestsResponse> listAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest listAssessmentFrameworkShareRequestsRequest)

      Returns a list of sent or received share requests for custom frameworks in Audit Manager.

      Parameters:
      listAssessmentFrameworkShareRequestsRequest -
      Returns:
      A Java Future containing the result of the ListAssessmentFrameworkShareRequests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworkShareRequests

      default CompletableFuture<ListAssessmentFrameworkShareRequestsResponse> listAssessmentFrameworkShareRequests(Consumer<ListAssessmentFrameworkShareRequestsRequest.Builder> listAssessmentFrameworkShareRequestsRequest)

      Returns a list of sent or received share requests for custom frameworks in Audit Manager.


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

      Parameters:
      listAssessmentFrameworkShareRequestsRequest - A Consumer that will call methods on ListAssessmentFrameworkShareRequestsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessmentFrameworkShareRequests operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworkShareRequestsPaginator

      default ListAssessmentFrameworkShareRequestsPublisher listAssessmentFrameworkShareRequestsPaginator(ListAssessmentFrameworkShareRequestsRequest listAssessmentFrameworkShareRequestsRequest)

      This is a variant of listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest) 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.auditmanager.paginators.ListAssessmentFrameworkShareRequestsPublisher publisher = client.listAssessmentFrameworkShareRequestsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsPublisher publisher = client.listAssessmentFrameworkShareRequestsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsResponse 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 listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest) operation.

      Parameters:
      listAssessmentFrameworkShareRequestsRequest -
      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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworkShareRequestsPaginator

      default ListAssessmentFrameworkShareRequestsPublisher listAssessmentFrameworkShareRequestsPaginator(Consumer<ListAssessmentFrameworkShareRequestsRequest.Builder> listAssessmentFrameworkShareRequestsRequest)

      This is a variant of listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest) 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.auditmanager.paginators.ListAssessmentFrameworkShareRequestsPublisher publisher = client.listAssessmentFrameworkShareRequestsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworkShareRequestsPublisher publisher = client.listAssessmentFrameworkShareRequestsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsResponse 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 listAssessmentFrameworkShareRequests(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworkShareRequestsRequest) operation.


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

      Parameters:
      listAssessmentFrameworkShareRequestsRequest - A Consumer that will call methods on ListAssessmentFrameworkShareRequestsRequest.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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworks

      default CompletableFuture<ListAssessmentFrameworksResponse> listAssessmentFrameworks(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest)

      Returns a list of the frameworks that are available in the Audit Manager framework library.

      Parameters:
      listAssessmentFrameworksRequest -
      Returns:
      A Java Future containing the result of the ListAssessmentFrameworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworks

      default CompletableFuture<ListAssessmentFrameworksResponse> listAssessmentFrameworks(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest)

      Returns a list of the frameworks that are available in the Audit Manager framework library.


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

      Parameters:
      listAssessmentFrameworksRequest - A Consumer that will call methods on ListAssessmentFrameworksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessmentFrameworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworksPaginator

      default ListAssessmentFrameworksPublisher listAssessmentFrameworksPaginator(ListAssessmentFrameworksRequest listAssessmentFrameworksRequest)

      This is a variant of listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest) 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.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse 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 listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest) operation.

      Parameters:
      listAssessmentFrameworksRequest -
      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 has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentFrameworksPaginator

      default ListAssessmentFrameworksPublisher listAssessmentFrameworksPaginator(Consumer<ListAssessmentFrameworksRequest.Builder> listAssessmentFrameworksRequest)

      This is a variant of listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest) 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.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentFrameworksPublisher publisher = client.listAssessmentFrameworksPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksResponse 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 listAssessmentFrameworks(software.amazon.awssdk.services.auditmanager.model.ListAssessmentFrameworksRequest) operation.


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

      Parameters:
      listAssessmentFrameworksRequest - A Consumer that will call methods on ListAssessmentFrameworksRequest.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 has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentReports

      default CompletableFuture<ListAssessmentReportsResponse> listAssessmentReports(ListAssessmentReportsRequest listAssessmentReportsRequest)

      Returns a list of assessment reports created in Audit Manager.

      Parameters:
      listAssessmentReportsRequest -
      Returns:
      A Java Future containing the result of the ListAssessmentReports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentReports

      default CompletableFuture<ListAssessmentReportsResponse> listAssessmentReports(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest)

      Returns a list of assessment reports created in Audit Manager.


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

      Parameters:
      listAssessmentReportsRequest - A Consumer that will call methods on ListAssessmentReportsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessmentReports operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentReportsPaginator

      default ListAssessmentReportsPublisher listAssessmentReportsPaginator(ListAssessmentReportsRequest listAssessmentReportsRequest)

      This is a variant of listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest) 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.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse 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 listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest) operation.

      Parameters:
      listAssessmentReportsRequest -
      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 has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentReportsPaginator

      default ListAssessmentReportsPublisher listAssessmentReportsPaginator(Consumer<ListAssessmentReportsRequest.Builder> listAssessmentReportsRequest)

      This is a variant of listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest) 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.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentReportsPublisher publisher = client.listAssessmentReportsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsResponse 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 listAssessmentReports(software.amazon.awssdk.services.auditmanager.model.ListAssessmentReportsRequest) operation.


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

      Parameters:
      listAssessmentReportsRequest - A Consumer that will call methods on ListAssessmentReportsRequest.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 has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessments

      default CompletableFuture<ListAssessmentsResponse> listAssessments(ListAssessmentsRequest listAssessmentsRequest)

      Returns a list of current and past assessments from Audit Manager.

      Parameters:
      listAssessmentsRequest -
      Returns:
      A Java Future containing the result of the ListAssessments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessments

      default CompletableFuture<ListAssessmentsResponse> listAssessments(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest)

      Returns a list of current and past assessments from Audit Manager.


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

      Parameters:
      listAssessmentsRequest - A Consumer that will call methods on ListAssessmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentsPaginator

      default ListAssessmentsPublisher listAssessmentsPaginator(ListAssessmentsRequest listAssessmentsRequest)

      This is a variant of listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest) 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.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse 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 listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest) operation.

      Parameters:
      listAssessmentsRequest -
      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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentsPaginator

      default ListAssessmentsPublisher listAssessmentsPaginator(Consumer<ListAssessmentsRequest.Builder> listAssessmentsRequest)

      This is a variant of listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest) 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.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsResponse 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 listAssessments(software.amazon.awssdk.services.auditmanager.model.ListAssessmentsRequest) operation.


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

      Parameters:
      listAssessmentsRequest - A Consumer that will call methods on ListAssessmentsRequest.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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsights

      default CompletableFuture<ListControlDomainInsightsResponse> listControlDomainInsights(ListControlDomainInsightsRequest listControlDomainInsightsRequest)

      Lists the latest analytics data for control domains across all of your active assessments.

      A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.

      Parameters:
      listControlDomainInsightsRequest -
      Returns:
      A Java Future containing the result of the ListControlDomainInsights operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsights

      default CompletableFuture<ListControlDomainInsightsResponse> listControlDomainInsights(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest)

      Lists the latest analytics data for control domains across all of your active assessments.

      A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that control domain.


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

      Parameters:
      listControlDomainInsightsRequest - A Consumer that will call methods on ListControlDomainInsightsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControlDomainInsights operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsightsByAssessment

      default CompletableFuture<ListControlDomainInsightsByAssessmentResponse> listControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest)

      Lists analytics data for control domains within a specified active assessment.

      A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.

      Parameters:
      listControlDomainInsightsByAssessmentRequest -
      Returns:
      A Java Future containing the result of the ListControlDomainInsightsByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsightsByAssessment

      default CompletableFuture<ListControlDomainInsightsByAssessmentResponse> listControlDomainInsightsByAssessment(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest)

      Lists analytics data for control domains within a specified active assessment.

      A control domain is listed only if at least one of the controls within that domain collected evidence on the lastUpdated date of controlDomainInsights. If this condition isn’t met, no data is listed for that domain.


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

      Parameters:
      listControlDomainInsightsByAssessmentRequest - A Consumer that will call methods on ListControlDomainInsightsByAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControlDomainInsightsByAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsightsByAssessmentPaginator

      default ListControlDomainInsightsByAssessmentPublisher listControlDomainInsightsByAssessmentPaginator(ListControlDomainInsightsByAssessmentRequest listControlDomainInsightsByAssessmentRequest)

      This is a variant of listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest) 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.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse 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 listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest) operation.

      Parameters:
      listControlDomainInsightsByAssessmentRequest -
      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 has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsightsByAssessmentPaginator

      default ListControlDomainInsightsByAssessmentPublisher listControlDomainInsightsByAssessmentPaginator(Consumer<ListControlDomainInsightsByAssessmentRequest.Builder> listControlDomainInsightsByAssessmentRequest)

      This is a variant of listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest) 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.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsByAssessmentPublisher publisher = client.listControlDomainInsightsByAssessmentPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentResponse 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 listControlDomainInsightsByAssessment(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsByAssessmentRequest) operation.


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

      Parameters:
      listControlDomainInsightsByAssessmentRequest - A Consumer that will call methods on ListControlDomainInsightsByAssessmentRequest.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 has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsightsPaginator

      default ListControlDomainInsightsPublisher listControlDomainInsightsPaginator(ListControlDomainInsightsRequest listControlDomainInsightsRequest)

      This is a variant of listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest) 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.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse 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 listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest) operation.

      Parameters:
      listControlDomainInsightsRequest -
      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 resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlDomainInsightsPaginator

      default ListControlDomainInsightsPublisher listControlDomainInsightsPaginator(Consumer<ListControlDomainInsightsRequest.Builder> listControlDomainInsightsRequest)

      This is a variant of listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest) 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.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlDomainInsightsPublisher publisher = client.listControlDomainInsightsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsResponse 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 listControlDomainInsights(software.amazon.awssdk.services.auditmanager.model.ListControlDomainInsightsRequest) operation.


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

      Parameters:
      listControlDomainInsightsRequest - A Consumer that will call methods on ListControlDomainInsightsRequest.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 resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlInsightsByControlDomain

      default CompletableFuture<ListControlInsightsByControlDomainResponse> listControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest)

      Lists the latest analytics data for controls within a specific control domain across all active assessments.

      Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the lastUpdated date of controlInsightsMetadata. If neither of these conditions are met, no data is listed for that control.

      Parameters:
      listControlInsightsByControlDomainRequest -
      Returns:
      A Java Future containing the result of the ListControlInsightsByControlDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlInsightsByControlDomain

      default CompletableFuture<ListControlInsightsByControlDomainResponse> listControlInsightsByControlDomain(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest)

      Lists the latest analytics data for controls within a specific control domain across all active assessments.

      Control insights are listed only if the control belongs to the control domain that was specified and the control collected evidence on the lastUpdated date of controlInsightsMetadata. If neither of these conditions are met, no data is listed for that control.


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

      Parameters:
      listControlInsightsByControlDomainRequest - A Consumer that will call methods on ListControlInsightsByControlDomainRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControlInsightsByControlDomain operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlInsightsByControlDomainPaginator

      default ListControlInsightsByControlDomainPublisher listControlInsightsByControlDomainPaginator(ListControlInsightsByControlDomainRequest listControlInsightsByControlDomainRequest)

      This is a variant of listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest) 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.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse 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 listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest) operation.

      Parameters:
      listControlInsightsByControlDomainRequest -
      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 resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlInsightsByControlDomainPaginator

      default ListControlInsightsByControlDomainPublisher listControlInsightsByControlDomainPaginator(Consumer<ListControlInsightsByControlDomainRequest.Builder> listControlInsightsByControlDomainRequest)

      This is a variant of listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest) 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.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlInsightsByControlDomainPublisher publisher = client.listControlInsightsByControlDomainPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainResponse 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 listControlInsightsByControlDomain(software.amazon.awssdk.services.auditmanager.model.ListControlInsightsByControlDomainRequest) operation.


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

      Parameters:
      listControlInsightsByControlDomainRequest - A Consumer that will call methods on ListControlInsightsByControlDomainRequest.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 resource that's specified in the request can't be found.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControls

      default CompletableFuture<ListControlsResponse> listControls(ListControlsRequest listControlsRequest)

      Returns a list of controls from Audit Manager.

      Parameters:
      listControlsRequest -
      Returns:
      A Java Future containing the result of the ListControls operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControls

      default CompletableFuture<ListControlsResponse> listControls(Consumer<ListControlsRequest.Builder> listControlsRequest)

      Returns a list of controls from Audit Manager.


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

      Parameters:
      listControlsRequest - A Consumer that will call methods on ListControlsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControls operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlsPaginator

      default ListControlsPublisher listControlsPaginator(ListControlsRequest listControlsRequest)

      This is a variant of listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest) 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.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlsResponse 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 listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest) operation.

      Parameters:
      listControlsRequest -
      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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlsPaginator

      default ListControlsPublisher listControlsPaginator(Consumer<ListControlsRequest.Builder> listControlsRequest)

      This is a variant of listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest) 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.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListControlsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListControlsResponse 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 listControls(software.amazon.awssdk.services.auditmanager.model.ListControlsRequest) operation.


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

      Parameters:
      listControlsRequest - A Consumer that will call methods on ListControlsRequest.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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listKeywordsForDataSource

      default CompletableFuture<ListKeywordsForDataSourceResponse> listKeywordsForDataSource(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest)

      Returns a list of keywords that are pre-mapped to the specified control data source.

      Parameters:
      listKeywordsForDataSourceRequest -
      Returns:
      A Java Future containing the result of the ListKeywordsForDataSource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listKeywordsForDataSource

      default CompletableFuture<ListKeywordsForDataSourceResponse> listKeywordsForDataSource(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest)

      Returns a list of keywords that are pre-mapped to the specified control data source.


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

      Parameters:
      listKeywordsForDataSourceRequest - A Consumer that will call methods on ListKeywordsForDataSourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListKeywordsForDataSource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listKeywordsForDataSourcePaginator

      default ListKeywordsForDataSourcePublisher listKeywordsForDataSourcePaginator(ListKeywordsForDataSourceRequest listKeywordsForDataSourceRequest)

      This is a variant of listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest) 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.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse 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 listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest) operation.

      Parameters:
      listKeywordsForDataSourceRequest -
      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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listKeywordsForDataSourcePaginator

      default ListKeywordsForDataSourcePublisher listKeywordsForDataSourcePaginator(Consumer<ListKeywordsForDataSourceRequest.Builder> listKeywordsForDataSourceRequest)

      This is a variant of listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest) 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.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListKeywordsForDataSourcePublisher publisher = client.listKeywordsForDataSourcePaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceResponse 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 listKeywordsForDataSource(software.amazon.awssdk.services.auditmanager.model.ListKeywordsForDataSourceRequest) operation.


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

      Parameters:
      listKeywordsForDataSourceRequest - A Consumer that will call methods on ListKeywordsForDataSourceRequest.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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotifications

      default CompletableFuture<ListNotificationsResponse> listNotifications(ListNotificationsRequest listNotificationsRequest)

      Returns a list of all Audit Manager notifications.

      Parameters:
      listNotificationsRequest -
      Returns:
      A Java Future containing the result of the ListNotifications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotifications

      default CompletableFuture<ListNotificationsResponse> listNotifications(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest)

      Returns a list of all Audit Manager notifications.


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

      Parameters:
      listNotificationsRequest - A Consumer that will call methods on ListNotificationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListNotifications operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotificationsPaginator

      default ListNotificationsPublisher listNotificationsPaginator(ListNotificationsRequest listNotificationsRequest)

      This is a variant of listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest) 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.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse 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 listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest) operation.

      Parameters:
      listNotificationsRequest -
      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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listNotificationsPaginator

      default ListNotificationsPublisher listNotificationsPaginator(Consumer<ListNotificationsRequest.Builder> listNotificationsRequest)

      This is a variant of listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest) 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.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.auditmanager.paginators.ListNotificationsPublisher publisher = client.listNotificationsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.auditmanager.model.ListNotificationsResponse 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 listNotifications(software.amazon.awssdk.services.auditmanager.model.ListNotificationsRequest) operation.


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

      Parameters:
      listNotificationsRequest - A Consumer that will call methods on ListNotificationsRequest.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.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • ValidationException The request has invalid or missing parameters.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      Returns a list of tags for the specified resource in Audit Manager.

      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.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

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

      Returns a list of tags for the specified resource in Audit Manager.


      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.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerAccount

      default CompletableFuture<RegisterAccountResponse> registerAccount(RegisterAccountRequest registerAccountRequest)

      Enables Audit Manager for the specified Amazon Web Services account.

      Parameters:
      registerAccountRequest -
      Returns:
      A Java Future containing the result of the RegisterAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ThrottlingException The request was denied due to request throttling.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerAccount

      default CompletableFuture<RegisterAccountResponse> registerAccount(Consumer<RegisterAccountRequest.Builder> registerAccountRequest)

      Enables Audit Manager for the specified Amazon Web Services account.


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

      Parameters:
      registerAccountRequest - A Consumer that will call methods on RegisterAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ThrottlingException The request was denied due to request throttling.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerOrganizationAdminAccount

      default CompletableFuture<RegisterOrganizationAdminAccountResponse> registerOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest registerOrganizationAdminAccountRequest)

      Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.

      Parameters:
      registerOrganizationAdminAccountRequest -
      Returns:
      A Java Future containing the result of the RegisterOrganizationAdminAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerOrganizationAdminAccount

      default CompletableFuture<RegisterOrganizationAdminAccountResponse> registerOrganizationAdminAccount(Consumer<RegisterOrganizationAdminAccountRequest.Builder> registerOrganizationAdminAccountRequest)

      Enables an Amazon Web Services account within the organization as the delegated administrator for Audit Manager.


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

      Parameters:
      registerOrganizationAdminAccountRequest - A Consumer that will call methods on RegisterOrganizationAdminAccountRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterOrganizationAdminAccount operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAssessmentFrameworkShare

      default CompletableFuture<StartAssessmentFrameworkShareResponse> startAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest startAssessmentFrameworkShareRequest)

      Creates a share request for a custom framework in Audit Manager.

      The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.

      When you create a share request, Audit Manager stores a snapshot of your custom framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.

      Audit Manager deletes the snapshot and the backup snapshot when one of the following events occurs:

      • The sender revokes the share request.

      • The recipient declines the share request.

      • The recipient encounters an error and doesn't successfully accept the share request.

      • The share request expires before the recipient responds to the request.

      When a sender resends a share request, the snapshot is replaced with an updated version that corresponds with the latest version of the custom framework.

      When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share request.

      When you invoke the StartAssessmentFrameworkShare API, you are about to share a custom framework with another Amazon Web Services account. You may not share a custom framework that is derived from a standard framework if the standard framework is designated as not eligible for sharing by Amazon Web Services, unless you have obtained permission to do so from the owner of the standard framework. To learn more about which standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User Guide.

      Parameters:
      startAssessmentFrameworkShareRequest -
      Returns:
      A Java Future containing the result of the StartAssessmentFrameworkShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAssessmentFrameworkShare

      default CompletableFuture<StartAssessmentFrameworkShareResponse> startAssessmentFrameworkShare(Consumer<StartAssessmentFrameworkShareRequest.Builder> startAssessmentFrameworkShareRequest)

      Creates a share request for a custom framework in Audit Manager.

      The share request specifies a recipient and notifies them that a custom framework is available. Recipients have 120 days to accept or decline the request. If no action is taken, the share request expires.

      When you create a share request, Audit Manager stores a snapshot of your custom framework in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.

      Audit Manager deletes the snapshot and the backup snapshot when one of the following events occurs:

      • The sender revokes the share request.

      • The recipient declines the share request.

      • The recipient encounters an error and doesn't successfully accept the share request.

      • The share request expires before the recipient responds to the request.

      When a sender resends a share request, the snapshot is replaced with an updated version that corresponds with the latest version of the custom framework.

      When a recipient accepts a share request, the snapshot is replicated into their Amazon Web Services account under the Amazon Web Services Region that was specified in the share request.

      When you invoke the StartAssessmentFrameworkShare API, you are about to share a custom framework with another Amazon Web Services account. You may not share a custom framework that is derived from a standard framework if the standard framework is designated as not eligible for sharing by Amazon Web Services, unless you have obtained permission to do so from the owner of the standard framework. To learn more about which standard frameworks are eligible for sharing, see Framework sharing eligibility in the Audit Manager User Guide.


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

      Parameters:
      startAssessmentFrameworkShareRequest - A Consumer that will call methods on StartAssessmentFrameworkShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartAssessmentFrameworkShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      Tags the specified resource in Audit Manager.

      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.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

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

      Tags the specified resource in Audit Manager.


      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.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Removes a tag from a resource in Audit Manager.

      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.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • untagResource

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

      Removes a tag from a resource in Audit Manager.


      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.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ValidationException The request has invalid or missing parameters.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessment

      default CompletableFuture<UpdateAssessmentResponse> updateAssessment(UpdateAssessmentRequest updateAssessmentRequest)

      Edits an Audit Manager assessment.

      Parameters:
      updateAssessmentRequest -
      Returns:
      A Java Future containing the result of the UpdateAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessment

      default CompletableFuture<UpdateAssessmentResponse> updateAssessment(Consumer<UpdateAssessmentRequest.Builder> updateAssessmentRequest)

      Edits an Audit Manager assessment.


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

      Parameters:
      updateAssessmentRequest - A Consumer that will call methods on UpdateAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentControl

      default CompletableFuture<UpdateAssessmentControlResponse> updateAssessmentControl(UpdateAssessmentControlRequest updateAssessmentControlRequest)

      Updates a control within an assessment in Audit Manager.

      Parameters:
      updateAssessmentControlRequest -
      Returns:
      A Java Future containing the result of the UpdateAssessmentControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentControl

      default CompletableFuture<UpdateAssessmentControlResponse> updateAssessmentControl(Consumer<UpdateAssessmentControlRequest.Builder> updateAssessmentControlRequest)

      Updates a control within an assessment in Audit Manager.


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

      Parameters:
      updateAssessmentControlRequest - A Consumer that will call methods on UpdateAssessmentControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAssessmentControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentControlSetStatus

      default CompletableFuture<UpdateAssessmentControlSetStatusResponse> updateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest updateAssessmentControlSetStatusRequest)

      Updates the status of a control set in an Audit Manager assessment.

      Parameters:
      updateAssessmentControlSetStatusRequest -
      Returns:
      A Java Future containing the result of the UpdateAssessmentControlSetStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentControlSetStatus

      default CompletableFuture<UpdateAssessmentControlSetStatusResponse> updateAssessmentControlSetStatus(Consumer<UpdateAssessmentControlSetStatusRequest.Builder> updateAssessmentControlSetStatusRequest)

      Updates the status of a control set in an Audit Manager assessment.


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

      Parameters:
      updateAssessmentControlSetStatusRequest - A Consumer that will call methods on UpdateAssessmentControlSetStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAssessmentControlSetStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentFramework

      default CompletableFuture<UpdateAssessmentFrameworkResponse> updateAssessmentFramework(UpdateAssessmentFrameworkRequest updateAssessmentFrameworkRequest)

      Updates a custom framework in Audit Manager.

      Parameters:
      updateAssessmentFrameworkRequest -
      Returns:
      A Java Future containing the result of the UpdateAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentFramework

      default CompletableFuture<UpdateAssessmentFrameworkResponse> updateAssessmentFramework(Consumer<UpdateAssessmentFrameworkRequest.Builder> updateAssessmentFrameworkRequest)

      Updates a custom framework in Audit Manager.


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

      Parameters:
      updateAssessmentFrameworkRequest - A Consumer that will call methods on UpdateAssessmentFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAssessmentFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentFrameworkShare

      default CompletableFuture<UpdateAssessmentFrameworkShareResponse> updateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest updateAssessmentFrameworkShareRequest)

      Updates a share request for a custom framework in Audit Manager.

      Parameters:
      updateAssessmentFrameworkShareRequest -
      Returns:
      A Java Future containing the result of the UpdateAssessmentFrameworkShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentFrameworkShare

      default CompletableFuture<UpdateAssessmentFrameworkShareResponse> updateAssessmentFrameworkShare(Consumer<UpdateAssessmentFrameworkShareRequest.Builder> updateAssessmentFrameworkShareRequest)

      Updates a share request for a custom framework in Audit Manager.


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

      Parameters:
      updateAssessmentFrameworkShareRequest - A Consumer that will call methods on UpdateAssessmentFrameworkShareRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAssessmentFrameworkShare operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentStatus

      default CompletableFuture<UpdateAssessmentStatusResponse> updateAssessmentStatus(UpdateAssessmentStatusRequest updateAssessmentStatusRequest)

      Updates the status of an assessment in Audit Manager.

      Parameters:
      updateAssessmentStatusRequest -
      Returns:
      A Java Future containing the result of the UpdateAssessmentStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAssessmentStatus

      default CompletableFuture<UpdateAssessmentStatusResponse> updateAssessmentStatus(Consumer<UpdateAssessmentStatusRequest.Builder> updateAssessmentStatusRequest)

      Updates the status of an assessment in Audit Manager.


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

      Parameters:
      updateAssessmentStatusRequest - A Consumer that will call methods on UpdateAssessmentStatusRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAssessmentStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ServiceQuotaExceededException You've reached your account quota for this resource type. To perform the requested action, delete some existing resources or request a quota increase from the Service Quotas console. For a list of Audit Manager service quotas, see Quotas and restrictions for Audit Manager.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateControl

      default CompletableFuture<UpdateControlResponse> updateControl(UpdateControlRequest updateControlRequest)

      Updates a custom control in Audit Manager.

      Parameters:
      updateControlRequest -
      Returns:
      A Java Future containing the result of the UpdateControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateControl

      default CompletableFuture<UpdateControlResponse> updateControl(Consumer<UpdateControlRequest.Builder> updateControlRequest)

      Updates a custom control in Audit Manager.


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

      Parameters:
      updateControlRequest - A Consumer that will call methods on UpdateControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSettings

      default CompletableFuture<UpdateSettingsResponse> updateSettings(UpdateSettingsRequest updateSettingsRequest)

      Updates Audit Manager settings for the current account.

      Parameters:
      updateSettingsRequest -
      Returns:
      A Java Future containing the result of the UpdateSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateSettings

      default CompletableFuture<UpdateSettingsResponse> updateSettings(Consumer<UpdateSettingsRequest.Builder> updateSettingsRequest)

      Updates Audit Manager settings for the current account.


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

      Parameters:
      updateSettingsRequest - A Consumer that will call methods on UpdateSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • validateAssessmentReportIntegrity

      default CompletableFuture<ValidateAssessmentReportIntegrityResponse> validateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest validateAssessmentReportIntegrityRequest)

      Validates the integrity of an assessment report in Audit Manager.

      Parameters:
      validateAssessmentReportIntegrityRequest -
      Returns:
      A Java Future containing the result of the ValidateAssessmentReportIntegrity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • validateAssessmentReportIntegrity

      default CompletableFuture<ValidateAssessmentReportIntegrityResponse> validateAssessmentReportIntegrity(Consumer<ValidateAssessmentReportIntegrityRequest.Builder> validateAssessmentReportIntegrityRequest)

      Validates the integrity of an assessment report in Audit Manager.


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

      Parameters:
      validateAssessmentReportIntegrityRequest - A Consumer that will call methods on ValidateAssessmentReportIntegrityRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ValidateAssessmentReportIntegrity operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
      • ValidationException The request has invalid or missing parameters.
      • AccessDeniedException Your account isn't registered with Audit Manager. Check the delegated administrator setup on the Audit Manager settings page, and try again.
      • InternalServerException An internal service error occurred during the processing of your request. Try again later.
      • ResourceNotFoundException The resource that's specified in the request can't be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AuditManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default AuditManagerServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static AuditManagerAsyncClient create()
      Create a AuditManagerAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a AuditManagerAsyncClient.