/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the migrationhuborchestrator-2021-08-28.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.MigrationHubOrchestrator.Model;
namespace Amazon.MigrationHubOrchestrator
{
///
/// Interface for accessing MigrationHubOrchestrator
///
/// This API reference provides descriptions, syntax, and other details about each of
/// the actions and data types for AWS Migration Hub Orchestrator. he topic for each action
/// shows the API request parameters and the response. Alternatively, you can use one
/// of the AWS SDKs to access an API that is tailored to the programming language or platform
/// that you're using.
///
public partial interface IAmazonMigrationHubOrchestrator : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IMigrationHubOrchestratorPaginatorFactory Paginators { get; }
#endif
#region CreateWorkflow
///
/// Create a workflow to orchestrate your migrations.
///
/// Container for the necessary parameters to execute the CreateWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWorkflow service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateWorkflow Operation
Task CreateWorkflowAsync(CreateWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateWorkflowStep
///
/// Create a step in the migration workflow.
///
/// Container for the necessary parameters to execute the CreateWorkflowStep service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWorkflowStep service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateWorkflowStep Operation
Task CreateWorkflowStepAsync(CreateWorkflowStepRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateWorkflowStepGroup
///
/// Create a step group in a migration workflow.
///
/// Container for the necessary parameters to execute the CreateWorkflowStepGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateWorkflowStepGroup service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for CreateWorkflowStepGroup Operation
Task CreateWorkflowStepGroupAsync(CreateWorkflowStepGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteWorkflow
///
/// Delete a migration workflow. You must pause a running workflow in Migration Hub Orchestrator
/// console to delete it.
///
/// Container for the necessary parameters to execute the DeleteWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWorkflow service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeleteWorkflow Operation
Task DeleteWorkflowAsync(DeleteWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteWorkflowStep
///
/// Delete a step in a migration workflow. Pause the workflow to delete a running step.
///
/// Container for the necessary parameters to execute the DeleteWorkflowStep service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWorkflowStep service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeleteWorkflowStep Operation
Task DeleteWorkflowStepAsync(DeleteWorkflowStepRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteWorkflowStepGroup
///
/// Delete a step group in a migration workflow.
///
/// Container for the necessary parameters to execute the DeleteWorkflowStepGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteWorkflowStepGroup service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for DeleteWorkflowStepGroup Operation
Task DeleteWorkflowStepGroupAsync(DeleteWorkflowStepGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTemplate
///
/// Get the template you want to use for creating a migration workflow.
///
/// Container for the necessary parameters to execute the GetTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTemplate service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for GetTemplate Operation
Task GetTemplateAsync(GetTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTemplateStep
///
/// Get a specific step in a template.
///
/// Container for the necessary parameters to execute the GetTemplateStep service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTemplateStep service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetTemplateStep Operation
Task GetTemplateStepAsync(GetTemplateStepRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetTemplateStepGroup
///
/// Get a step group in a template.
///
/// Container for the necessary parameters to execute the GetTemplateStepGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetTemplateStepGroup service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetTemplateStepGroup Operation
Task GetTemplateStepGroupAsync(GetTemplateStepGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetWorkflow
///
/// Get migration workflow.
///
/// Container for the necessary parameters to execute the GetWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetWorkflow service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetWorkflow Operation
Task GetWorkflowAsync(GetWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetWorkflowStep
///
/// Get a step in the migration workflow.
///
/// Container for the necessary parameters to execute the GetWorkflowStep service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetWorkflowStep service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for GetWorkflowStep Operation
Task GetWorkflowStepAsync(GetWorkflowStepRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetWorkflowStepGroup
///
/// Get the step group of a migration workflow.
///
/// Container for the necessary parameters to execute the GetWorkflowStepGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetWorkflowStepGroup service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for GetWorkflowStepGroup Operation
Task GetWorkflowStepGroupAsync(GetWorkflowStepGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListPlugins
///
/// List AWS Migration Hub Orchestrator plugins.
///
/// Container for the necessary parameters to execute the ListPlugins service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPlugins service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListPlugins Operation
Task ListPluginsAsync(ListPluginsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// List the tags added to a resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by MigrationHubOrchestrator.
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListTagsForResource Operation
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTemplates
///
/// List the templates available in Migration Hub Orchestrator to create a migration workflow.
///
/// Container for the necessary parameters to execute the ListTemplates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTemplates service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for ListTemplates Operation
Task ListTemplatesAsync(ListTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTemplateStepGroups
///
/// List the step groups in a template.
///
/// Container for the necessary parameters to execute the ListTemplateStepGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTemplateStepGroups service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for ListTemplateStepGroups Operation
Task ListTemplateStepGroupsAsync(ListTemplateStepGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTemplateSteps
///
/// List the steps in a template.
///
/// Container for the necessary parameters to execute the ListTemplateSteps service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTemplateSteps service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListTemplateSteps Operation
Task ListTemplateStepsAsync(ListTemplateStepsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListWorkflows
///
/// List the migration workflows.
///
/// Container for the necessary parameters to execute the ListWorkflows service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWorkflows service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListWorkflows Operation
Task ListWorkflowsAsync(ListWorkflowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListWorkflowStepGroups
///
/// List the step groups in a migration workflow.
///
/// Container for the necessary parameters to execute the ListWorkflowStepGroups service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWorkflowStepGroups service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListWorkflowStepGroups Operation
Task ListWorkflowStepGroupsAsync(ListWorkflowStepGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListWorkflowSteps
///
/// List the steps in a workflow.
///
/// Container for the necessary parameters to execute the ListWorkflowSteps service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListWorkflowSteps service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for ListWorkflowSteps Operation
Task ListWorkflowStepsAsync(ListWorkflowStepsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RetryWorkflowStep
///
/// Retry a failed step in a migration workflow.
///
/// Container for the necessary parameters to execute the RetryWorkflowStep service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the RetryWorkflowStep service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
/// REST API Reference for RetryWorkflowStep Operation
Task RetryWorkflowStepAsync(RetryWorkflowStepRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartWorkflow
///
/// Start a migration workflow.
///
/// Container for the necessary parameters to execute the StartWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StartWorkflow service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for StartWorkflow Operation
Task StartWorkflowAsync(StartWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopWorkflow
///
/// Stop an ongoing migration workflow.
///
/// Container for the necessary parameters to execute the StopWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the StopWorkflow service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for StopWorkflow Operation
Task StopWorkflowAsync(StopWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
///
/// Tag a resource by specifying its Amazon Resource Name (ARN).
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by MigrationHubOrchestrator.
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for TagResource Operation
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
///
/// Deletes the tags for a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by MigrationHubOrchestrator.
///
/// The resource is not available.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UntagResource Operation
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateWorkflow
///
/// Update a migration workflow.
///
/// Container for the necessary parameters to execute the UpdateWorkflow service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateWorkflow service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateWorkflow Operation
Task UpdateWorkflowAsync(UpdateWorkflowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateWorkflowStep
///
/// Update a step in a migration workflow.
///
/// Container for the necessary parameters to execute the UpdateWorkflowStep service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateWorkflowStep service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateWorkflowStep Operation
Task UpdateWorkflowStepAsync(UpdateWorkflowStepRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateWorkflowStepGroup
///
/// Update the step group in a migration workflow.
///
/// Container for the necessary parameters to execute the UpdateWorkflowStepGroup service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateWorkflowStepGroup service method, as returned by MigrationHubOrchestrator.
///
/// You do not have sufficient access to perform this action.
///
///
/// An internal error has occurred.
///
///
/// The resource is not available.
///
///
/// The request was denied due to request throttling.
///
///
/// The input fails to satisfy the constraints specified by an AWS service.
///
/// REST API Reference for UpdateWorkflowStepGroup Operation
Task UpdateWorkflowStepGroupAsync(UpdateWorkflowStepGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}