Interface NovaActAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface NovaActAsyncClient extends AwsClient
Service client for accessing Nova Act Service 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.

The Nova Act service provides a REST API for managing AI-powered workflow automation. It enables users to create workflow definitions, execute workflow runs, manage sessions, and orchestrate acts (individual AI tasks) with tool integrations.

  • Field Details

  • Method Details

    • createAct

      default CompletableFuture<CreateActResponse> createAct(CreateActRequest createActRequest)

      Creates a new AI task (act) within a session that can interact with tools and perform specific actions.

      Parameters:
      createActRequest -
      Returns:
      A Java Future containing the result of the CreateAct 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createAct

      default CompletableFuture<CreateActResponse> createAct(Consumer<CreateActRequest.Builder> createActRequest)

      Creates a new AI task (act) within a session that can interact with tools and perform specific actions.


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

      Parameters:
      createActRequest - A Consumer that will call methods on CreateActRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateAct 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSession

      default CompletableFuture<CreateSessionResponse> createSession(CreateSessionRequest createSessionRequest)

      Creates a new session context within a workflow run to manage conversation state and acts.

      Parameters:
      createSessionRequest -
      Returns:
      A Java Future containing the result of the CreateSession 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createSession

      default CompletableFuture<CreateSessionResponse> createSession(Consumer<CreateSessionRequest.Builder> createSessionRequest)

      Creates a new session context within a workflow run to manage conversation state and acts.


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

      Parameters:
      createSessionRequest - A Consumer that will call methods on CreateSessionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateSession 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkflowDefinition

      default CompletableFuture<CreateWorkflowDefinitionResponse> createWorkflowDefinition(CreateWorkflowDefinitionRequest createWorkflowDefinitionRequest)

      Creates a new workflow definition template that can be used to execute multiple workflow runs.

      Parameters:
      createWorkflowDefinitionRequest -
      Returns:
      A Java Future containing the result of the CreateWorkflowDefinition 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkflowDefinition

      default CompletableFuture<CreateWorkflowDefinitionResponse> createWorkflowDefinition(Consumer<CreateWorkflowDefinitionRequest.Builder> createWorkflowDefinitionRequest)

      Creates a new workflow definition template that can be used to execute multiple workflow runs.


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

      Parameters:
      createWorkflowDefinitionRequest - A Consumer that will call methods on CreateWorkflowDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateWorkflowDefinition 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkflowRun

      default CompletableFuture<CreateWorkflowRunResponse> createWorkflowRun(CreateWorkflowRunRequest createWorkflowRunRequest)

      Creates a new execution instance of a workflow definition with specified parameters.

      Parameters:
      createWorkflowRunRequest -
      Returns:
      A Java Future containing the result of the CreateWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createWorkflowRun

      default CompletableFuture<CreateWorkflowRunResponse> createWorkflowRun(Consumer<CreateWorkflowRunRequest.Builder> createWorkflowRunRequest)

      Creates a new execution instance of a workflow definition with specified parameters.


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

      Parameters:
      createWorkflowRunRequest - A Consumer that will call methods on CreateWorkflowRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkflowDefinition

      default CompletableFuture<DeleteWorkflowDefinitionResponse> deleteWorkflowDefinition(DeleteWorkflowDefinitionRequest deleteWorkflowDefinitionRequest)

      Deletes a workflow definition and all associated resources. This operation cannot be undone.

      Parameters:
      deleteWorkflowDefinitionRequest -
      Returns:
      A Java Future containing the result of the DeleteWorkflowDefinition 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkflowDefinition

      default CompletableFuture<DeleteWorkflowDefinitionResponse> deleteWorkflowDefinition(Consumer<DeleteWorkflowDefinitionRequest.Builder> deleteWorkflowDefinitionRequest)

      Deletes a workflow definition and all associated resources. This operation cannot be undone.


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

      Parameters:
      deleteWorkflowDefinitionRequest - A Consumer that will call methods on DeleteWorkflowDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteWorkflowDefinition 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkflowRun

      default CompletableFuture<DeleteWorkflowRunResponse> deleteWorkflowRun(DeleteWorkflowRunRequest deleteWorkflowRunRequest)

      Terminates and cleans up a workflow run, stopping all associated acts and sessions.

      Parameters:
      deleteWorkflowRunRequest -
      Returns:
      A Java Future containing the result of the DeleteWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteWorkflowRun

      default CompletableFuture<DeleteWorkflowRunResponse> deleteWorkflowRun(Consumer<DeleteWorkflowRunRequest.Builder> deleteWorkflowRunRequest)

      Terminates and cleans up a workflow run, stopping all associated acts and sessions.


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

      Parameters:
      deleteWorkflowRunRequest - A Consumer that will call methods on DeleteWorkflowRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkflowDefinition

      default CompletableFuture<GetWorkflowDefinitionResponse> getWorkflowDefinition(GetWorkflowDefinitionRequest getWorkflowDefinitionRequest)

      Retrieves the details and configuration of a specific workflow definition.

      Parameters:
      getWorkflowDefinitionRequest -
      Returns:
      A Java Future containing the result of the GetWorkflowDefinition 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkflowDefinition

      default CompletableFuture<GetWorkflowDefinitionResponse> getWorkflowDefinition(Consumer<GetWorkflowDefinitionRequest.Builder> getWorkflowDefinitionRequest)

      Retrieves the details and configuration of a specific workflow definition.


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

      Parameters:
      getWorkflowDefinitionRequest - A Consumer that will call methods on GetWorkflowDefinitionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetWorkflowDefinition 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkflowRun

      default CompletableFuture<GetWorkflowRunResponse> getWorkflowRun(GetWorkflowRunRequest getWorkflowRunRequest)

      Retrieves the current state, configuration, and execution details of a workflow run.

      Parameters:
      getWorkflowRunRequest -
      Returns:
      A Java Future containing the result of the GetWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getWorkflowRun

      default CompletableFuture<GetWorkflowRunResponse> getWorkflowRun(Consumer<GetWorkflowRunRequest.Builder> getWorkflowRunRequest)

      Retrieves the current state, configuration, and execution details of a workflow run.


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

      Parameters:
      getWorkflowRunRequest - A Consumer that will call methods on GetWorkflowRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • invokeActStep

      default CompletableFuture<InvokeActStepResponse> invokeActStep(InvokeActStepRequest invokeActStepRequest)

      Executes the next step of an act, processing tool call results and returning new tool calls if needed.

      Parameters:
      invokeActStepRequest -
      Returns:
      A Java Future containing the result of the InvokeActStep 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • invokeActStep

      default CompletableFuture<InvokeActStepResponse> invokeActStep(Consumer<InvokeActStepRequest.Builder> invokeActStepRequest)

      Executes the next step of an act, processing tool call results and returning new tool calls if needed.


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

      Parameters:
      invokeActStepRequest - A Consumer that will call methods on InvokeActStepRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the InvokeActStep 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 limit.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listActs

      default CompletableFuture<ListActsResponse> listActs(ListActsRequest listActsRequest)

      Lists all acts within a specific session with their current status and execution details.

      Parameters:
      listActsRequest -
      Returns:
      A Java Future containing the result of the ListActs 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listActs

      Lists all acts within a specific session with their current status and execution details.


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

      Parameters:
      listActsRequest - A Consumer that will call methods on ListActsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListActs 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listActsPaginator

      default ListActsPublisher listActsPaginator(ListActsRequest listActsRequest)

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

      Parameters:
      listActsRequest -
      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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listActsPaginator

      default ListActsPublisher listActsPaginator(Consumer<ListActsRequest.Builder> listActsRequest)

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


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

      Parameters:
      listActsRequest - A Consumer that will call methods on ListActsRequest.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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listModels

      default CompletableFuture<ListModelsResponse> listModels(ListModelsRequest listModelsRequest)

      Lists all available AI models that can be used for workflow execution, including their status and compatibility information.

      Parameters:
      listModelsRequest -
      Returns:
      A Java Future containing the result of the ListModels 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listModels

      default CompletableFuture<ListModelsResponse> listModels(Consumer<ListModelsRequest.Builder> listModelsRequest)

      Lists all available AI models that can be used for workflow execution, including their status and compatibility information.


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

      Parameters:
      listModelsRequest - A Consumer that will call methods on ListModelsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListModels 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessions

      default CompletableFuture<ListSessionsResponse> listSessions(ListSessionsRequest listSessionsRequest)

      Lists all sessions within a specific workflow run.

      Parameters:
      listSessionsRequest -
      Returns:
      A Java Future containing the result of the ListSessions 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessions

      default CompletableFuture<ListSessionsResponse> listSessions(Consumer<ListSessionsRequest.Builder> listSessionsRequest)

      Lists all sessions within a specific workflow run.


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

      Parameters:
      listSessionsRequest - A Consumer that will call methods on ListSessionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListSessions 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionsPaginator

      default ListSessionsPublisher listSessionsPaginator(ListSessionsRequest listSessionsRequest)

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

      Parameters:
      listSessionsRequest -
      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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listSessionsPaginator

      default ListSessionsPublisher listSessionsPaginator(Consumer<ListSessionsRequest.Builder> listSessionsRequest)

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


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

      Parameters:
      listSessionsRequest - A Consumer that will call methods on ListSessionsRequest.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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowDefinitions

      default CompletableFuture<ListWorkflowDefinitionsResponse> listWorkflowDefinitions(ListWorkflowDefinitionsRequest listWorkflowDefinitionsRequest)

      Lists all workflow definitions in your account with optional filtering and pagination.

      Parameters:
      listWorkflowDefinitionsRequest -
      Returns:
      A Java Future containing the result of the ListWorkflowDefinitions 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowDefinitions

      default CompletableFuture<ListWorkflowDefinitionsResponse> listWorkflowDefinitions(Consumer<ListWorkflowDefinitionsRequest.Builder> listWorkflowDefinitionsRequest)

      Lists all workflow definitions in your account with optional filtering and pagination.


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

      Parameters:
      listWorkflowDefinitionsRequest - A Consumer that will call methods on ListWorkflowDefinitionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListWorkflowDefinitions 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowDefinitionsPaginator

      default ListWorkflowDefinitionsPublisher listWorkflowDefinitionsPaginator(ListWorkflowDefinitionsRequest listWorkflowDefinitionsRequest)

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

      Parameters:
      listWorkflowDefinitionsRequest -
      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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowDefinitionsPaginator

      default ListWorkflowDefinitionsPublisher listWorkflowDefinitionsPaginator(Consumer<ListWorkflowDefinitionsRequest.Builder> listWorkflowDefinitionsRequest)

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


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

      Parameters:
      listWorkflowDefinitionsRequest - A Consumer that will call methods on ListWorkflowDefinitionsRequest.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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowRuns

      default CompletableFuture<ListWorkflowRunsResponse> listWorkflowRuns(ListWorkflowRunsRequest listWorkflowRunsRequest)

      Lists all workflow runs for a specific workflow definition with optional filtering and pagination.

      Parameters:
      listWorkflowRunsRequest -
      Returns:
      A Java Future containing the result of the ListWorkflowRuns 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowRuns

      default CompletableFuture<ListWorkflowRunsResponse> listWorkflowRuns(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest)

      Lists all workflow runs for a specific workflow definition with optional filtering and pagination.


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

      Parameters:
      listWorkflowRunsRequest - A Consumer that will call methods on ListWorkflowRunsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListWorkflowRuns 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowRunsPaginator

      default ListWorkflowRunsPublisher listWorkflowRunsPaginator(ListWorkflowRunsRequest listWorkflowRunsRequest)

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

      Parameters:
      listWorkflowRunsRequest -
      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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listWorkflowRunsPaginator

      default ListWorkflowRunsPublisher listWorkflowRunsPaginator(Consumer<ListWorkflowRunsRequest.Builder> listWorkflowRunsRequest)

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


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

      Parameters:
      listWorkflowRunsRequest - A Consumer that will call methods on ListWorkflowRunsRequest.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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • ResourceNotFoundException The requested resource was not found.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAct

      default CompletableFuture<UpdateActResponse> updateAct(UpdateActRequest updateActRequest)

      Updates an existing act's configuration, status, or error information.

      Parameters:
      updateActRequest -
      Returns:
      A Java Future containing the result of the UpdateAct 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateAct

      default CompletableFuture<UpdateActResponse> updateAct(Consumer<UpdateActRequest.Builder> updateActRequest)

      Updates an existing act's configuration, status, or error information.


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

      Parameters:
      updateActRequest - A Consumer that will call methods on UpdateActRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateAct 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkflowRun

      default CompletableFuture<UpdateWorkflowRunResponse> updateWorkflowRun(UpdateWorkflowRunRequest updateWorkflowRunRequest)

      Updates the configuration or state of an active workflow run.

      Parameters:
      updateWorkflowRunRequest -
      Returns:
      A Java Future containing the result of the UpdateWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateWorkflowRun

      default CompletableFuture<UpdateWorkflowRunResponse> updateWorkflowRun(Consumer<UpdateWorkflowRunRequest.Builder> updateWorkflowRunRequest)

      Updates the configuration or state of an active workflow run.


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

      Parameters:
      updateWorkflowRunRequest - A Consumer that will call methods on UpdateWorkflowRunRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateWorkflowRun 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.
      • AccessDeniedException You don't have sufficient permissions to perform this action.
      • ConflictException The request could not be completed due to a conflict with the current state of the resource.
      • ResourceNotFoundException The requested resource was not found.
      • ThrottlingException The request was throttled due to too many requests. Please try again later.
      • InternalServerException An internal server error occurred. Please try again later.
      • ValidationException The input parameters for the request are invalid.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • NovaActException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

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

      static NovaActAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a NovaActAsyncClient.