Interface MigrationHubOrchestratorAsyncClient

  • All Superinterfaces:
    AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

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

    This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Migration Hub Orchestrator. he topic for each action shows the API request parameters and the response. Alternatively, you can use one of the AWS SDKs to access an API that is tailored to the programming language or platform that you're using.

    • Method Detail

      • createWorkflow

        default CompletableFuture<CreateWorkflowResponse> createWorkflow​(CreateWorkflowRequest createWorkflowRequest)

        Create a workflow to orchestrate your migrations.

        Parameters:
        createWorkflowRequest -
        Returns:
        A Java Future containing the result of the CreateWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWorkflow

        default CompletableFuture<CreateWorkflowResponse> createWorkflow​(Consumer<CreateWorkflowRequest.Builder> createWorkflowRequest)

        Create a workflow to orchestrate your migrations.


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

        Parameters:
        createWorkflowRequest - A Consumer that will call methods on CreateWorkflowRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWorkflowStep

        default CompletableFuture<CreateWorkflowStepResponse> createWorkflowStep​(CreateWorkflowStepRequest createWorkflowStepRequest)

        Create a step in the migration workflow.

        Parameters:
        createWorkflowStepRequest -
        Returns:
        A Java Future containing the result of the CreateWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWorkflowStep

        default CompletableFuture<CreateWorkflowStepResponse> createWorkflowStep​(Consumer<CreateWorkflowStepRequest.Builder> createWorkflowStepRequest)

        Create a step in the migration workflow.


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

        Parameters:
        createWorkflowStepRequest - A Consumer that will call methods on CreateWorkflowStepRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWorkflowStepGroup

        default CompletableFuture<CreateWorkflowStepGroupResponse> createWorkflowStepGroup​(CreateWorkflowStepGroupRequest createWorkflowStepGroupRequest)

        Create a step group in a migration workflow.

        Parameters:
        createWorkflowStepGroupRequest -
        Returns:
        A Java Future containing the result of the CreateWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • createWorkflowStepGroup

        default CompletableFuture<CreateWorkflowStepGroupResponse> createWorkflowStepGroup​(Consumer<CreateWorkflowStepGroupRequest.Builder> createWorkflowStepGroupRequest)

        Create a step group in a migration workflow.


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

        Parameters:
        createWorkflowStepGroupRequest - A Consumer that will call methods on CreateWorkflowStepGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the CreateWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWorkflow

        default CompletableFuture<DeleteWorkflowResponse> deleteWorkflow​(DeleteWorkflowRequest deleteWorkflowRequest)

        Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to delete it.

        Parameters:
        deleteWorkflowRequest -
        Returns:
        A Java Future containing the result of the DeleteWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWorkflow

        default CompletableFuture<DeleteWorkflowResponse> deleteWorkflow​(Consumer<DeleteWorkflowRequest.Builder> deleteWorkflowRequest)

        Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator console to delete it.


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

        Parameters:
        deleteWorkflowRequest - A Consumer that will call methods on DeleteWorkflowRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWorkflowStep

        default CompletableFuture<DeleteWorkflowStepResponse> deleteWorkflowStep​(DeleteWorkflowStepRequest deleteWorkflowStepRequest)

        Delete a step in a migration workflow. Pause the workflow to delete a running step.

        Parameters:
        deleteWorkflowStepRequest -
        Returns:
        A Java Future containing the result of the DeleteWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWorkflowStep

        default CompletableFuture<DeleteWorkflowStepResponse> deleteWorkflowStep​(Consumer<DeleteWorkflowStepRequest.Builder> deleteWorkflowStepRequest)

        Delete a step in a migration workflow. Pause the workflow to delete a running step.


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

        Parameters:
        deleteWorkflowStepRequest - A Consumer that will call methods on DeleteWorkflowStepRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWorkflowStepGroup

        default CompletableFuture<DeleteWorkflowStepGroupResponse> deleteWorkflowStepGroup​(DeleteWorkflowStepGroupRequest deleteWorkflowStepGroupRequest)

        Delete a step group in a migration workflow.

        Parameters:
        deleteWorkflowStepGroupRequest -
        Returns:
        A Java Future containing the result of the DeleteWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • deleteWorkflowStepGroup

        default CompletableFuture<DeleteWorkflowStepGroupResponse> deleteWorkflowStepGroup​(Consumer<DeleteWorkflowStepGroupRequest.Builder> deleteWorkflowStepGroupRequest)

        Delete a step group in a migration workflow.


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

        Parameters:
        deleteWorkflowStepGroupRequest - A Consumer that will call methods on DeleteWorkflowStepGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the DeleteWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTemplate

        default CompletableFuture<GetTemplateResponse> getTemplate​(GetTemplateRequest getTemplateRequest)

        Get the template you want to use for creating a migration workflow.

        Parameters:
        getTemplateRequest -
        Returns:
        A Java Future containing the result of the GetTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTemplate

        default CompletableFuture<GetTemplateResponse> getTemplate​(Consumer<GetTemplateRequest.Builder> getTemplateRequest)

        Get the template you want to use for creating a migration workflow.


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

        Parameters:
        getTemplateRequest - A Consumer that will call methods on GetTemplateRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetTemplate operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTemplateStep

        default CompletableFuture<GetTemplateStepResponse> getTemplateStep​(GetTemplateStepRequest getTemplateStepRequest)

        Get a specific step in a template.

        Parameters:
        getTemplateStepRequest -
        Returns:
        A Java Future containing the result of the GetTemplateStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTemplateStep

        default CompletableFuture<GetTemplateStepResponse> getTemplateStep​(Consumer<GetTemplateStepRequest.Builder> getTemplateStepRequest)

        Get a specific step in a template.


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

        Parameters:
        getTemplateStepRequest - A Consumer that will call methods on GetTemplateStepRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetTemplateStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTemplateStepGroup

        default CompletableFuture<GetTemplateStepGroupResponse> getTemplateStepGroup​(GetTemplateStepGroupRequest getTemplateStepGroupRequest)

        Get a step group in a template.

        Parameters:
        getTemplateStepGroupRequest -
        Returns:
        A Java Future containing the result of the GetTemplateStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getTemplateStepGroup

        default CompletableFuture<GetTemplateStepGroupResponse> getTemplateStepGroup​(Consumer<GetTemplateStepGroupRequest.Builder> getTemplateStepGroupRequest)

        Get a step group in a template.


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

        Parameters:
        getTemplateStepGroupRequest - A Consumer that will call methods on GetTemplateStepGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetTemplateStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getWorkflow

        default CompletableFuture<GetWorkflowResponse> getWorkflow​(GetWorkflowRequest getWorkflowRequest)

        Get migration workflow.

        Parameters:
        getWorkflowRequest -
        Returns:
        A Java Future containing the result of the GetWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getWorkflow

        default CompletableFuture<GetWorkflowResponse> getWorkflow​(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest)

        Get migration workflow.


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

        Parameters:
        getWorkflowRequest - A Consumer that will call methods on GetWorkflowRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getWorkflowStep

        default CompletableFuture<GetWorkflowStepResponse> getWorkflowStep​(GetWorkflowStepRequest getWorkflowStepRequest)

        Get a step in the migration workflow.

        Parameters:
        getWorkflowStepRequest -
        Returns:
        A Java Future containing the result of the GetWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getWorkflowStep

        default CompletableFuture<GetWorkflowStepResponse> getWorkflowStep​(Consumer<GetWorkflowStepRequest.Builder> getWorkflowStepRequest)

        Get a step in the migration workflow.


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

        Parameters:
        getWorkflowStepRequest - A Consumer that will call methods on GetWorkflowStepRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getWorkflowStepGroup

        default CompletableFuture<GetWorkflowStepGroupResponse> getWorkflowStepGroup​(GetWorkflowStepGroupRequest getWorkflowStepGroupRequest)

        Get the step group of a migration workflow.

        Parameters:
        getWorkflowStepGroupRequest -
        Returns:
        A Java Future containing the result of the GetWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • getWorkflowStepGroup

        default CompletableFuture<GetWorkflowStepGroupResponse> getWorkflowStepGroup​(Consumer<GetWorkflowStepGroupRequest.Builder> getWorkflowStepGroupRequest)

        Get the step group of a migration workflow.


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

        Parameters:
        getWorkflowStepGroupRequest - A Consumer that will call methods on GetWorkflowStepGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the GetWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPlugins

        default CompletableFuture<ListPluginsResponse> listPlugins​(ListPluginsRequest listPluginsRequest)

        List AWS Migration Hub Orchestrator plugins.

        Parameters:
        listPluginsRequest -
        Returns:
        A Java Future containing the result of the ListPlugins operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPlugins

        default CompletableFuture<ListPluginsResponse> listPlugins​(Consumer<ListPluginsRequest.Builder> listPluginsRequest)

        List AWS Migration Hub Orchestrator plugins.


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

        Parameters:
        listPluginsRequest - A Consumer that will call methods on ListPluginsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListPlugins operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPluginsPaginator

        default ListPluginsPublisher listPluginsPaginator​(ListPluginsRequest listPluginsRequest)

        List AWS Migration Hub Orchestrator plugins.


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

        Parameters:
        listPluginsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listPluginsPaginator

        default ListPluginsPublisher listPluginsPaginator​(Consumer<ListPluginsRequest.Builder> listPluginsRequest)

        List AWS Migration Hub Orchestrator plugins.


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

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

        Parameters:
        listPluginsRequest - A Consumer that will call methods on ListPluginsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

        default CompletableFuture<ListTagsForResourceResponse> listTagsForResource​(ListTagsForResourceRequest listTagsForResourceRequest)

        List the tags added to 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.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTagsForResource

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

        List the tags added to 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.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateStepGroups

        default CompletableFuture<ListTemplateStepGroupsResponse> listTemplateStepGroups​(ListTemplateStepGroupsRequest listTemplateStepGroupsRequest)

        List the step groups in a template.

        Parameters:
        listTemplateStepGroupsRequest -
        Returns:
        A Java Future containing the result of the ListTemplateStepGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateStepGroups

        default CompletableFuture<ListTemplateStepGroupsResponse> listTemplateStepGroups​(Consumer<ListTemplateStepGroupsRequest.Builder> listTemplateStepGroupsRequest)

        List the step groups in a template.


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

        Parameters:
        listTemplateStepGroupsRequest - A Consumer that will call methods on ListTemplateStepGroupsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTemplateStepGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateStepGroupsPaginator

        default ListTemplateStepGroupsPublisher listTemplateStepGroupsPaginator​(ListTemplateStepGroupsRequest listTemplateStepGroupsRequest)

        List the step groups in a template.


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

        Parameters:
        listTemplateStepGroupsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateStepGroupsPaginator

        default ListTemplateStepGroupsPublisher listTemplateStepGroupsPaginator​(Consumer<ListTemplateStepGroupsRequest.Builder> listTemplateStepGroupsRequest)

        List the step groups in a template.


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

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

        Parameters:
        listTemplateStepGroupsRequest - A Consumer that will call methods on ListTemplateStepGroupsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateSteps

        default CompletableFuture<ListTemplateStepsResponse> listTemplateSteps​(ListTemplateStepsRequest listTemplateStepsRequest)

        List the steps in a template.

        Parameters:
        listTemplateStepsRequest -
        Returns:
        A Java Future containing the result of the ListTemplateSteps operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateSteps

        default CompletableFuture<ListTemplateStepsResponse> listTemplateSteps​(Consumer<ListTemplateStepsRequest.Builder> listTemplateStepsRequest)

        List the steps in a template.


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

        Parameters:
        listTemplateStepsRequest - A Consumer that will call methods on ListTemplateStepsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTemplateSteps operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateStepsPaginator

        default ListTemplateStepsPublisher listTemplateStepsPaginator​(ListTemplateStepsRequest listTemplateStepsRequest)

        List the steps in a template.


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

        Parameters:
        listTemplateStepsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplateStepsPaginator

        default ListTemplateStepsPublisher listTemplateStepsPaginator​(Consumer<ListTemplateStepsRequest.Builder> listTemplateStepsRequest)

        List the steps in a template.


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

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

        Parameters:
        listTemplateStepsRequest - A Consumer that will call methods on ListTemplateStepsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplates

        default CompletableFuture<ListTemplatesResponse> listTemplates​(ListTemplatesRequest listTemplatesRequest)

        List the templates available in Migration Hub Orchestrator to create a migration workflow.

        Parameters:
        listTemplatesRequest -
        Returns:
        A Java Future containing the result of the ListTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplates

        default CompletableFuture<ListTemplatesResponse> listTemplates​(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest)

        List the templates available in Migration Hub Orchestrator to create a migration workflow.


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

        Parameters:
        listTemplatesRequest - A Consumer that will call methods on ListTemplatesRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListTemplates operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplatesPaginator

        default ListTemplatesPublisher listTemplatesPaginator​(ListTemplatesRequest listTemplatesRequest)

        List the templates available in Migration Hub Orchestrator to create a migration workflow.


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

        Parameters:
        listTemplatesRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listTemplatesPaginator

        default ListTemplatesPublisher listTemplatesPaginator​(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest)

        List the templates available in Migration Hub Orchestrator to create a migration workflow.


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

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

        Parameters:
        listTemplatesRequest - A Consumer that will call methods on ListTemplatesRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowStepGroups

        default CompletableFuture<ListWorkflowStepGroupsResponse> listWorkflowStepGroups​(ListWorkflowStepGroupsRequest listWorkflowStepGroupsRequest)

        List the step groups in a migration workflow.

        Parameters:
        listWorkflowStepGroupsRequest -
        Returns:
        A Java Future containing the result of the ListWorkflowStepGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowStepGroups

        default CompletableFuture<ListWorkflowStepGroupsResponse> listWorkflowStepGroups​(Consumer<ListWorkflowStepGroupsRequest.Builder> listWorkflowStepGroupsRequest)

        List the step groups in a migration workflow.


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

        Parameters:
        listWorkflowStepGroupsRequest - A Consumer that will call methods on ListWorkflowStepGroupsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWorkflowStepGroups operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowStepGroupsPaginator

        default ListWorkflowStepGroupsPublisher listWorkflowStepGroupsPaginator​(ListWorkflowStepGroupsRequest listWorkflowStepGroupsRequest)

        List the step groups in a migration workflow.


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

        Parameters:
        listWorkflowStepGroupsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowStepGroupsPaginator

        default ListWorkflowStepGroupsPublisher listWorkflowStepGroupsPaginator​(Consumer<ListWorkflowStepGroupsRequest.Builder> listWorkflowStepGroupsRequest)

        List the step groups in a migration workflow.


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

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

        Parameters:
        listWorkflowStepGroupsRequest - A Consumer that will call methods on ListWorkflowStepGroupsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowSteps

        default CompletableFuture<ListWorkflowStepsResponse> listWorkflowSteps​(ListWorkflowStepsRequest listWorkflowStepsRequest)

        List the steps in a workflow.

        Parameters:
        listWorkflowStepsRequest -
        Returns:
        A Java Future containing the result of the ListWorkflowSteps operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowSteps

        default CompletableFuture<ListWorkflowStepsResponse> listWorkflowSteps​(Consumer<ListWorkflowStepsRequest.Builder> listWorkflowStepsRequest)

        List the steps in a workflow.


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

        Parameters:
        listWorkflowStepsRequest - A Consumer that will call methods on ListWorkflowStepsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWorkflowSteps operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowStepsPaginator

        default ListWorkflowStepsPublisher listWorkflowStepsPaginator​(ListWorkflowStepsRequest listWorkflowStepsRequest)

        List the steps in a workflow.


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

        Parameters:
        listWorkflowStepsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowStepsPaginator

        default ListWorkflowStepsPublisher listWorkflowStepsPaginator​(Consumer<ListWorkflowStepsRequest.Builder> listWorkflowStepsRequest)

        List the steps in a workflow.


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

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

        Parameters:
        listWorkflowStepsRequest - A Consumer that will call methods on ListWorkflowStepsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflows

        default CompletableFuture<ListWorkflowsResponse> listWorkflows​(ListWorkflowsRequest listWorkflowsRequest)

        List the migration workflows.

        Parameters:
        listWorkflowsRequest -
        Returns:
        A Java Future containing the result of the ListWorkflows operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflows

        default CompletableFuture<ListWorkflowsResponse> listWorkflows​(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest)

        List the migration workflows.


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

        Parameters:
        listWorkflowsRequest - A Consumer that will call methods on ListWorkflowsRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the ListWorkflows operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowsPaginator

        default ListWorkflowsPublisher listWorkflowsPaginator​(ListWorkflowsRequest listWorkflowsRequest)

        List the migration workflows.


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

        Parameters:
        listWorkflowsRequest -
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • listWorkflowsPaginator

        default ListWorkflowsPublisher listWorkflowsPaginator​(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest)

        List the migration workflows.


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

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

        Parameters:
        listWorkflowsRequest - A Consumer that will call methods on ListWorkflowsRequest.Builder to create a request.
        Returns:
        A custom publisher that can be subscribed to request a stream of response pages.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • retryWorkflowStep

        default CompletableFuture<RetryWorkflowStepResponse> retryWorkflowStep​(RetryWorkflowStepRequest retryWorkflowStepRequest)

        Retry a failed step in a migration workflow.

        Parameters:
        retryWorkflowStepRequest -
        Returns:
        A Java Future containing the result of the RetryWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • retryWorkflowStep

        default CompletableFuture<RetryWorkflowStepResponse> retryWorkflowStep​(Consumer<RetryWorkflowStepRequest.Builder> retryWorkflowStepRequest)

        Retry a failed step in a migration workflow.


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

        Parameters:
        retryWorkflowStepRequest - A Consumer that will call methods on RetryWorkflowStepRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the RetryWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startWorkflow

        default CompletableFuture<StartWorkflowResponse> startWorkflow​(StartWorkflowRequest startWorkflowRequest)

        Start a migration workflow.

        Parameters:
        startWorkflowRequest -
        Returns:
        A Java Future containing the result of the StartWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • startWorkflow

        default CompletableFuture<StartWorkflowResponse> startWorkflow​(Consumer<StartWorkflowRequest.Builder> startWorkflowRequest)

        Start a migration workflow.


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

        Parameters:
        startWorkflowRequest - A Consumer that will call methods on StartWorkflowRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StartWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopWorkflow

        default CompletableFuture<StopWorkflowResponse> stopWorkflow​(StopWorkflowRequest stopWorkflowRequest)

        Stop an ongoing migration workflow.

        Parameters:
        stopWorkflowRequest -
        Returns:
        A Java Future containing the result of the StopWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • stopWorkflow

        default CompletableFuture<StopWorkflowResponse> stopWorkflow​(Consumer<StopWorkflowRequest.Builder> stopWorkflowRequest)

        Stop an ongoing migration workflow.


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

        Parameters:
        stopWorkflowRequest - A Consumer that will call methods on StopWorkflowRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the StopWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

        default CompletableFuture<TagResourceResponse> tagResource​(TagResourceRequest tagResourceRequest)

        Tag a resource by specifying its Amazon Resource Name (ARN).

        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.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • tagResource

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

        Tag a resource by specifying its Amazon Resource Name (ARN).


        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.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

        default CompletableFuture<UntagResourceResponse> untagResource​(UntagResourceRequest untagResourceRequest)

        Deletes the tags for 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.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • untagResource

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

        Deletes the tags for 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.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkflow

        default CompletableFuture<UpdateWorkflowResponse> updateWorkflow​(UpdateWorkflowRequest updateWorkflowRequest)

        Update a migration workflow.

        Parameters:
        updateWorkflowRequest -
        Returns:
        A Java Future containing the result of the UpdateWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkflow

        default CompletableFuture<UpdateWorkflowResponse> updateWorkflow​(Consumer<UpdateWorkflowRequest.Builder> updateWorkflowRequest)

        Update a migration workflow.


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

        Parameters:
        updateWorkflowRequest - A Consumer that will call methods on UpdateWorkflowRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateWorkflow operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkflowStep

        default CompletableFuture<UpdateWorkflowStepResponse> updateWorkflowStep​(UpdateWorkflowStepRequest updateWorkflowStepRequest)

        Update a step in a migration workflow.

        Parameters:
        updateWorkflowStepRequest -
        Returns:
        A Java Future containing the result of the UpdateWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkflowStep

        default CompletableFuture<UpdateWorkflowStepResponse> updateWorkflowStep​(Consumer<UpdateWorkflowStepRequest.Builder> updateWorkflowStepRequest)

        Update a step in a migration workflow.


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

        Parameters:
        updateWorkflowStepRequest - A Consumer that will call methods on UpdateWorkflowStepRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateWorkflowStep operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkflowStepGroup

        default CompletableFuture<UpdateWorkflowStepGroupResponse> updateWorkflowStepGroup​(UpdateWorkflowStepGroupRequest updateWorkflowStepGroupRequest)

        Update the step group in a migration workflow.

        Parameters:
        updateWorkflowStepGroupRequest -
        Returns:
        A Java Future containing the result of the UpdateWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation
      • updateWorkflowStepGroup

        default CompletableFuture<UpdateWorkflowStepGroupResponse> updateWorkflowStepGroup​(Consumer<UpdateWorkflowStepGroupRequest.Builder> updateWorkflowStepGroupRequest)

        Update the step group in a migration workflow.


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

        Parameters:
        updateWorkflowStepGroupRequest - A Consumer that will call methods on UpdateWorkflowStepGroupRequest.Builder to create a request.
        Returns:
        A Java Future containing the result of the UpdateWorkflowStepGroup operation returned by the service.
        The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.
        • ThrottlingException The request was denied due to request throttling.
        • AccessDeniedException You do not have sufficient access to perform this action.
        • InternalServerException An internal error has occurred.
        • ValidationException The input fails to satisfy the constraints specified by an AWS service.
        • ResourceNotFoundException The resource is not available.
        • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
        • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
        • MigrationHubOrchestratorException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
        See Also:
        AWS API Documentation