Interface AssuranceAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface AssuranceAsyncClient extends AwsClient
Service client for accessing AWS Assurance asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

AWS Assurance is a compliance service that helps you achieve and maintain compliance with security and governance frameworks by discovering in-scope resources, running assessments against framework controls, capturing evidence, and tracking remediation tasks.

  • Field Details

  • Method Details

    • acceptInvitation

      default CompletableFuture<AcceptInvitationResponse> acceptInvitation(AcceptInvitationRequest acceptInvitationRequest)

      Accepts a pending invitation to connect your account to an environment. To use this operation, you must have permission to call iam:CreateServiceLinkedRole.

      The invitation becomes ACTIVE when AWS Assurance can assume its service-linked role in your account. If AWS Assurance can't create or assume the role, the request fails and the invitation stays PENDING.

      Parameters:
      acceptInvitationRequest -
      Returns:
      A Java Future containing the result of the AcceptInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • acceptInvitation

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

      Accepts a pending invitation to connect your account to an environment. To use this operation, you must have permission to call iam:CreateServiceLinkedRole.

      The invitation becomes ACTIVE when AWS Assurance can assume its service-linked role in your account. If AWS Assurance can't create or assume the role, the request fails and the invitation stays PENDING.


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

      Parameters:
      acceptInvitationRequest - A Consumer that will call methods on AcceptInvitationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AcceptInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • assignPermissionSet

      default CompletableFuture<AssignPermissionSetResponse> assignPermissionSet(AssignPermissionSetRequest assignPermissionSetRequest)

      Assigns a permission set to a principal with optional scopes.

      Parameters:
      assignPermissionSetRequest -
      Returns:
      A Java Future containing the result of the AssignPermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • assignPermissionSet

      default CompletableFuture<AssignPermissionSetResponse> assignPermissionSet(Consumer<AssignPermissionSetRequest.Builder> assignPermissionSetRequest)

      Assigns a permission set to a principal with optional scopes.


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

      Parameters:
      assignPermissionSetRequest - A Consumer that will call methods on AssignPermissionSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AssignPermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetComment

      default CompletableFuture<BatchGetCommentResponse> batchGetComment(BatchGetCommentRequest batchGetCommentRequest)

      Retrieves multiple comments in a single request. Use it instead of calling GetComment for each comment. If the operation can't return a comment, it lists the comment in errors and still succeeds.

      Parameters:
      batchGetCommentRequest -
      Returns:
      A Java Future containing the result of the BatchGetComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetComment

      default CompletableFuture<BatchGetCommentResponse> batchGetComment(Consumer<BatchGetCommentRequest.Builder> batchGetCommentRequest)

      Retrieves multiple comments in a single request. Use it instead of calling GetComment for each comment. If the operation can't return a comment, it lists the comment in errors and still succeeds.


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

      Parameters:
      batchGetCommentRequest - A Consumer that will call methods on BatchGetCommentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetControl

      default CompletableFuture<BatchGetControlResponse> batchGetControl(BatchGetControlRequest batchGetControlRequest)

      Retrieves multiple controls in a single request. Use it instead of calling GetControl for each control. If the operation can't return a control, it lists the control in errors and still succeeds.

      Parameters:
      batchGetControlRequest -
      Returns:
      A Java Future containing the result of the BatchGetControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetControl

      default CompletableFuture<BatchGetControlResponse> batchGetControl(Consumer<BatchGetControlRequest.Builder> batchGetControlRequest)

      Retrieves multiple controls in a single request. Use it instead of calling GetControl for each control. If the operation can't return a control, it lists the control in errors and still succeeds.


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

      Parameters:
      batchGetControlRequest - A Consumer that will call methods on BatchGetControlRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetControl operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetTask

      default CompletableFuture<BatchGetTaskResponse> batchGetTask(BatchGetTaskRequest batchGetTaskRequest)

      Retrieves multiple tasks in a single request. Use it instead of calling GetTask for each task. If the operation can't return a task, it lists the task in errors and still succeeds.

      Parameters:
      batchGetTaskRequest -
      Returns:
      A Java Future containing the result of the BatchGetTask operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • batchGetTask

      default CompletableFuture<BatchGetTaskResponse> batchGetTask(Consumer<BatchGetTaskRequest.Builder> batchGetTaskRequest)

      Retrieves multiple tasks in a single request. Use it instead of calling GetTask for each task. If the operation can't return a task, it lists the task in errors and still succeeds.


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

      Parameters:
      batchGetTaskRequest - A Consumer that will call methods on BatchGetTaskRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the BatchGetTask operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • chat

      default CompletableFuture<Void> chat(ChatRequest chatRequest, ChatResponseHandler asyncResponseHandler)

      Starts a streaming chat turn with the AWS Assurance agent. Returns an event stream of chat events, including chunks, tool calls, and errors.

      Parameters:
      chatRequest -
      Returns:
      A Java Future containing the result of the Chat operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would exceed a service quota.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • chat

      default CompletableFuture<Void> chat(Consumer<ChatRequest.Builder> chatRequest, ChatResponseHandler asyncResponseHandler)

      Starts a streaming chat turn with the AWS Assurance agent. Returns an event stream of chat events, including chunks, tool calls, and errors.


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

      Parameters:
      chatRequest - A Consumer that will call methods on ChatRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the Chat operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ServiceQuotaExceededException The request would exceed a service quota.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createComment

      default CompletableFuture<CreateCommentResponse> createComment(CreateCommentRequest createCommentRequest)

      Adds a new comment to a specific control.

      Parameters:
      createCommentRequest -
      Returns:
      A Java Future containing the result of the CreateComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createComment

      default CompletableFuture<CreateCommentResponse> createComment(Consumer<CreateCommentRequest.Builder> createCommentRequest)

      Adds a new comment to a specific control.


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

      Parameters:
      createCommentRequest - A Consumer that will call methods on CreateCommentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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 leaf control, which is a control with no child controls, in a custom framework.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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 leaf control, which is a control with no child controls, in a custom framework.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createControlGroup

      default CompletableFuture<CreateControlGroupResponse> createControlGroup(CreateControlGroupRequest createControlGroupRequest)

      Creates a control group within a custom framework.

      Parameters:
      createControlGroupRequest -
      Returns:
      A Java Future containing the result of the CreateControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createControlGroup

      default CompletableFuture<CreateControlGroupResponse> createControlGroup(Consumer<CreateControlGroupRequest.Builder> createControlGroupRequest)

      Creates a control group within a custom framework.


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

      Parameters:
      createControlGroupRequest - A Consumer that will call methods on CreateControlGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironment

      default CompletableFuture<CreateEnvironmentResponse> createEnvironment(CreateEnvironmentRequest createEnvironmentRequest)

      Creates a new governance environment with the specified name and service role. If you provide identityStore, AWS Assurance creates an IAM Identity Center managed application for the environment.

      Parameters:
      createEnvironmentRequest -
      Returns:
      A Java Future containing the result of the CreateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironment

      default CompletableFuture<CreateEnvironmentResponse> createEnvironment(Consumer<CreateEnvironmentRequest.Builder> createEnvironmentRequest)

      Creates a new governance environment with the specified name and service role. If you provide identityStore, AWS Assurance creates an IAM Identity Center managed application for the environment.


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

      Parameters:
      createEnvironmentRequest - A Consumer that will call methods on CreateEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironmentConnection

      default CompletableFuture<CreateEnvironmentConnectionResponse> createEnvironmentConnection(CreateEnvironmentConnectionRequest createEnvironmentConnectionRequest)

      Creates a connection between a governance environment and an evidence source. Specify the source in providerConfig.

      If you call this operation again for a source that is already connected, AWS Assurance returns the current status of the connection and doesn't create a second one.

      Parameters:
      createEnvironmentConnectionRequest -
      Returns:
      A Java Future containing the result of the CreateEnvironmentConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createEnvironmentConnection

      default CompletableFuture<CreateEnvironmentConnectionResponse> createEnvironmentConnection(Consumer<CreateEnvironmentConnectionRequest.Builder> createEnvironmentConnectionRequest)

      Creates a connection between a governance environment and an evidence source. Specify the source in providerConfig.

      If you call this operation again for a source that is already connected, AWS Assurance returns the current status of the connection and doesn't create a second one.


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

      Parameters:
      createEnvironmentConnectionRequest - A Consumer that will call methods on CreateEnvironmentConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateEnvironmentConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFramework

      default CompletableFuture<CreateFrameworkResponse> createFramework(CreateFrameworkRequest createFrameworkRequest)

      Creates a custom framework. The framework name must not start with AWS:. New frameworks are created in PENDING status. Use PublishFramework to make them ACTIVE.

      Parameters:
      createFrameworkRequest -
      Returns:
      A Java Future containing the result of the CreateFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createFramework

      default CompletableFuture<CreateFrameworkResponse> createFramework(Consumer<CreateFrameworkRequest.Builder> createFrameworkRequest)

      Creates a custom framework. The framework name must not start with AWS:. New frameworks are created in PENDING status. Use PublishFramework to make them ACTIVE.


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

      Parameters:
      createFrameworkRequest - A Consumer that will call methods on CreateFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createInvitation

      default CompletableFuture<CreateInvitationResponse> createInvitation(CreateInvitationRequest createInvitationRequest)

      Creates a pending invitation for a customer account to connect to an environment. Call this operation from the account that owns the environment.

      At most one non-terminal (PENDING or ACTIVE) invitation can exist per (environment, inviteeAccountId) pair. If you call this operation when a non-terminal invitation already exists, the service returns ConflictException.

      Parameters:
      createInvitationRequest -
      Returns:
      A Java Future containing the result of the CreateInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createInvitation

      default CompletableFuture<CreateInvitationResponse> createInvitation(Consumer<CreateInvitationRequest.Builder> createInvitationRequest)

      Creates a pending invitation for a customer account to connect to an environment. Call this operation from the account that owns the environment.

      At most one non-terminal (PENDING or ACTIVE) invitation can exist per (environment, inviteeAccountId) pair. If you call this operation when a non-terminal invitation already exists, the service returns ConflictException.


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

      Parameters:
      createInvitationRequest - A Consumer that will call methods on CreateInvitationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPermissionSet

      default CompletableFuture<CreatePermissionSetResponse> createPermissionSet(CreatePermissionSetRequest createPermissionSetRequest)

      Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.

      Parameters:
      createPermissionSetRequest -
      Returns:
      A Java Future containing the result of the CreatePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createPermissionSet

      default CompletableFuture<CreatePermissionSetResponse> createPermissionSet(Consumer<CreatePermissionSetRequest.Builder> createPermissionSetRequest)

      Creates a new permission set in the environment. Returns the identifier the service assigned to it; retrieve its attributes with GetPermissionSet.


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

      Parameters:
      createPermissionSetRequest - A Consumer that will call methods on CreatePermissionSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreatePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProject

      default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)

      Creates a new project with a list of resources in a governance environment.

      Parameters:
      createProjectRequest -
      Returns:
      A Java Future containing the result of the CreateProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProject

      default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)

      Creates a new project with a list of resources in a governance environment.


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

      Parameters:
      createProjectRequest - A Consumer that will call methods on CreateProjectRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteComment

      default CompletableFuture<DeleteCommentResponse> deleteComment(DeleteCommentRequest deleteCommentRequest)

      Deletes a specific comment by its identifying fields.

      Parameters:
      deleteCommentRequest -
      Returns:
      A Java Future containing the result of the DeleteComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteComment

      default CompletableFuture<DeleteCommentResponse> deleteComment(Consumer<DeleteCommentRequest.Builder> deleteCommentRequest)

      Deletes a specific comment by its identifying fields.


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

      Parameters:
      deleteCommentRequest - A Consumer that will call methods on DeleteCommentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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. The operation also removes any associated evaluation metadata (control intents and workflow type).

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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. The operation also removes any associated evaluation metadata (control intents and workflow type).


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteControlGroup

      default CompletableFuture<DeleteControlGroupResponse> deleteControlGroup(DeleteControlGroupRequest deleteControlGroupRequest)

      Deletes a control group. The group must be empty (no child controls) before you delete it.

      Parameters:
      deleteControlGroupRequest -
      Returns:
      A Java Future containing the result of the DeleteControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteControlGroup

      default CompletableFuture<DeleteControlGroupResponse> deleteControlGroup(Consumer<DeleteControlGroupRequest.Builder> deleteControlGroupRequest)

      Deletes a control group. The group must be empty (no child controls) before you delete it.


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

      Parameters:
      deleteControlGroupRequest - A Consumer that will call methods on DeleteControlGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironment

      default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(DeleteEnvironmentRequest deleteEnvironmentRequest)

      Deletes a governance environment.

      Parameters:
      deleteEnvironmentRequest -
      Returns:
      A Java Future containing the result of the DeleteEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironment

      default CompletableFuture<DeleteEnvironmentResponse> deleteEnvironment(Consumer<DeleteEnvironmentRequest.Builder> deleteEnvironmentRequest)

      Deletes a governance environment.


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

      Parameters:
      deleteEnvironmentRequest - A Consumer that will call methods on DeleteEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironmentConnection

      default CompletableFuture<DeleteEnvironmentConnectionResponse> deleteEnvironmentConnection(DeleteEnvironmentConnectionRequest deleteEnvironmentConnectionRequest)

      Deletes a connection from a governance environment. Specify the connection in providerConfig. Deleting a connection doesn't delete any evidence.

      If the connection doesn't exist, the operation succeeds without returning an error.

      Parameters:
      deleteEnvironmentConnectionRequest -
      Returns:
      A Java Future containing the result of the DeleteEnvironmentConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEnvironmentConnection

      default CompletableFuture<DeleteEnvironmentConnectionResponse> deleteEnvironmentConnection(Consumer<DeleteEnvironmentConnectionRequest.Builder> deleteEnvironmentConnectionRequest)

      Deletes a connection from a governance environment. Specify the connection in providerConfig. Deleting a connection doesn't delete any evidence.

      If the connection doesn't exist, the operation succeeds without returning an error.


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

      Parameters:
      deleteEnvironmentConnectionRequest - A Consumer that will call methods on DeleteEnvironmentConnectionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEnvironmentConnection operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEvidence

      default CompletableFuture<DeleteEvidenceResponse> deleteEvidence(DeleteEvidenceRequest deleteEvidenceRequest)

      Removes an evidence item.

      Parameters:
      deleteEvidenceRequest -
      Returns:
      A Java Future containing the result of the DeleteEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteEvidence

      default CompletableFuture<DeleteEvidenceResponse> deleteEvidence(Consumer<DeleteEvidenceRequest.Builder> deleteEvidenceRequest)

      Removes an evidence item.


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

      Parameters:
      deleteEvidenceRequest - A Consumer that will call methods on DeleteEvidenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFramework

      default CompletableFuture<DeleteFrameworkResponse> deleteFramework(DeleteFrameworkRequest deleteFrameworkRequest)

      Deletes a custom framework that you no longer need. You can delete only custom frameworks. Managed frameworks are read-only. Before you delete a framework, you must disable it in every project where it is enabled. Otherwise, you receive a ConflictException.

      A framework in PENDING status must be empty (no control groups or controls) before you delete it. Otherwise, you receive a ConflictException. When you delete an ACTIVE (published) framework, AWS Assurance also deletes its control groups and controls.

      In every project, AWS Assurance also deletes your data for this framework version:

      • Assessments and their results

      • Annotations

      • Tasks, task history, and comments

      • Decisions that mark a control or requirement as not applicable, and their justifications

      Consider this data permanently deleted as soon as the operation succeeds. Your evidence remains available, but it is no longer linked to the framework's controls.

      To keep an assessment report, export it before you disable the framework. First, call StartAssessmentReportExport. Then wait until GetAssessmentReportExport reports COMPLETED. Finally, get the report with GetAssessmentReportContent.

      The deletion can continue after the operation returns and might take some time. For example, the deletion might take longer while an assessment that uses the framework is still running. Until the deletion completes, creating a framework with the same name and version returns a ConflictException.

      Parameters:
      deleteFrameworkRequest -
      Returns:
      A Java Future containing the result of the DeleteFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteFramework

      default CompletableFuture<DeleteFrameworkResponse> deleteFramework(Consumer<DeleteFrameworkRequest.Builder> deleteFrameworkRequest)

      Deletes a custom framework that you no longer need. You can delete only custom frameworks. Managed frameworks are read-only. Before you delete a framework, you must disable it in every project where it is enabled. Otherwise, you receive a ConflictException.

      A framework in PENDING status must be empty (no control groups or controls) before you delete it. Otherwise, you receive a ConflictException. When you delete an ACTIVE (published) framework, AWS Assurance also deletes its control groups and controls.

      In every project, AWS Assurance also deletes your data for this framework version:

      • Assessments and their results

      • Annotations

      • Tasks, task history, and comments

      • Decisions that mark a control or requirement as not applicable, and their justifications

      Consider this data permanently deleted as soon as the operation succeeds. Your evidence remains available, but it is no longer linked to the framework's controls.

      To keep an assessment report, export it before you disable the framework. First, call StartAssessmentReportExport. Then wait until GetAssessmentReportExport reports COMPLETED. Finally, get the report with GetAssessmentReportContent.

      The deletion can continue after the operation returns and might take some time. For example, the deletion might take longer while an assessment that uses the framework is still running. Until the deletion completes, creating a framework with the same name and version returns a ConflictException.


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

      Parameters:
      deleteFrameworkRequest - A Consumer that will call methods on DeleteFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteInvitation

      default CompletableFuture<DeleteInvitationResponse> deleteInvitation(DeleteInvitationRequest deleteInvitationRequest)

      Deletes an invitation or unlinks a connected account for an environment. Call this operation from the environment owner account. This operation is idempotent—deleting an already-removed invitation or connection has no effect.

      Withdraws a pending invitation or removes an active connection, in any state. After you remove the connection, AWS Assurance no longer evaluates that account.

      Parameters:
      deleteInvitationRequest -
      Returns:
      A Java Future containing the result of the DeleteInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteInvitation

      default CompletableFuture<DeleteInvitationResponse> deleteInvitation(Consumer<DeleteInvitationRequest.Builder> deleteInvitationRequest)

      Deletes an invitation or unlinks a connected account for an environment. Call this operation from the environment owner account. This operation is idempotent—deleting an already-removed invitation or connection has no effect.

      Withdraws a pending invitation or removes an active connection, in any state. After you remove the connection, AWS Assurance no longer evaluates that account.


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

      Parameters:
      deleteInvitationRequest - A Consumer that will call methods on DeleteInvitationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePermissionSet

      default CompletableFuture<DeletePermissionSetResponse> deletePermissionSet(DeletePermissionSetRequest deletePermissionSetRequest)

      Deletes a permission set.

      Parameters:
      deletePermissionSetRequest -
      Returns:
      A Java Future containing the result of the DeletePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deletePermissionSet

      default CompletableFuture<DeletePermissionSetResponse> deletePermissionSet(Consumer<DeletePermissionSetRequest.Builder> deletePermissionSetRequest)

      Deletes a permission set.


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

      Parameters:
      deletePermissionSetRequest - A Consumer that will call methods on DeletePermissionSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeletePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProject

      default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest)

      Deletes a project and all its associated resources.

      Parameters:
      deleteProjectRequest -
      Returns:
      A Java Future containing the result of the DeleteProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProject

      default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)

      Deletes a project and all its associated resources.


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

      Parameters:
      deleteProjectRequest - A Consumer that will call methods on DeleteProjectRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterOrganizationDelegatedAdmin

      default CompletableFuture<DeregisterOrganizationDelegatedAdminResponse> deregisterOrganizationDelegatedAdmin(DeregisterOrganizationDelegatedAdminRequest deregisterOrganizationDelegatedAdminRequest)

      Removes the delegated administrator for AWS Assurance from your organization. The account that was the delegated administrator can no longer manage organization-scoped environments. The management account keeps ownership of any resources that the delegated administrator created.

      Only the management account of the organization can call this operation.

      Parameters:
      deregisterOrganizationDelegatedAdminRequest -
      Returns:
      A Java Future containing the result of the DeregisterOrganizationDelegatedAdmin operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterOrganizationDelegatedAdmin

      default CompletableFuture<DeregisterOrganizationDelegatedAdminResponse> deregisterOrganizationDelegatedAdmin(Consumer<DeregisterOrganizationDelegatedAdminRequest.Builder> deregisterOrganizationDelegatedAdminRequest)

      Removes the delegated administrator for AWS Assurance from your organization. The account that was the delegated administrator can no longer manage organization-scoped environments. The management account keeps ownership of any resources that the delegated administrator created.

      Only the management account of the organization can call this operation.


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

      Parameters:
      deregisterOrganizationDelegatedAdminRequest - A Consumer that will call methods on DeregisterOrganizationDelegatedAdminRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterOrganizationDelegatedAdmin operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disableFramework

      default CompletableFuture<DisableFrameworkResponse> disableFramework(DisableFrameworkRequest disableFrameworkRequest)

      Disables a previously enabled framework for a specific project.

      Parameters:
      disableFrameworkRequest -
      Returns:
      A Java Future containing the result of the DisableFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • disableFramework

      default CompletableFuture<DisableFrameworkResponse> disableFramework(Consumer<DisableFrameworkRequest.Builder> disableFrameworkRequest)

      Disables a previously enabled framework for a specific project.


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

      Parameters:
      disableFrameworkRequest - A Consumer that will call methods on DisableFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DisableFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • enableFramework

      default CompletableFuture<EnableFrameworkResponse> enableFramework(EnableFrameworkRequest enableFrameworkRequest)

      Enables a compliance framework for a project in a governance environment. AWS Assurance then assesses the project's resources against the framework's controls.

      Parameters:
      enableFrameworkRequest -
      Returns:
      A Java Future containing the result of the EnableFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • enableFramework

      default CompletableFuture<EnableFrameworkResponse> enableFramework(Consumer<EnableFrameworkRequest.Builder> enableFrameworkRequest)

      Enables a compliance framework for a project in a governance environment. AWS Assurance then assesses the project's resources against the framework's controls.


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

      Parameters:
      enableFrameworkRequest - A Consumer that will call methods on EnableFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the EnableFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAnnotation

      default CompletableFuture<GetAnnotationResponse> getAnnotation(GetAnnotationRequest getAnnotationRequest)

      Retrieves the annotation for a specific piece of evidence.

      Parameters:
      getAnnotationRequest -
      Returns:
      A Java Future containing the result of the GetAnnotation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAnnotation

      default CompletableFuture<GetAnnotationResponse> getAnnotation(Consumer<GetAnnotationRequest.Builder> getAnnotationRequest)

      Retrieves the annotation for a specific piece of evidence.


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

      Parameters:
      getAnnotationRequest - A Consumer that will call methods on GetAnnotationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAnnotation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Retrieves a single 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Retrieves a single 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentReportContent

      default CompletableFuture<GetAssessmentReportContentResponse> getAssessmentReportContent(GetAssessmentReportContentRequest getAssessmentReportContentRequest)

      Returns an assessment report. The export must have the status COMPLETED.

      A completed report stays available for at least 12 hours after the export starts. If the report is no longer available, start a new export.

      Parameters:
      getAssessmentReportContentRequest - Input for GetAssessmentReportContent.
      Returns:
      A Java Future containing the result of the GetAssessmentReportContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentReportContent

      default CompletableFuture<GetAssessmentReportContentResponse> getAssessmentReportContent(Consumer<GetAssessmentReportContentRequest.Builder> getAssessmentReportContentRequest)

      Returns an assessment report. The export must have the status COMPLETED.

      A completed report stays available for at least 12 hours after the export starts. If the report is no longer available, start a new export.


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

      Parameters:
      getAssessmentReportContentRequest - A Consumer that will call methods on GetAssessmentReportContentRequest.Builder to create a request. Input for GetAssessmentReportContent.
      Returns:
      A Java Future containing the result of the GetAssessmentReportContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentReportExport

      default CompletableFuture<GetAssessmentReportExportResponse> getAssessmentReportExport(GetAssessmentReportExportRequest getAssessmentReportExportRequest)

      Gets the status of an assessment report export.

      Parameters:
      getAssessmentReportExportRequest - Input for GetAssessmentReportExport.
      Returns:
      A Java Future containing the result of the GetAssessmentReportExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAssessmentReportExport

      default CompletableFuture<GetAssessmentReportExportResponse> getAssessmentReportExport(Consumer<GetAssessmentReportExportRequest.Builder> getAssessmentReportExportRequest)

      Gets the status of an assessment report export.


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

      Parameters:
      getAssessmentReportExportRequest - A Consumer that will call methods on GetAssessmentReportExportRequest.Builder to create a request. Input for GetAssessmentReportExport.
      Returns:
      A Java Future containing the result of the GetAssessmentReportExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChatMessages

      default CompletableFuture<GetChatMessagesResponse> getChatMessages(GetChatMessagesRequest getChatMessagesRequest)

      Gets messages for a chat session in chronological order.

      Parameters:
      getChatMessagesRequest -
      Returns:
      A Java Future containing the result of the GetChatMessages operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChatMessages

      default CompletableFuture<GetChatMessagesResponse> getChatMessages(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest)

      Gets messages for a chat session in chronological order.


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

      Parameters:
      getChatMessagesRequest - A Consumer that will call methods on GetChatMessagesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetChatMessages operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChatMessagesPaginator

      default GetChatMessagesPublisher getChatMessagesPaginator(GetChatMessagesRequest getChatMessagesRequest)

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

      Parameters:
      getChatMessagesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getChatMessagesPaginator

      default GetChatMessagesPublisher getChatMessagesPaginator(Consumer<GetChatMessagesRequest.Builder> getChatMessagesRequest)

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


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

      Parameters:
      getChatMessagesRequest - A Consumer that will call methods on GetChatMessagesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getComment

      default CompletableFuture<GetCommentResponse> getComment(GetCommentRequest getCommentRequest)

      Retrieves a specific comment by its identifying fields.

      Parameters:
      getCommentRequest -
      Returns:
      A Java Future containing the result of the GetComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getComment

      default CompletableFuture<GetCommentResponse> getComment(Consumer<GetCommentRequest.Builder> getCommentRequest)

      Retrieves a specific comment by its identifying fields.


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

      Parameters:
      getCommentRequest - A Consumer that will call methods on GetCommentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Retrieves a single leaf control within a framework version, including its title, description, and requirements.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Retrieves a single leaf control within a framework version, including its title, description, and requirements.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getControlGroup

      default CompletableFuture<GetControlGroupResponse> getControlGroup(GetControlGroupRequest getControlGroupRequest)

      Retrieves a single control group's own attributes (title, description, status) within a framework version. Use ListControls with the group's controlId to retrieve the leaf controls within it.

      Parameters:
      getControlGroupRequest -
      Returns:
      A Java Future containing the result of the GetControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getControlGroup

      default CompletableFuture<GetControlGroupResponse> getControlGroup(Consumer<GetControlGroupRequest.Builder> getControlGroupRequest)

      Retrieves a single control group's own attributes (title, description, status) within a framework version. Use ListControls with the group's controlId to retrieve the leaf controls within it.


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

      Parameters:
      getControlGroupRequest - A Consumer that will call methods on GetControlGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getControlStatus

      default CompletableFuture<GetControlStatusResponse> getControlStatus(GetControlStatusRequest getControlStatusRequest)

      Retrieves the effective compliance status of a control in a project. The status combines the most recent assessment of the control with the not-applicable decisions that you declare on the control or its requirements. The framework version must be enabled in the project.

      Parameters:
      getControlStatusRequest - Input for GetControlStatus.
      Returns:
      A Java Future containing the result of the GetControlStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getControlStatus

      default CompletableFuture<GetControlStatusResponse> getControlStatus(Consumer<GetControlStatusRequest.Builder> getControlStatusRequest)

      Retrieves the effective compliance status of a control in a project. The status combines the most recent assessment of the control with the not-applicable decisions that you declare on the control or its requirements. The framework version must be enabled in the project.


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

      Parameters:
      getControlStatusRequest - A Consumer that will call methods on GetControlStatusRequest.Builder to create a request. Input for GetControlStatus.
      Returns:
      A Java Future containing the result of the GetControlStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEnvironment

      default CompletableFuture<GetEnvironmentResponse> getEnvironment(GetEnvironmentRequest getEnvironmentRequest)

      Retrieves a governance environment by ARN or domain. Provide exactly one of environmentArn or domain.

      Parameters:
      getEnvironmentRequest -
      Returns:
      A Java Future containing the result of the GetEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEnvironment

      default CompletableFuture<GetEnvironmentResponse> getEnvironment(Consumer<GetEnvironmentRequest.Builder> getEnvironmentRequest)

      Retrieves a governance environment by ARN or domain. Provide exactly one of environmentArn or domain.


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

      Parameters:
      getEnvironmentRequest - A Consumer that will call methods on GetEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Retrieves metadata for an 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Retrieves metadata for an 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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceContent

      default CompletableFuture<GetEvidenceContentResponse> getEvidenceContent(GetEvidenceContentRequest getEvidenceContentRequest)

      Returns the content of an evidence item.

      Parameters:
      getEvidenceContentRequest - Input for GetEvidenceContent.
      Returns:
      A Java Future containing the result of the GetEvidenceContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • IntegrityException The evidence item failed integrity verification. The evidence content might have been modified or the version might no longer be available. Verify the evidence item and try your request again.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getEvidenceContent

      default CompletableFuture<GetEvidenceContentResponse> getEvidenceContent(Consumer<GetEvidenceContentRequest.Builder> getEvidenceContentRequest)

      Returns the content of an evidence item.


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

      Parameters:
      getEvidenceContentRequest - A Consumer that will call methods on GetEvidenceContentRequest.Builder to create a request. Input for GetEvidenceContent.
      Returns:
      A Java Future containing the result of the GetEvidenceContent operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • IntegrityException The evidence item failed integrity verification. The evidence content might have been modified or the version might no longer be available. Verify the evidence item and try your request again.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFramework

      default CompletableFuture<GetFrameworkResponse> getFramework(GetFrameworkRequest getFrameworkRequest)

      Retrieves a framework resource by type and key fields.

      Parameters:
      getFrameworkRequest -
      Returns:
      A Java Future containing the result of the GetFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getFramework

      default CompletableFuture<GetFrameworkResponse> getFramework(Consumer<GetFrameworkRequest.Builder> getFrameworkRequest)

      Retrieves a framework resource by type and key fields.


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

      Parameters:
      getFrameworkRequest - A Consumer that will call methods on GetFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getInvitation

      default CompletableFuture<GetInvitationResponse> getInvitation(GetInvitationRequest getInvitationRequest)

      Retrieves a single invitation, identified by environmentArn and inviteeAccountId. You can call this operation from the account that owns the environment or from the invited account.

      Parameters:
      getInvitationRequest -
      Returns:
      A Java Future containing the result of the GetInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getInvitation

      default CompletableFuture<GetInvitationResponse> getInvitation(Consumer<GetInvitationRequest.Builder> getInvitationRequest)

      Retrieves a single invitation, identified by environmentArn and inviteeAccountId. You can call this operation from the account that owns the environment or from the invited account.


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

      Parameters:
      getInvitationRequest - A Consumer that will call methods on GetInvitationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPermissionSet

      default CompletableFuture<GetPermissionSetResponse> getPermissionSet(GetPermissionSetRequest getPermissionSetRequest)

      Retrieves a permission set by ID.

      Parameters:
      getPermissionSetRequest -
      Returns:
      A Java Future containing the result of the GetPermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getPermissionSet

      default CompletableFuture<GetPermissionSetResponse> getPermissionSet(Consumer<GetPermissionSetRequest.Builder> getPermissionSetRequest)

      Retrieves a permission set by ID.


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

      Parameters:
      getPermissionSetRequest - A Consumer that will call methods on GetPermissionSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetPermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProject

      default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest)

      Retrieves a project and all its associated resources.

      Parameters:
      getProjectRequest -
      Returns:
      A Java Future containing the result of the GetProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProject

      default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)

      Retrieves a project and all its associated resources.


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

      Parameters:
      getProjectRequest - A Consumer that will call methods on GetProjectRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourceActivitiesQueryResults

      default CompletableFuture<GetResourceActivitiesQueryResultsResponse> getResourceActivitiesQueryResults(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest)

      Gets the status of a query that StartResourceActivitiesQuery started, and one page of its results. To get the next page, pass the nextToken value from the response in your next request.

      Call this operation until status is COMPLETE, FAILED, or EXPIRED. The response includes results and a pagination token only when status is COMPLETE.

      Parameters:
      getResourceActivitiesQueryResultsRequest -
      Returns:
      A Java Future containing the result of the GetResourceActivitiesQueryResults operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourceActivitiesQueryResults

      default CompletableFuture<GetResourceActivitiesQueryResultsResponse> getResourceActivitiesQueryResults(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest)

      Gets the status of a query that StartResourceActivitiesQuery started, and one page of its results. To get the next page, pass the nextToken value from the response in your next request.

      Call this operation until status is COMPLETE, FAILED, or EXPIRED. The response includes results and a pagination token only when status is COMPLETE.


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

      Parameters:
      getResourceActivitiesQueryResultsRequest - A Consumer that will call methods on GetResourceActivitiesQueryResultsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetResourceActivitiesQueryResults operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourceActivitiesQueryResultsPaginator

      default GetResourceActivitiesQueryResultsPublisher getResourceActivitiesQueryResultsPaginator(GetResourceActivitiesQueryResultsRequest getResourceActivitiesQueryResultsRequest)

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

      Parameters:
      getResourceActivitiesQueryResultsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getResourceActivitiesQueryResultsPaginator

      default GetResourceActivitiesQueryResultsPublisher getResourceActivitiesQueryResultsPaginator(Consumer<GetResourceActivitiesQueryResultsRequest.Builder> getResourceActivitiesQueryResultsRequest)

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


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

      Parameters:
      getResourceActivitiesQueryResultsRequest - A Consumer that will call methods on GetResourceActivitiesQueryResultsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTask

      default CompletableFuture<GetTaskResponse> getTask(GetTaskRequest getTaskRequest)

      Retrieves a specific task by its identifying fields.

      Parameters:
      getTaskRequest -
      Returns:
      A Java Future containing the result of the GetTask operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getTask

      Retrieves a specific task by its identifying fields.


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

      Parameters:
      getTaskRequest - A Consumer that will call methods on GetTaskRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetTask operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentAnnotations

      default CompletableFuture<ListAssessmentAnnotationsResponse> listAssessmentAnnotations(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest)

      Lists the annotations on one assessment, paginated.

      Parameters:
      listAssessmentAnnotationsRequest -
      Returns:
      A Java Future containing the result of the ListAssessmentAnnotations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentAnnotations

      default CompletableFuture<ListAssessmentAnnotationsResponse> listAssessmentAnnotations(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest)

      Lists the annotations on one assessment, paginated.


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

      Parameters:
      listAssessmentAnnotationsRequest - A Consumer that will call methods on ListAssessmentAnnotationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessmentAnnotations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentAnnotationsPaginator

      default ListAssessmentAnnotationsPublisher listAssessmentAnnotationsPaginator(ListAssessmentAnnotationsRequest listAssessmentAnnotationsRequest)

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

      Parameters:
      listAssessmentAnnotationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentAnnotationsPaginator

      default ListAssessmentAnnotationsPublisher listAssessmentAnnotationsPaginator(Consumer<ListAssessmentAnnotationsRequest.Builder> listAssessmentAnnotationsRequest)

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


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

      Parameters:
      listAssessmentAnnotationsRequest - A Consumer that will call methods on ListAssessmentAnnotationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentJournalRecords

      default CompletableFuture<ListAssessmentJournalRecordsResponse> listAssessmentJournalRecords(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest)

      Lists assessment journal records, paginated.

      Parameters:
      listAssessmentJournalRecordsRequest -
      Returns:
      A Java Future containing the result of the ListAssessmentJournalRecords operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentJournalRecords

      default CompletableFuture<ListAssessmentJournalRecordsResponse> listAssessmentJournalRecords(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest)

      Lists assessment journal records, paginated.


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

      Parameters:
      listAssessmentJournalRecordsRequest - A Consumer that will call methods on ListAssessmentJournalRecordsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssessmentJournalRecords operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentJournalRecordsPaginator

      default ListAssessmentJournalRecordsPublisher listAssessmentJournalRecordsPaginator(ListAssessmentJournalRecordsRequest listAssessmentJournalRecordsRequest)

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

      Parameters:
      listAssessmentJournalRecordsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentJournalRecordsPaginator

      default ListAssessmentJournalRecordsPublisher listAssessmentJournalRecordsPaginator(Consumer<ListAssessmentJournalRecordsRequest.Builder> listAssessmentJournalRecordsRequest)

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


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

      Parameters:
      listAssessmentJournalRecordsRequest - A Consumer that will call methods on ListAssessmentJournalRecordsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentOutcomes

      default CompletableFuture<ListAssessmentOutcomesResponse> listAssessmentOutcomes(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest)

      Returns the compliance score of a framework in a project over a time range. You can narrow the score to one control, one resource, or one control on one resource. You can also get one score per control for a resource.

      The operation returns either the current score or a history of scores, depending on whether you specify a time range.

      • Current score. If you don't specify startTime or endTime, and you use the default LAST statistic, the operation returns the most recent score as a single data point. Its timestamp is the time of the assessment that produced the score. This option isn't available when you get one score per control.

      • History. If you specify startTime, endTime, or both, or you specify the MAX, MIN, or AVG statistic, the operation divides the time range into buckets of one hour or one day (set by period). It returns one data point for each bucket that has a score, newest first. Buckets with no score are left out, so match each data point to its bucket by timestamp.

      Specify times in UTC. The time range includes startTime and excludes endTime.

      Parameters:
      listAssessmentOutcomesRequest - Input for ListAssessmentOutcomes.
      Returns:
      A Java Future containing the result of the ListAssessmentOutcomes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentOutcomes

      default CompletableFuture<ListAssessmentOutcomesResponse> listAssessmentOutcomes(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest)

      Returns the compliance score of a framework in a project over a time range. You can narrow the score to one control, one resource, or one control on one resource. You can also get one score per control for a resource.

      The operation returns either the current score or a history of scores, depending on whether you specify a time range.

      • Current score. If you don't specify startTime or endTime, and you use the default LAST statistic, the operation returns the most recent score as a single data point. Its timestamp is the time of the assessment that produced the score. This option isn't available when you get one score per control.

      • History. If you specify startTime, endTime, or both, or you specify the MAX, MIN, or AVG statistic, the operation divides the time range into buckets of one hour or one day (set by period). It returns one data point for each bucket that has a score, newest first. Buckets with no score are left out, so match each data point to its bucket by timestamp.

      Specify times in UTC. The time range includes startTime and excludes endTime.


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

      Parameters:
      listAssessmentOutcomesRequest - A Consumer that will call methods on ListAssessmentOutcomesRequest.Builder to create a request. Input for ListAssessmentOutcomes.
      Returns:
      A Java Future containing the result of the ListAssessmentOutcomes operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentOutcomesPaginator

      default ListAssessmentOutcomesPublisher listAssessmentOutcomesPaginator(ListAssessmentOutcomesRequest listAssessmentOutcomesRequest)

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

      Parameters:
      listAssessmentOutcomesRequest - Input for ListAssessmentOutcomes.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssessmentOutcomesPaginator

      default ListAssessmentOutcomesPublisher listAssessmentOutcomesPaginator(Consumer<ListAssessmentOutcomesRequest.Builder> listAssessmentOutcomesRequest)

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


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

      Parameters:
      listAssessmentOutcomesRequest - A Consumer that will call methods on ListAssessmentOutcomesRequest.Builder to create a request. Input for ListAssessmentOutcomes.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Lists assessments, paginated.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Lists assessments, paginated.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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.assurance.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.assurance.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.assurance.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.assurance.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.assurance.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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.assurance.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.assurance.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.assurance.paginators.ListAssessmentsPublisher publisher = client.listAssessmentsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListAssessmentsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.assurance.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.assurance.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChatSessions

      default CompletableFuture<ListChatSessionsResponse> listChatSessions(ListChatSessionsRequest listChatSessionsRequest)

      Lists chat sessions for you in a governance environment.

      Parameters:
      listChatSessionsRequest -
      Returns:
      A Java Future containing the result of the ListChatSessions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChatSessions

      default CompletableFuture<ListChatSessionsResponse> listChatSessions(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest)

      Lists chat sessions for you in a governance environment.


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

      Parameters:
      listChatSessionsRequest - A Consumer that will call methods on ListChatSessionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListChatSessions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChatSessionsPaginator

      default ListChatSessionsPublisher listChatSessionsPaginator(ListChatSessionsRequest listChatSessionsRequest)

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

      Parameters:
      listChatSessionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listChatSessionsPaginator

      default ListChatSessionsPublisher listChatSessionsPaginator(Consumer<ListChatSessionsRequest.Builder> listChatSessionsRequest)

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


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

      Parameters:
      listChatSessionsRequest - A Consumer that will call methods on ListChatSessionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listComments

      default CompletableFuture<ListCommentsResponse> listComments(ListCommentsRequest listCommentsRequest)

      Lists the comments on a specific control, optionally narrowed to a task.

      Parameters:
      listCommentsRequest -
      Returns:
      A Java Future containing the result of the ListComments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listComments

      default CompletableFuture<ListCommentsResponse> listComments(Consumer<ListCommentsRequest.Builder> listCommentsRequest)

      Lists the comments on a specific control, optionally narrowed to a task.


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

      Parameters:
      listCommentsRequest - A Consumer that will call methods on ListCommentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListComments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCommentsPaginator

      default ListCommentsPublisher listCommentsPaginator(ListCommentsRequest listCommentsRequest)

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

      Parameters:
      listCommentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listCommentsPaginator

      default ListCommentsPublisher listCommentsPaginator(Consumer<ListCommentsRequest.Builder> listCommentsRequest)

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


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

      Parameters:
      listCommentsRequest - A Consumer that will call methods on ListCommentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectionItems

      default CompletableFuture<ListConnectionItemsResponse> listConnectionItems(ListConnectionItemsRequest listConnectionItemsRequest)

      Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL. The list contains only items that the connection is authorized to access. If more results are available, the response includes nextToken. To get the next page, call this operation again with that token.

      To list the top level, omit parentId. To list the contents of an item, such as a repository, site, library, or folder, specify its id. You can't list the contents of a FILE.

      Parameters:
      listConnectionItemsRequest -
      Returns:
      A Java Future containing the result of the ListConnectionItems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectionItems

      default CompletableFuture<ListConnectionItemsResponse> listConnectionItems(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest)

      Lists the items that a connection can access, one level at a time, to help you find a document without knowing its URL. The list contains only items that the connection is authorized to access. If more results are available, the response includes nextToken. To get the next page, call this operation again with that token.

      To list the top level, omit parentId. To list the contents of an item, such as a repository, site, library, or folder, specify its id. You can't list the contents of a FILE.


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

      Parameters:
      listConnectionItemsRequest - A Consumer that will call methods on ListConnectionItemsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListConnectionItems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectionItemsPaginator

      default ListConnectionItemsPublisher listConnectionItemsPaginator(ListConnectionItemsRequest listConnectionItemsRequest)

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

      Parameters:
      listConnectionItemsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listConnectionItemsPaginator

      default ListConnectionItemsPublisher listConnectionItemsPaginator(Consumer<ListConnectionItemsRequest.Builder> listConnectionItemsRequest)

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


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

      Parameters:
      listConnectionItemsRequest - A Consumer that will call methods on ListConnectionItemsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlGroups

      default CompletableFuture<ListControlGroupsResponse> listControlGroups(ListControlGroupsRequest listControlGroupsRequest)

      Lists the control groups in a framework version. Each entry is a summary without the group's child controls. To get the controls in a group, call ListControls with the group's controlId.

      Parameters:
      listControlGroupsRequest -
      Returns:
      A Java Future containing the result of the ListControlGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlGroups

      default CompletableFuture<ListControlGroupsResponse> listControlGroups(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest)

      Lists the control groups in a framework version. Each entry is a summary without the group's child controls. To get the controls in a group, call ListControls with the group's controlId.


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

      Parameters:
      listControlGroupsRequest - A Consumer that will call methods on ListControlGroupsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControlGroups operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlGroupsPaginator

      default ListControlGroupsPublisher listControlGroupsPaginator(ListControlGroupsRequest listControlGroupsRequest)

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

      Parameters:
      listControlGroupsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlGroupsPaginator

      default ListControlGroupsPublisher listControlGroupsPaginator(Consumer<ListControlGroupsRequest.Builder> listControlGroupsRequest)

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


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

      Parameters:
      listControlGroupsRequest - A Consumer that will call methods on ListControlGroupsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlResources

      default CompletableFuture<ListControlResourcesResponse> listControlResources(ListControlResourcesRequest listControlResourcesRequest)

      Lists the resources that are in scope for the automated evaluation of a control. If no resource types apply to the control, the list is empty.

      Parameters:
      listControlResourcesRequest -
      Returns:
      A Java Future containing the result of the ListControlResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlResources

      default CompletableFuture<ListControlResourcesResponse> listControlResources(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest)

      Lists the resources that are in scope for the automated evaluation of a control. If no resource types apply to the control, the list is empty.


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

      Parameters:
      listControlResourcesRequest - A Consumer that will call methods on ListControlResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListControlResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlResourcesPaginator

      default ListControlResourcesPublisher listControlResourcesPaginator(ListControlResourcesRequest listControlResourcesRequest)

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

      Parameters:
      listControlResourcesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listControlResourcesPaginator

      default ListControlResourcesPublisher listControlResourcesPaginator(Consumer<ListControlResourcesRequest.Builder> listControlResourcesRequest)

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


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

      Parameters:
      listControlResourcesRequest - A Consumer that will call methods on ListControlResourcesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Lists the leaf controls within a single control group in a framework version. Supports pagination through maxResults and nextToken.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Lists the leaf controls within a single control group in a framework version. Supports pagination through maxResults and nextToken.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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.assurance.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.assurance.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.assurance.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.assurance.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.assurance.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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.assurance.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.assurance.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.assurance.paginators.ListControlsPublisher publisher = client.listControlsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.assurance.model.ListControlsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.assurance.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.assurance.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredResources

      default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)

      Lists the resources that are in scope for an environment or project. Results are paginated. If more results are available, use the nextToken value returned in the response to retrieve the next page.

      Parameters:
      listDiscoveredResourcesRequest -
      Returns:
      A Java Future containing the result of the ListDiscoveredResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredResources

      default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)

      Lists the resources that are in scope for an environment or project. Results are paginated. If more results are available, use the nextToken value returned in the response to retrieve the next page.


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

      Parameters:
      listDiscoveredResourcesRequest - A Consumer that will call methods on ListDiscoveredResourcesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDiscoveredResources operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredResourcesPaginator

      default ListDiscoveredResourcesPublisher listDiscoveredResourcesPaginator(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)

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

      Parameters:
      listDiscoveredResourcesRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDiscoveredResourcesPaginator

      default ListDiscoveredResourcesPublisher listDiscoveredResourcesPaginator(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)

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


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

      Parameters:
      listDiscoveredResourcesRequest - A Consumer that will call methods on ListDiscoveredResourcesRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnabledFrameworks

      default CompletableFuture<ListEnabledFrameworksResponse> listEnabledFrameworks(ListEnabledFrameworksRequest listEnabledFrameworksRequest)

      Lists the frameworks enabled in a governance environment, optionally narrowed by filters.

      Parameters:
      listEnabledFrameworksRequest -
      Returns:
      A Java Future containing the result of the ListEnabledFrameworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnabledFrameworks

      default CompletableFuture<ListEnabledFrameworksResponse> listEnabledFrameworks(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest)

      Lists the frameworks enabled in a governance environment, optionally narrowed by filters.


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

      Parameters:
      listEnabledFrameworksRequest - A Consumer that will call methods on ListEnabledFrameworksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEnabledFrameworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnabledFrameworksPaginator

      default ListEnabledFrameworksPublisher listEnabledFrameworksPaginator(ListEnabledFrameworksRequest listEnabledFrameworksRequest)

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

      Parameters:
      listEnabledFrameworksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnabledFrameworksPaginator

      default ListEnabledFrameworksPublisher listEnabledFrameworksPaginator(Consumer<ListEnabledFrameworksRequest.Builder> listEnabledFrameworksRequest)

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


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

      Parameters:
      listEnabledFrameworksRequest - A Consumer that will call methods on ListEnabledFrameworksRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentConnections

      default CompletableFuture<ListEnvironmentConnectionsResponse> listEnvironmentConnections(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest)

      Lists the connections for a governance environment. To return only some connections, specify filters .

      Parameters:
      listEnvironmentConnectionsRequest -
      Returns:
      A Java Future containing the result of the ListEnvironmentConnections operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentConnections

      default CompletableFuture<ListEnvironmentConnectionsResponse> listEnvironmentConnections(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest)

      Lists the connections for a governance environment. To return only some connections, specify filters .


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

      Parameters:
      listEnvironmentConnectionsRequest - A Consumer that will call methods on ListEnvironmentConnectionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEnvironmentConnections operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentConnectionsPaginator

      default ListEnvironmentConnectionsPublisher listEnvironmentConnectionsPaginator(ListEnvironmentConnectionsRequest listEnvironmentConnectionsRequest)

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

      Parameters:
      listEnvironmentConnectionsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentConnectionsPaginator

      default ListEnvironmentConnectionsPublisher listEnvironmentConnectionsPaginator(Consumer<ListEnvironmentConnectionsRequest.Builder> listEnvironmentConnectionsRequest)

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


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

      Parameters:
      listEnvironmentConnectionsRequest - A Consumer that will call methods on ListEnvironmentConnectionsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironments

      default CompletableFuture<ListEnvironmentsResponse> listEnvironments(ListEnvironmentsRequest listEnvironmentsRequest)

      Lists your governance environments. If more results are available, the response includes a nextToken value. To get the next page, pass that value in your next request.

      Parameters:
      listEnvironmentsRequest -
      Returns:
      A Java Future containing the result of the ListEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironments

      default CompletableFuture<ListEnvironmentsResponse> listEnvironments(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)

      Lists your governance environments. If more results are available, the response includes a nextToken value. To get the next page, pass that value in your next request.


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

      Parameters:
      listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEnvironments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentsPaginator

      default ListEnvironmentsPublisher listEnvironmentsPaginator(ListEnvironmentsRequest listEnvironmentsRequest)

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

      Parameters:
      listEnvironmentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEnvironmentsPaginator

      default ListEnvironmentsPublisher listEnvironmentsPaginator(Consumer<ListEnvironmentsRequest.Builder> listEnvironmentsRequest)

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


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

      Parameters:
      listEnvironmentsRequest - A Consumer that will call methods on ListEnvironmentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidence

      default CompletableFuture<ListEvidenceResponse> listEvidence(ListEvidenceRequest listEvidenceRequest)

      Lists evidence items (paginated).

      Parameters:
      listEvidenceRequest -
      Returns:
      A Java Future containing the result of the ListEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidence

      default CompletableFuture<ListEvidenceResponse> listEvidence(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest)

      Lists evidence items (paginated).


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

      Parameters:
      listEvidenceRequest - A Consumer that will call methods on ListEvidenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidenceAnnotations

      default CompletableFuture<ListEvidenceAnnotationsResponse> listEvidenceAnnotations(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest)

      Lists the annotations on one version of a piece of evidence within a project, paginated.

      Parameters:
      listEvidenceAnnotationsRequest -
      Returns:
      A Java Future containing the result of the ListEvidenceAnnotations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidenceAnnotations

      default CompletableFuture<ListEvidenceAnnotationsResponse> listEvidenceAnnotations(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest)

      Lists the annotations on one version of a piece of evidence within a project, paginated.


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

      Parameters:
      listEvidenceAnnotationsRequest - A Consumer that will call methods on ListEvidenceAnnotationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListEvidenceAnnotations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidenceAnnotationsPaginator

      default ListEvidenceAnnotationsPublisher listEvidenceAnnotationsPaginator(ListEvidenceAnnotationsRequest listEvidenceAnnotationsRequest)

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

      Parameters:
      listEvidenceAnnotationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidenceAnnotationsPaginator

      default ListEvidenceAnnotationsPublisher listEvidenceAnnotationsPaginator(Consumer<ListEvidenceAnnotationsRequest.Builder> listEvidenceAnnotationsRequest)

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


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

      Parameters:
      listEvidenceAnnotationsRequest - A Consumer that will call methods on ListEvidenceAnnotationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidencePaginator

      default ListEvidencePublisher listEvidencePaginator(ListEvidenceRequest listEvidenceRequest)

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

      Parameters:
      listEvidenceRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listEvidencePaginator

      default ListEvidencePublisher listEvidencePaginator(Consumer<ListEvidenceRequest.Builder> listEvidenceRequest)

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


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

      Parameters:
      listEvidenceRequest - A Consumer that will call methods on ListEvidenceRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFrameworks

      default CompletableFuture<ListFrameworksResponse> listFrameworks(ListFrameworksRequest listFrameworksRequest)

      Lists frameworks by type, with optional pagination. When type is omitted, the operation returns both MANAGED and CUSTOM frameworks.

      Parameters:
      listFrameworksRequest -
      Returns:
      A Java Future containing the result of the ListFrameworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFrameworks

      default CompletableFuture<ListFrameworksResponse> listFrameworks(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest)

      Lists frameworks by type, with optional pagination. When type is omitted, the operation returns both MANAGED and CUSTOM frameworks.


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

      Parameters:
      listFrameworksRequest - A Consumer that will call methods on ListFrameworksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFrameworks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFrameworksPaginator

      default ListFrameworksPublisher listFrameworksPaginator(ListFrameworksRequest listFrameworksRequest)

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

      Parameters:
      listFrameworksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFrameworksPaginator

      default ListFrameworksPublisher listFrameworksPaginator(Consumer<ListFrameworksRequest.Builder> listFrameworksRequest)

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


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

      Parameters:
      listFrameworksRequest - A Consumer that will call methods on ListFrameworksRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInboundInvitations

      default CompletableFuture<ListInboundInvitationsResponse> listInboundInvitations(ListInboundInvitationsRequest listInboundInvitationsRequest)

      Lists the invitations addressed to your account, across all environments. This operation returns only the invitations sent to you. You can optionally filter by status.

      Parameters:
      listInboundInvitationsRequest -
      Returns:
      A Java Future containing the result of the ListInboundInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInboundInvitations

      default CompletableFuture<ListInboundInvitationsResponse> listInboundInvitations(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest)

      Lists the invitations addressed to your account, across all environments. This operation returns only the invitations sent to you. You can optionally filter by status.


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

      Parameters:
      listInboundInvitationsRequest - A Consumer that will call methods on ListInboundInvitationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListInboundInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInboundInvitationsPaginator

      default ListInboundInvitationsPublisher listInboundInvitationsPaginator(ListInboundInvitationsRequest listInboundInvitationsRequest)

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

      Parameters:
      listInboundInvitationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listInboundInvitationsPaginator

      default ListInboundInvitationsPublisher listInboundInvitationsPaginator(Consumer<ListInboundInvitationsRequest.Builder> listInboundInvitationsRequest)

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


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

      Parameters:
      listInboundInvitationsRequest - A Consumer that will call methods on ListInboundInvitationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutboundInvitations

      default CompletableFuture<ListOutboundInvitationsResponse> listOutboundInvitations(ListOutboundInvitationsRequest listOutboundInvitationsRequest)

      Lists the invitations that you extended from an environment you own. Supports pagination and an optional status filter.

      Parameters:
      listOutboundInvitationsRequest -
      Returns:
      A Java Future containing the result of the ListOutboundInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutboundInvitations

      default CompletableFuture<ListOutboundInvitationsResponse> listOutboundInvitations(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest)

      Lists the invitations that you extended from an environment you own. Supports pagination and an optional status filter.


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

      Parameters:
      listOutboundInvitationsRequest - A Consumer that will call methods on ListOutboundInvitationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListOutboundInvitations operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutboundInvitationsPaginator

      default ListOutboundInvitationsPublisher listOutboundInvitationsPaginator(ListOutboundInvitationsRequest listOutboundInvitationsRequest)

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

      Parameters:
      listOutboundInvitationsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listOutboundInvitationsPaginator

      default ListOutboundInvitationsPublisher listOutboundInvitationsPaginator(Consumer<ListOutboundInvitationsRequest.Builder> listOutboundInvitationsRequest)

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


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

      Parameters:
      listOutboundInvitationsRequest - A Consumer that will call methods on ListOutboundInvitationsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSetAssignments

      default CompletableFuture<ListPermissionSetAssignmentsResponse> listPermissionSetAssignments(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest)

      Lists permission set assignments for an environment.

      Parameters:
      listPermissionSetAssignmentsRequest -
      Returns:
      A Java Future containing the result of the ListPermissionSetAssignments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSetAssignments

      default CompletableFuture<ListPermissionSetAssignmentsResponse> listPermissionSetAssignments(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest)

      Lists permission set assignments for an environment.


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

      Parameters:
      listPermissionSetAssignmentsRequest - A Consumer that will call methods on ListPermissionSetAssignmentsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPermissionSetAssignments operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSetAssignmentsPaginator

      default ListPermissionSetAssignmentsPublisher listPermissionSetAssignmentsPaginator(ListPermissionSetAssignmentsRequest listPermissionSetAssignmentsRequest)

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

      Parameters:
      listPermissionSetAssignmentsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSetAssignmentsPaginator

      default ListPermissionSetAssignmentsPublisher listPermissionSetAssignmentsPaginator(Consumer<ListPermissionSetAssignmentsRequest.Builder> listPermissionSetAssignmentsRequest)

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


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

      Parameters:
      listPermissionSetAssignmentsRequest - A Consumer that will call methods on ListPermissionSetAssignmentsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSets

      default CompletableFuture<ListPermissionSetsResponse> listPermissionSets(ListPermissionSetsRequest listPermissionSetsRequest)

      Lists permission sets for an environment.

      Parameters:
      listPermissionSetsRequest -
      Returns:
      A Java Future containing the result of the ListPermissionSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSets

      default CompletableFuture<ListPermissionSetsResponse> listPermissionSets(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest)

      Lists permission sets for an environment.


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

      Parameters:
      listPermissionSetsRequest - A Consumer that will call methods on ListPermissionSetsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListPermissionSets operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSetsPaginator

      default ListPermissionSetsPublisher listPermissionSetsPaginator(ListPermissionSetsRequest listPermissionSetsRequest)

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

      Parameters:
      listPermissionSetsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listPermissionSetsPaginator

      default ListPermissionSetsPublisher listPermissionSetsPaginator(Consumer<ListPermissionSetsRequest.Builder> listPermissionSetsRequest)

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


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

      Parameters:
      listPermissionSetsRequest - A Consumer that will call methods on ListPermissionSetsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProjects

      default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)

      Lists all projects within a governance environment.

      Parameters:
      listProjectsRequest -
      Returns:
      A Java Future containing the result of the ListProjects operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProjects

      default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)

      Lists all projects within a governance environment.


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

      Parameters:
      listProjectsRequest - A Consumer that will call methods on ListProjectsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListProjects operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProjectsPaginator

      default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)

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

      Parameters:
      listProjectsRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProjectsPaginator

      default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)

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


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

      Parameters:
      listProjectsRequest - A Consumer that will call methods on ListProjectsRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Lists tags for a resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Lists tags for a resource.


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

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTaskHistory

      default CompletableFuture<ListTaskHistoryResponse> listTaskHistory(ListTaskHistoryRequest listTaskHistoryRequest)

      Lists task history across assessments for a given task, ordered by most recent first.

      Parameters:
      listTaskHistoryRequest -
      Returns:
      A Java Future containing the result of the ListTaskHistory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTaskHistory

      default CompletableFuture<ListTaskHistoryResponse> listTaskHistory(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest)

      Lists task history across assessments for a given task, ordered by most recent first.


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

      Parameters:
      listTaskHistoryRequest - A Consumer that will call methods on ListTaskHistoryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTaskHistory operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTaskHistoryPaginator

      default ListTaskHistoryPublisher listTaskHistoryPaginator(ListTaskHistoryRequest listTaskHistoryRequest)

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

      Parameters:
      listTaskHistoryRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTaskHistoryPaginator

      default ListTaskHistoryPublisher listTaskHistoryPaginator(Consumer<ListTaskHistoryRequest.Builder> listTaskHistoryRequest)

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


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

      Parameters:
      listTaskHistoryRequest - A Consumer that will call methods on ListTaskHistoryRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTasks

      default CompletableFuture<ListTasksResponse> listTasks(ListTasksRequest listTasksRequest)

      Lists all tasks within a governance environment.

      Parameters:
      listTasksRequest -
      Returns:
      A Java Future containing the result of the ListTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTasks

      default CompletableFuture<ListTasksResponse> listTasks(Consumer<ListTasksRequest.Builder> listTasksRequest)

      Lists all tasks within a governance environment.


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

      Parameters:
      listTasksRequest - A Consumer that will call methods on ListTasksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTasks operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTasksPaginator

      default ListTasksPublisher listTasksPaginator(ListTasksRequest listTasksRequest)

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

      Parameters:
      listTasksRequest -
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTasksPaginator

      default ListTasksPublisher listTasksPaginator(Consumer<ListTasksRequest.Builder> listTasksRequest)

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


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

      Parameters:
      listTasksRequest - A Consumer that will call methods on ListTasksRequest.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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • publishFramework

      default CompletableFuture<PublishFrameworkResponse> publishFramework(PublishFrameworkRequest publishFrameworkRequest)

      Publishes a custom framework, transitioning its status from PENDING to ACTIVE. You can enable only ACTIVE frameworks on an environment.

      Parameters:
      publishFrameworkRequest -
      Returns:
      A Java Future containing the result of the PublishFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • publishFramework

      default CompletableFuture<PublishFrameworkResponse> publishFramework(Consumer<PublishFrameworkRequest.Builder> publishFrameworkRequest)

      Publishes a custom framework, transitioning its status from PENDING to ACTIVE. You can enable only ACTIVE frameworks on an environment.


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

      Parameters:
      publishFrameworkRequest - A Consumer that will call methods on PublishFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the PublishFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putControlStatusOverride

      default CompletableFuture<PutControlStatusOverrideResponse> putControlStatusOverride(PutControlStatusOverrideRequest putControlStatusOverrideRequest)

      Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again. The decision applies only to the specified project and framework version, which must be enabled in the project.

      Marking a control or requirement not applicable cancels its open remediation tasks. Making it applicable again doesn't reopen them.

      If another request changes the same control at the same time, you receive a ConflictException. Call GetControlStatus before you retry.

      Parameters:
      putControlStatusOverrideRequest - Input for PutControlStatusOverride.
      Returns:
      A Java Future containing the result of the PutControlStatusOverride operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putControlStatusOverride

      default CompletableFuture<PutControlStatusOverrideResponse> putControlStatusOverride(Consumer<PutControlStatusOverrideRequest.Builder> putControlStatusOverrideRequest)

      Marks a control, or one of its requirements, as not applicable to a project, or makes it applicable again. The decision applies only to the specified project and framework version, which must be enabled in the project.

      Marking a control or requirement not applicable cancels its open remediation tasks. Making it applicable again doesn't reopen them.

      If another request changes the same control at the same time, you receive a ConflictException. Call GetControlStatus before you retry.


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

      Parameters:
      putControlStatusOverrideRequest - A Consumer that will call methods on PutControlStatusOverrideRequest.Builder to create a request. Input for PutControlStatusOverride.
      Returns:
      A Java Future containing the result of the PutControlStatusOverride operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putEvidence

      default CompletableFuture<PutEvidenceResponse> putEvidence(PutEvidenceRequest putEvidenceRequest)

      Adds evidence to support a compliance assessment. To add a new version of existing evidence, specify evidenceId.

      Provide either the file content in content or a link to the document in reference, but not both.

      Parameters:
      putEvidenceRequest - Input for PutEvidence.
      Returns:
      A Java Future containing the result of the PutEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • putEvidence

      default CompletableFuture<PutEvidenceResponse> putEvidence(Consumer<PutEvidenceRequest.Builder> putEvidenceRequest)

      Adds evidence to support a compliance assessment. To add a new version of existing evidence, specify evidenceId.

      Provide either the file content in content or a link to the document in reference, but not both.


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

      Parameters:
      putEvidenceRequest - A Consumer that will call methods on PutEvidenceRequest.Builder to create a request. Input for PutEvidence.
      Returns:
      A Java Future containing the result of the PutEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerOrganizationDelegatedAdmin

      default CompletableFuture<RegisterOrganizationDelegatedAdminResponse> registerOrganizationDelegatedAdmin(RegisterOrganizationDelegatedAdminRequest registerOrganizationDelegatedAdminRequest)

      Registers a member account of your organization as the delegated administrator for AWS Assurance. The delegated administrator can then manage organization-scoped environments together with the management account.

      Only the management account of the organization can call this operation.

      Parameters:
      registerOrganizationDelegatedAdminRequest -
      Returns:
      A Java Future containing the result of the RegisterOrganizationDelegatedAdmin operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerOrganizationDelegatedAdmin

      default CompletableFuture<RegisterOrganizationDelegatedAdminResponse> registerOrganizationDelegatedAdmin(Consumer<RegisterOrganizationDelegatedAdminRequest.Builder> registerOrganizationDelegatedAdminRequest)

      Registers a member account of your organization as the delegated administrator for AWS Assurance. The delegated administrator can then manage organization-scoped environments together with the management account.

      Only the management account of the organization can call this operation.


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

      Parameters:
      registerOrganizationDelegatedAdminRequest - A Consumer that will call methods on RegisterOrganizationDelegatedAdminRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterOrganizationDelegatedAdmin operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectInvitation

      default CompletableFuture<RejectInvitationResponse> rejectInvitation(RejectInvitationRequest rejectInvitationRequest)

      Rejects (declines) a pending invitation. Call this operation from the invited account. This operation is idempotent—re-rejecting an already REJECTED invitation has no effect.

      Parameters:
      rejectInvitationRequest -
      Returns:
      A Java Future containing the result of the RejectInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectInvitation

      default CompletableFuture<RejectInvitationResponse> rejectInvitation(Consumer<RejectInvitationRequest.Builder> rejectInvitationRequest)

      Rejects (declines) a pending invitation. Call this operation from the invited account. This operation is idempotent—re-rejecting an already REJECTED invitation has no effect.


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

      Parameters:
      rejectInvitationRequest - A Consumer that will call methods on RejectInvitationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RejectInvitation operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokePermissionSet

      default CompletableFuture<RevokePermissionSetResponse> revokePermissionSet(RevokePermissionSetRequest revokePermissionSetRequest)

      Revokes a permission set assignment.

      Parameters:
      revokePermissionSetRequest -
      Returns:
      A Java Future containing the result of the RevokePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • revokePermissionSet

      default CompletableFuture<RevokePermissionSetResponse> revokePermissionSet(Consumer<RevokePermissionSetRequest.Builder> revokePermissionSetRequest)

      Revokes a permission set assignment.


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

      Parameters:
      revokePermissionSetRequest - A Consumer that will call methods on RevokePermissionSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RevokePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAssessment

      default CompletableFuture<StartAssessmentResponse> startAssessment(StartAssessmentRequest startAssessmentRequest)

      Begins a new assessment for a control or framework.

      Parameters:
      startAssessmentRequest -
      Returns:
      A Java Future containing the result of the StartAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAssessment

      default CompletableFuture<StartAssessmentResponse> startAssessment(Consumer<StartAssessmentRequest.Builder> startAssessmentRequest)

      Begins a new assessment for a control or framework.


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

      Parameters:
      startAssessmentRequest - A Consumer that will call methods on StartAssessmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartAssessment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAssessmentReportExport

      default CompletableFuture<StartAssessmentReportExportResponse> startAssessmentReportExport(StartAssessmentReportExportRequest startAssessmentReportExportRequest)

      Starts preparing an assessment report for a framework in a project. To check progress, call GetAssessmentReportExport until the export status is COMPLETED. Then call GetAssessmentReportContent to get the report.

      If an export for the same scope is already in progress, this operation returns the identifier of that export instead of starting a new one.

      Parameters:
      startAssessmentReportExportRequest - Input for StartAssessmentReportExport.
      Returns:
      A Java Future containing the result of the StartAssessmentReportExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startAssessmentReportExport

      default CompletableFuture<StartAssessmentReportExportResponse> startAssessmentReportExport(Consumer<StartAssessmentReportExportRequest.Builder> startAssessmentReportExportRequest)

      Starts preparing an assessment report for a framework in a project. To check progress, call GetAssessmentReportExport until the export status is COMPLETED. Then call GetAssessmentReportContent to get the report.

      If an export for the same scope is already in progress, this operation returns the identifier of that export instead of starting a new one.


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

      Parameters:
      startAssessmentReportExportRequest - A Consumer that will call methods on StartAssessmentReportExportRequest.Builder to create a request. Input for StartAssessmentReportExport.
      Returns:
      A Java Future containing the result of the StartAssessmentReportExport operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startResourceActivitiesQuery

      default CompletableFuture<StartResourceActivitiesQueryResponse> startResourceActivitiesQuery(StartResourceActivitiesQueryRequest startResourceActivitiesQueryRequest)

      Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made. Use the results to audit which resources the agent touched in your account. Returns a query ID. To check the status of the query and get its results, call GetResourceActivitiesQueryResults.

      The agent runtime that you query must be in your AWS account.

      Parameters:
      startResourceActivitiesQueryRequest -
      Returns:
      A Java Future containing the result of the StartResourceActivitiesQuery operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • startResourceActivitiesQuery

      default CompletableFuture<StartResourceActivitiesQueryResponse> startResourceActivitiesQuery(Consumer<StartResourceActivitiesQueryRequest.Builder> startResourceActivitiesQueryRequest)

      Starts a query of the AWS API calls that an artificial intelligence (AI) agent on Amazon Bedrock AgentCore Runtime made. Use the results to audit which resources the agent touched in your account. Returns a query ID. To check the status of the query and get its results, call GetResourceActivitiesQueryResults.

      The agent runtime that you query must be in your AWS account.


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

      Parameters:
      startResourceActivitiesQueryRequest - A Consumer that will call methods on StartResourceActivitiesQueryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the StartResourceActivitiesQuery operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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)

      Adds or overwrites tags on a resource.

      Parameters:
      tagResourceRequest -
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • tagResource

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

      Adds or overwrites tags on a resource.


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

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the TagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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 tags from a resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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 tags from a resource.


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

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateComment

      default CompletableFuture<UpdateCommentResponse> updateComment(UpdateCommentRequest updateCommentRequest)

      Modifies the content of an existing comment.

      Parameters:
      updateCommentRequest -
      Returns:
      A Java Future containing the result of the UpdateComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateComment

      default CompletableFuture<UpdateCommentResponse> updateComment(Consumer<UpdateCommentRequest.Builder> updateCommentRequest)

      Modifies the content of an existing comment.


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

      Parameters:
      updateCommentRequest - A Consumer that will call methods on UpdateCommentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateComment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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. Supply only the fields you want to change; the operation leaves omitted fields unchanged.

      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException 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. Supply only the fields you want to change; the operation leaves omitted fields unchanged.


      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateControlGroup

      default CompletableFuture<UpdateControlGroupResponse> updateControlGroup(UpdateControlGroupRequest updateControlGroupRequest)

      Updates a control group.

      Parameters:
      updateControlGroupRequest -
      Returns:
      A Java Future containing the result of the UpdateControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateControlGroup

      default CompletableFuture<UpdateControlGroupResponse> updateControlGroup(Consumer<UpdateControlGroupRequest.Builder> updateControlGroupRequest)

      Updates a control group.


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

      Parameters:
      updateControlGroupRequest - A Consumer that will call methods on UpdateControlGroupRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateControlGroup operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEnvironment

      default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(UpdateEnvironmentRequest updateEnvironmentRequest)

      Updates a governance environment.

      Parameters:
      updateEnvironmentRequest -
      Returns:
      A Java Future containing the result of the UpdateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEnvironment

      default CompletableFuture<UpdateEnvironmentResponse> updateEnvironment(Consumer<UpdateEnvironmentRequest.Builder> updateEnvironmentRequest)

      Updates a governance environment.


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

      Parameters:
      updateEnvironmentRequest - A Consumer that will call methods on UpdateEnvironmentRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateEnvironment operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEvidence

      default CompletableFuture<UpdateEvidenceResponse> updateEvidence(UpdateEvidenceRequest updateEvidenceRequest)

      Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.

      Parameters:
      updateEvidenceRequest -
      Returns:
      A Java Future containing the result of the UpdateEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateEvidence

      default CompletableFuture<UpdateEvidenceResponse> updateEvidence(Consumer<UpdateEvidenceRequest.Builder> updateEvidenceRequest)

      Updates evidence metadata and manages control links (add or remove) and re-analysis without creating a new evidence version.


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

      Parameters:
      updateEvidenceRequest - A Consumer that will call methods on UpdateEvidenceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateEvidence operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFramework

      default CompletableFuture<UpdateFrameworkResponse> updateFramework(UpdateFrameworkRequest updateFrameworkRequest)

      Updates the title or description of a custom framework. You cannot change its name or version. You can update only custom frameworks; managed frameworks are read-only.

      Parameters:
      updateFrameworkRequest -
      Returns:
      A Java Future containing the result of the UpdateFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateFramework

      default CompletableFuture<UpdateFrameworkResponse> updateFramework(Consumer<UpdateFrameworkRequest.Builder> updateFrameworkRequest)

      Updates the title or description of a custom framework. You cannot change its name or version. You can update only custom frameworks; managed frameworks are read-only.


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

      Parameters:
      updateFrameworkRequest - A Consumer that will call methods on UpdateFrameworkRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateFramework operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePermissionSet

      default CompletableFuture<UpdatePermissionSetResponse> updatePermissionSet(UpdatePermissionSetRequest updatePermissionSetRequest)

      Updates an existing permission set. Omitted fields are left unchanged. Returns no content; retrieve the updated attributes with GetPermissionSet.

      Parameters:
      updatePermissionSetRequest -
      Returns:
      A Java Future containing the result of the UpdatePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updatePermissionSet

      default CompletableFuture<UpdatePermissionSetResponse> updatePermissionSet(Consumer<UpdatePermissionSetRequest.Builder> updatePermissionSetRequest)

      Updates an existing permission set. Omitted fields are left unchanged. Returns no content; retrieve the updated attributes with GetPermissionSet.


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

      Parameters:
      updatePermissionSetRequest - A Consumer that will call methods on UpdatePermissionSetRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdatePermissionSet operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProject

      default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest)

      Updates an existing project. Omit any field to leave it unchanged.

      Parameters:
      updateProjectRequest -
      Returns:
      A Java Future containing the result of the UpdateProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProject

      default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)

      Updates an existing project. Omit any field to leave it unchanged.


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

      Parameters:
      updateProjectRequest - A Consumer that will call methods on UpdateProjectRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateProject operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateTask

      default CompletableFuture<UpdateTaskResponse> updateTask(UpdateTaskRequest updateTaskRequest)

      Updates an existing task.

      Parameters:
      updateTaskRequest -
      Returns:
      A Java Future containing the result of the UpdateTask operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateTask

      default CompletableFuture<UpdateTaskResponse> updateTask(Consumer<UpdateTaskRequest.Builder> updateTaskRequest)

      Updates an existing task.


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

      Parameters:
      updateTaskRequest - A Consumer that will call methods on UpdateTaskRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateTask operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ConflictException A conflict occurred (for example, resource already exists).
      • ValidationException The request failed validation.
      • InternalServerException An internal server error occurred.
      • ThrottlingException The request was throttled.
      • AccessDeniedException You do not have sufficient access to perform this action. This error occurs when the request is unauthenticated, or is authenticated but lacks permission to invoke the operation.
      • ResourceNotFoundException The requested resource was not 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.
      • AssuranceException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default AssuranceServiceClientConfiguration 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 AssuranceAsyncClient create()
      Create a AssuranceAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static AssuranceAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a AssuranceAsyncClient.