Interface MigrationHubOrchestratorAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
This API reference provides descriptions, syntax, and other details about each of the actions and data types for AWS Migration Hub Orchestrator. The topic for each action shows the API request parameters and responses. 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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a builder that can be used to configure and create aMigrationHubOrchestratorAsyncClient.create()Create aMigrationHubOrchestratorAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CompletableFuture<CreateTemplateResponse> createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest) Creates a migration workflow template.default CompletableFuture<CreateTemplateResponse> createTemplate(CreateTemplateRequest createTemplateRequest) Creates a migration workflow template.default CompletableFuture<CreateWorkflowResponse> createWorkflow(Consumer<CreateWorkflowRequest.Builder> createWorkflowRequest) Create a workflow to orchestrate your migrations.default CompletableFuture<CreateWorkflowResponse> createWorkflow(CreateWorkflowRequest createWorkflowRequest) Create a workflow to orchestrate your migrations.createWorkflowStep(Consumer<CreateWorkflowStepRequest.Builder> createWorkflowStepRequest) Create a step in the migration workflow.createWorkflowStep(CreateWorkflowStepRequest createWorkflowStepRequest) Create a step in the migration workflow.createWorkflowStepGroup(Consumer<CreateWorkflowStepGroupRequest.Builder> createWorkflowStepGroupRequest) Create a step group in a migration workflow.createWorkflowStepGroup(CreateWorkflowStepGroupRequest createWorkflowStepGroupRequest) Create a step group in a migration workflow.default CompletableFuture<DeleteTemplateResponse> deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest) Deletes a migration workflow template.default CompletableFuture<DeleteTemplateResponse> deleteTemplate(DeleteTemplateRequest deleteTemplateRequest) Deletes a migration workflow template.default CompletableFuture<DeleteWorkflowResponse> deleteWorkflow(Consumer<DeleteWorkflowRequest.Builder> deleteWorkflowRequest) Delete a migration workflow.default CompletableFuture<DeleteWorkflowResponse> deleteWorkflow(DeleteWorkflowRequest deleteWorkflowRequest) Delete a migration workflow.deleteWorkflowStep(Consumer<DeleteWorkflowStepRequest.Builder> deleteWorkflowStepRequest) Delete a step in a migration workflow.deleteWorkflowStep(DeleteWorkflowStepRequest deleteWorkflowStepRequest) Delete a step in a migration workflow.deleteWorkflowStepGroup(Consumer<DeleteWorkflowStepGroupRequest.Builder> deleteWorkflowStepGroupRequest) Delete a step group in a migration workflow.deleteWorkflowStepGroup(DeleteWorkflowStepGroupRequest deleteWorkflowStepGroupRequest) Delete a step group in a migration workflow.default CompletableFuture<GetTemplateResponse> getTemplate(Consumer<GetTemplateRequest.Builder> getTemplateRequest) Get the template you want to use for creating a migration workflow.default CompletableFuture<GetTemplateResponse> getTemplate(GetTemplateRequest getTemplateRequest) Get the template you want to use for creating a migration workflow.default CompletableFuture<GetTemplateStepResponse> getTemplateStep(Consumer<GetTemplateStepRequest.Builder> getTemplateStepRequest) Get a specific step in a template.default CompletableFuture<GetTemplateStepResponse> getTemplateStep(GetTemplateStepRequest getTemplateStepRequest) Get a specific step in a template.getTemplateStepGroup(Consumer<GetTemplateStepGroupRequest.Builder> getTemplateStepGroupRequest) Get a step group in a template.getTemplateStepGroup(GetTemplateStepGroupRequest getTemplateStepGroupRequest) Get a step group in a template.default CompletableFuture<GetWorkflowResponse> getWorkflow(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) Get migration workflow.default CompletableFuture<GetWorkflowResponse> getWorkflow(GetWorkflowRequest getWorkflowRequest) Get migration workflow.default CompletableFuture<GetWorkflowStepResponse> getWorkflowStep(Consumer<GetWorkflowStepRequest.Builder> getWorkflowStepRequest) Get a step in the migration workflow.default CompletableFuture<GetWorkflowStepResponse> getWorkflowStep(GetWorkflowStepRequest getWorkflowStepRequest) Get a step in the migration workflow.getWorkflowStepGroup(Consumer<GetWorkflowStepGroupRequest.Builder> getWorkflowStepGroupRequest) Get the step group of a migration workflow.getWorkflowStepGroup(GetWorkflowStepGroupRequest getWorkflowStepGroupRequest) Get the step group of a migration workflow.default CompletableFuture<ListPluginsResponse> listPlugins(Consumer<ListPluginsRequest.Builder> listPluginsRequest) List AWS Migration Hub Orchestrator plugins.default CompletableFuture<ListPluginsResponse> listPlugins(ListPluginsRequest listPluginsRequest) List AWS Migration Hub Orchestrator plugins.default ListPluginsPublisherlistPluginsPaginator(Consumer<ListPluginsRequest.Builder> listPluginsRequest) This is a variant oflistPlugins(software.amazon.awssdk.services.migrationhuborchestrator.model.ListPluginsRequest)operation.default ListPluginsPublisherlistPluginsPaginator(ListPluginsRequest listPluginsRequest) This is a variant oflistPlugins(software.amazon.awssdk.services.migrationhuborchestrator.model.ListPluginsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List the tags added to a resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) List the tags added to a resource.default CompletableFuture<ListTemplatesResponse> listTemplates(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) List the templates available in Migration Hub Orchestrator to create a migration workflow.default CompletableFuture<ListTemplatesResponse> listTemplates(ListTemplatesRequest listTemplatesRequest) List the templates available in Migration Hub Orchestrator to create a migration workflow.default ListTemplatesPublisherlistTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) This is a variant oflistTemplates(software.amazon.awssdk.services.migrationhuborchestrator.model.ListTemplatesRequest)operation.default ListTemplatesPublisherlistTemplatesPaginator(ListTemplatesRequest listTemplatesRequest) This is a variant oflistTemplates(software.amazon.awssdk.services.migrationhuborchestrator.model.ListTemplatesRequest)operation.listTemplateStepGroups(Consumer<ListTemplateStepGroupsRequest.Builder> listTemplateStepGroupsRequest) List the step groups in a template.listTemplateStepGroups(ListTemplateStepGroupsRequest listTemplateStepGroupsRequest) List the step groups in a template.default ListTemplateStepGroupsPublisherlistTemplateStepGroupsPaginator(Consumer<ListTemplateStepGroupsRequest.Builder> listTemplateStepGroupsRequest) This is a variant oflistTemplateStepGroups(software.amazon.awssdk.services.migrationhuborchestrator.model.ListTemplateStepGroupsRequest)operation.default ListTemplateStepGroupsPublisherlistTemplateStepGroupsPaginator(ListTemplateStepGroupsRequest listTemplateStepGroupsRequest) This is a variant oflistTemplateStepGroups(software.amazon.awssdk.services.migrationhuborchestrator.model.ListTemplateStepGroupsRequest)operation.listTemplateSteps(Consumer<ListTemplateStepsRequest.Builder> listTemplateStepsRequest) List the steps in a template.listTemplateSteps(ListTemplateStepsRequest listTemplateStepsRequest) List the steps in a template.default ListTemplateStepsPublisherlistTemplateStepsPaginator(Consumer<ListTemplateStepsRequest.Builder> listTemplateStepsRequest) This is a variant oflistTemplateSteps(software.amazon.awssdk.services.migrationhuborchestrator.model.ListTemplateStepsRequest)operation.default ListTemplateStepsPublisherlistTemplateStepsPaginator(ListTemplateStepsRequest listTemplateStepsRequest) This is a variant oflistTemplateSteps(software.amazon.awssdk.services.migrationhuborchestrator.model.ListTemplateStepsRequest)operation.default CompletableFuture<ListWorkflowsResponse> listWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) List the migration workflows.default CompletableFuture<ListWorkflowsResponse> listWorkflows(ListWorkflowsRequest listWorkflowsRequest) List the migration workflows.default ListWorkflowsPublisherlistWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.migrationhuborchestrator.model.ListWorkflowsRequest)operation.default ListWorkflowsPublisherlistWorkflowsPaginator(ListWorkflowsRequest listWorkflowsRequest) This is a variant oflistWorkflows(software.amazon.awssdk.services.migrationhuborchestrator.model.ListWorkflowsRequest)operation.listWorkflowStepGroups(Consumer<ListWorkflowStepGroupsRequest.Builder> listWorkflowStepGroupsRequest) List the step groups in a migration workflow.listWorkflowStepGroups(ListWorkflowStepGroupsRequest listWorkflowStepGroupsRequest) List the step groups in a migration workflow.default ListWorkflowStepGroupsPublisherlistWorkflowStepGroupsPaginator(Consumer<ListWorkflowStepGroupsRequest.Builder> listWorkflowStepGroupsRequest) This is a variant oflistWorkflowStepGroups(software.amazon.awssdk.services.migrationhuborchestrator.model.ListWorkflowStepGroupsRequest)operation.default ListWorkflowStepGroupsPublisherlistWorkflowStepGroupsPaginator(ListWorkflowStepGroupsRequest listWorkflowStepGroupsRequest) This is a variant oflistWorkflowStepGroups(software.amazon.awssdk.services.migrationhuborchestrator.model.ListWorkflowStepGroupsRequest)operation.listWorkflowSteps(Consumer<ListWorkflowStepsRequest.Builder> listWorkflowStepsRequest) List the steps in a workflow.listWorkflowSteps(ListWorkflowStepsRequest listWorkflowStepsRequest) List the steps in a workflow.default ListWorkflowStepsPublisherlistWorkflowStepsPaginator(Consumer<ListWorkflowStepsRequest.Builder> listWorkflowStepsRequest) This is a variant oflistWorkflowSteps(software.amazon.awssdk.services.migrationhuborchestrator.model.ListWorkflowStepsRequest)operation.default ListWorkflowStepsPublisherlistWorkflowStepsPaginator(ListWorkflowStepsRequest listWorkflowStepsRequest) This is a variant oflistWorkflowSteps(software.amazon.awssdk.services.migrationhuborchestrator.model.ListWorkflowStepsRequest)operation.retryWorkflowStep(Consumer<RetryWorkflowStepRequest.Builder> retryWorkflowStepRequest) Retry a failed step in a migration workflow.retryWorkflowStep(RetryWorkflowStepRequest retryWorkflowStepRequest) Retry a failed step in a migration workflow.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartWorkflowResponse> startWorkflow(Consumer<StartWorkflowRequest.Builder> startWorkflowRequest) Start a migration workflow.default CompletableFuture<StartWorkflowResponse> startWorkflow(StartWorkflowRequest startWorkflowRequest) Start a migration workflow.default CompletableFuture<StopWorkflowResponse> stopWorkflow(Consumer<StopWorkflowRequest.Builder> stopWorkflowRequest) Stop an ongoing migration workflow.default CompletableFuture<StopWorkflowResponse> stopWorkflow(StopWorkflowRequest stopWorkflowRequest) Stop an ongoing migration workflow.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Tag a resource by specifying its Amazon Resource Name (ARN).default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Tag a resource by specifying its Amazon Resource Name (ARN).default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the tags for a resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Deletes the tags for a resource.default CompletableFuture<UpdateTemplateResponse> updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest) Updates a migration workflow template.default CompletableFuture<UpdateTemplateResponse> updateTemplate(UpdateTemplateRequest updateTemplateRequest) Updates a migration workflow template.default CompletableFuture<UpdateWorkflowResponse> updateWorkflow(Consumer<UpdateWorkflowRequest.Builder> updateWorkflowRequest) Update a migration workflow.default CompletableFuture<UpdateWorkflowResponse> updateWorkflow(UpdateWorkflowRequest updateWorkflowRequest) Update a migration workflow.updateWorkflowStep(Consumer<UpdateWorkflowStepRequest.Builder> updateWorkflowStepRequest) Update a step in a migration workflow.updateWorkflowStep(UpdateWorkflowStepRequest updateWorkflowStepRequest) Update a step in a migration workflow.updateWorkflowStepGroup(Consumer<UpdateWorkflowStepGroupRequest.Builder> updateWorkflowStepGroupRequest) Update the step group in a migration workflow.updateWorkflowStepGroup(UpdateWorkflowStepGroupRequest updateWorkflowStepGroupRequest) Update the step group in a migration workflow.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createTemplate
default CompletableFuture<CreateTemplateResponse> createTemplate(CreateTemplateRequest createTemplateRequest) Creates a migration workflow template.
- Parameters:
createTemplateRequest-- Returns:
- A Java Future containing the result of the CreateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException This exception is thrown when an attempt to update or delete a resource would cause an inconsistent state.
- 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:
-
createTemplate
default CompletableFuture<CreateTemplateResponse> createTemplate(Consumer<CreateTemplateRequest.Builder> createTemplateRequest) Creates a migration workflow template.
This is a convenience which creates an instance of the
CreateTemplateRequest.Builderavoiding the need to create one manually viaCreateTemplateRequest.builder()- Parameters:
createTemplateRequest- AConsumerthat will call methods onCreateTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied due to request throttling.
- ConflictException This exception is thrown when an attempt to update or delete a resource would cause an inconsistent state.
- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateWorkflowRequest.builder()- Parameters:
createWorkflowRequest- AConsumerthat will call methods onCreateWorkflowRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateWorkflowStepRequest.builder()- Parameters:
createWorkflowStepRequest- AConsumerthat will call methods onCreateWorkflowStepRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateWorkflowStepGroupRequest.builder()- Parameters:
createWorkflowStepGroupRequest- AConsumerthat will call methods onCreateWorkflowStepGroupRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
deleteTemplate
default CompletableFuture<DeleteTemplateResponse> deleteTemplate(DeleteTemplateRequest deleteTemplateRequest) Deletes a migration workflow template.
- Parameters:
deleteTemplateRequest-- Returns:
- A Java Future containing the result of the DeleteTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
deleteTemplate
default CompletableFuture<DeleteTemplateResponse> deleteTemplate(Consumer<DeleteTemplateRequest.Builder> deleteTemplateRequest) Deletes a migration workflow template.
This is a convenience which creates an instance of the
DeleteTemplateRequest.Builderavoiding the need to create one manually viaDeleteTemplateRequest.builder()- Parameters:
deleteTemplateRequest- AConsumerthat will call methods onDeleteTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteWorkflowRequest.builder()- Parameters:
deleteWorkflowRequest- AConsumerthat will call methods onDeleteWorkflowRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteWorkflowStepRequest.builder()- Parameters:
deleteWorkflowStepRequest- AConsumerthat will call methods onDeleteWorkflowStepRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteWorkflowStepGroupRequest.builder()- Parameters:
deleteWorkflowStepGroupRequest- AConsumerthat will call methods onDeleteWorkflowStepGroupRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
getTemplate
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetTemplateRequest.builder()- Parameters:
getTemplateRequest- AConsumerthat will call methods onGetTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetTemplateStepRequest.builder()- Parameters:
getTemplateStepRequest- AConsumerthat will call methods onGetTemplateStepRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetTemplateStepGroupRequest.builder()- Parameters:
getTemplateStepGroupRequest- AConsumerthat will call methods onGetTemplateStepGroupRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
getWorkflow
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
getWorkflow
default CompletableFuture<GetWorkflowResponse> getWorkflow(Consumer<GetWorkflowRequest.Builder> getWorkflowRequest) Get migration workflow.
This is a convenience which creates an instance of the
GetWorkflowRequest.Builderavoiding the need to create one manually viaGetWorkflowRequest.builder()- Parameters:
getWorkflowRequest- AConsumerthat will call methods onGetWorkflowRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetWorkflowStepRequest.builder()- Parameters:
getWorkflowStepRequest- AConsumerthat will call methods onGetWorkflowStepRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetWorkflowStepGroupRequest.builder()- Parameters:
getWorkflowStepGroupRequest- AConsumerthat will call methods onGetWorkflowStepGroupRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listPlugins
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListPluginsRequest.builder()- Parameters:
listPluginsRequest- AConsumerthat will call methods onListPluginsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listPluginsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListPluginsPublisher publisher = client.listPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listPluginsPaginator
default ListPluginsPublisher listPluginsPaginator(Consumer<ListPluginsRequest.Builder> listPluginsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListPluginsPublisher publisher = client.listPluginsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListPluginsRequest.builder()- Parameters:
listPluginsRequest- AConsumerthat will call methods onListPluginsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListTemplateStepGroupsRequest.builder()- Parameters:
listTemplateStepGroupsRequest- AConsumerthat will call methods onListTemplateStepGroupsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listTemplateStepGroupsPaginator
default ListTemplateStepGroupsPublisher listTemplateStepGroupsPaginator(ListTemplateStepGroupsRequest listTemplateStepGroupsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListTemplateStepGroupsPublisher publisher = client.listTemplateStepGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listTemplateStepGroupsPaginator
default ListTemplateStepGroupsPublisher listTemplateStepGroupsPaginator(Consumer<ListTemplateStepGroupsRequest.Builder> listTemplateStepGroupsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListTemplateStepGroupsPublisher publisher = client.listTemplateStepGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListTemplateStepGroupsRequest.builder()- Parameters:
listTemplateStepGroupsRequest- AConsumerthat will call methods onListTemplateStepGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListTemplateStepsRequest.builder()- Parameters:
listTemplateStepsRequest- AConsumerthat will call methods onListTemplateStepsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listTemplateStepsPaginator
default ListTemplateStepsPublisher listTemplateStepsPaginator(ListTemplateStepsRequest listTemplateStepsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListTemplateStepsPublisher publisher = client.listTemplateStepsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listTemplateStepsPaginator
default ListTemplateStepsPublisher listTemplateStepsPaginator(Consumer<ListTemplateStepsRequest.Builder> listTemplateStepsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListTemplateStepsPublisher publisher = client.listTemplateStepsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListTemplateStepsRequest.builder()- Parameters:
listTemplateStepsRequest- AConsumerthat will call methods onListTemplateStepsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListTemplatesRequest.builder()- Parameters:
listTemplatesRequest- AConsumerthat will call methods onListTemplatesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listTemplatesPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listTemplatesPaginator
default ListTemplatesPublisher listTemplatesPaginator(Consumer<ListTemplatesRequest.Builder> listTemplatesRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListTemplatesPublisher publisher = client.listTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListTemplatesRequest.builder()- Parameters:
listTemplatesRequest- AConsumerthat will call methods onListTemplatesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListWorkflowStepGroupsRequest.builder()- Parameters:
listWorkflowStepGroupsRequest- AConsumerthat will call methods onListWorkflowStepGroupsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflowStepGroupsPaginator
default ListWorkflowStepGroupsPublisher listWorkflowStepGroupsPaginator(ListWorkflowStepGroupsRequest listWorkflowStepGroupsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListWorkflowStepGroupsPublisher publisher = client.listWorkflowStepGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflowStepGroupsPaginator
default ListWorkflowStepGroupsPublisher listWorkflowStepGroupsPaginator(Consumer<ListWorkflowStepGroupsRequest.Builder> listWorkflowStepGroupsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListWorkflowStepGroupsPublisher publisher = client.listWorkflowStepGroupsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListWorkflowStepGroupsRequest.builder()- Parameters:
listWorkflowStepGroupsRequest- AConsumerthat will call methods onListWorkflowStepGroupsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListWorkflowStepsRequest.builder()- Parameters:
listWorkflowStepsRequest- AConsumerthat will call methods onListWorkflowStepsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflowStepsPaginator
default ListWorkflowStepsPublisher listWorkflowStepsPaginator(ListWorkflowStepsRequest listWorkflowStepsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListWorkflowStepsPublisher publisher = client.listWorkflowStepsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflowStepsPaginator
default ListWorkflowStepsPublisher listWorkflowStepsPaginator(Consumer<ListWorkflowStepsRequest.Builder> listWorkflowStepsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListWorkflowStepsPublisher publisher = client.listWorkflowStepsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListWorkflowStepsRequest.builder()- Parameters:
listWorkflowStepsRequest- AConsumerthat will call methods onListWorkflowStepsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflows
default CompletableFuture<ListWorkflowsResponse> listWorkflows(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) List the migration workflows.
This is a convenience which creates an instance of the
ListWorkflowsRequest.Builderavoiding the need to create one manually viaListWorkflowsRequest.builder()- Parameters:
listWorkflowsRequest- AConsumerthat will call methods onListWorkflowsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflowsPaginator
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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListWorkflowsPublisher publisher = client.listWorkflowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listWorkflowsPaginator
default ListWorkflowsPublisher listWorkflowsPaginator(Consumer<ListWorkflowsRequest.Builder> listWorkflowsRequest) 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 newSubscriptioni.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
2) Using a custom subscribersoftware.amazon.awssdk.services.migrationhuborchestrator.paginators.ListWorkflowsPublisher publisher = client.listWorkflowsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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) { //... }; });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.Builderavoiding the need to create one manually viaListWorkflowsRequest.builder()- Parameters:
listWorkflowsRequest- AConsumerthat will call methods onListWorkflowsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaRetryWorkflowStepRequest.builder()- Parameters:
retryWorkflowStepRequest- AConsumerthat will call methods onRetryWorkflowStepRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
startWorkflow
default CompletableFuture<StartWorkflowResponse> startWorkflow(Consumer<StartWorkflowRequest.Builder> startWorkflowRequest) Start a migration workflow.
This is a convenience which creates an instance of the
StartWorkflowRequest.Builderavoiding the need to create one manually viaStartWorkflowRequest.builder()- Parameters:
startWorkflowRequest- AConsumerthat will call methods onStartWorkflowRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaStopWorkflowRequest.builder()- Parameters:
stopWorkflowRequest- AConsumerthat will call methods onStopWorkflowRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
tagResource
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
updateTemplate
default CompletableFuture<UpdateTemplateResponse> updateTemplate(UpdateTemplateRequest updateTemplateRequest) Updates a migration workflow template.
- Parameters:
updateTemplateRequest-- Returns:
- A Java Future containing the result of the UpdateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
updateTemplate
default CompletableFuture<UpdateTemplateResponse> updateTemplate(Consumer<UpdateTemplateRequest.Builder> updateTemplateRequest) Updates a migration workflow template.
This is a convenience which creates an instance of the
UpdateTemplateRequest.Builderavoiding the need to create one manually viaUpdateTemplateRequest.builder()- Parameters:
updateTemplateRequest- AConsumerthat will call methods onUpdateTemplateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
updateWorkflow
default CompletableFuture<UpdateWorkflowResponse> updateWorkflow(Consumer<UpdateWorkflowRequest.Builder> updateWorkflowRequest) Update a migration workflow.
This is a convenience which creates an instance of the
UpdateWorkflowRequest.Builderavoiding the need to create one manually viaUpdateWorkflowRequest.builder()- Parameters:
updateWorkflowRequest- AConsumerthat will call methods onUpdateWorkflowRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUpdateWorkflowStepRequest.builder()- Parameters:
updateWorkflowStepRequest- AConsumerthat will call methods onUpdateWorkflowStepRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUpdateWorkflowStepGroupRequest.builder()- Parameters:
updateWorkflowStepGroupRequest- AConsumerthat will call methods onUpdateWorkflowStepGroupRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aMigrationHubOrchestratorAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aMigrationHubOrchestratorAsyncClient.
-