/*
* 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.Collections.Generic;
using System.Net;
using Amazon.MigrationHubOrchestrator.Model;
using Amazon.MigrationHubOrchestrator.Model.Internal.MarshallTransformations;
using Amazon.MigrationHubOrchestrator.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.MigrationHubOrchestrator
{
///
/// Implementation 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 class AmazonMigrationHubOrchestratorClient : AmazonServiceClient, IAmazonMigrationHubOrchestrator
{
private static IServiceMetadata serviceMetadata = new AmazonMigrationHubOrchestratorMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IMigrationHubOrchestratorPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IMigrationHubOrchestratorPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new MigrationHubOrchestratorPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonMigrationHubOrchestratorClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonMigrationHubOrchestratorClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonMigrationHubOrchestratorConfig()) { }
///
/// Constructs AmazonMigrationHubOrchestratorClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonMigrationHubOrchestratorClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonMigrationHubOrchestratorConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonMigrationHubOrchestratorClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonMigrationHubOrchestratorClient Configuration Object
public AmazonMigrationHubOrchestratorClient(AmazonMigrationHubOrchestratorConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Credentials
///
/// AWS Credentials
public AmazonMigrationHubOrchestratorClient(AWSCredentials credentials)
: this(credentials, new AmazonMigrationHubOrchestratorConfig())
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonMigrationHubOrchestratorClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonMigrationHubOrchestratorConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Credentials and an
/// AmazonMigrationHubOrchestratorClient Configuration object.
///
/// AWS Credentials
/// The AmazonMigrationHubOrchestratorClient Configuration Object
public AmazonMigrationHubOrchestratorClient(AWSCredentials credentials, AmazonMigrationHubOrchestratorConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonMigrationHubOrchestratorClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonMigrationHubOrchestratorConfig())
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonMigrationHubOrchestratorClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonMigrationHubOrchestratorConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonMigrationHubOrchestratorClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonMigrationHubOrchestratorClient Configuration Object
public AmazonMigrationHubOrchestratorClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonMigrationHubOrchestratorConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonMigrationHubOrchestratorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMigrationHubOrchestratorConfig())
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonMigrationHubOrchestratorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMigrationHubOrchestratorConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonMigrationHubOrchestratorClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonMigrationHubOrchestratorClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonMigrationHubOrchestratorClient Configuration Object
public AmazonMigrationHubOrchestratorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonMigrationHubOrchestratorConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonMigrationHubOrchestratorEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region CreateWorkflow
///
/// Create a workflow to orchestrate your migrations.
///
/// Container for the necessary parameters to execute the CreateWorkflow service method.
///
/// 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
public virtual CreateWorkflowResponse CreateWorkflow(CreateWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateWorkflow operation.
///
///
/// Container for the necessary parameters to execute the CreateWorkflow operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWorkflow
/// operation.
/// REST API Reference for CreateWorkflow Operation
public virtual IAsyncResult BeginCreateWorkflow(CreateWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateWorkflow.
///
/// Returns a CreateWorkflowResult from MigrationHubOrchestrator.
/// REST API Reference for CreateWorkflow Operation
public virtual CreateWorkflowResponse EndCreateWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateWorkflowStep
///
/// Create a step in the migration workflow.
///
/// Container for the necessary parameters to execute the CreateWorkflowStep service method.
///
/// 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
public virtual CreateWorkflowStepResponse CreateWorkflowStep(CreateWorkflowStepRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowStepResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateWorkflowStep operation.
///
///
/// Container for the necessary parameters to execute the CreateWorkflowStep operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWorkflowStep
/// operation.
/// REST API Reference for CreateWorkflowStep Operation
public virtual IAsyncResult BeginCreateWorkflowStep(CreateWorkflowStepRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowStepResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateWorkflowStep operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateWorkflowStep.
///
/// Returns a CreateWorkflowStepResult from MigrationHubOrchestrator.
/// REST API Reference for CreateWorkflowStep Operation
public virtual CreateWorkflowStepResponse EndCreateWorkflowStep(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateWorkflowStepGroup
///
/// Create a step group in a migration workflow.
///
/// Container for the necessary parameters to execute the CreateWorkflowStepGroup service method.
///
/// 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
public virtual CreateWorkflowStepGroupResponse CreateWorkflowStepGroup(CreateWorkflowStepGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowStepGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateWorkflowStepGroup operation.
///
///
/// Container for the necessary parameters to execute the CreateWorkflowStepGroup operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateWorkflowStepGroup
/// operation.
/// REST API Reference for CreateWorkflowStepGroup Operation
public virtual IAsyncResult BeginCreateWorkflowStepGroup(CreateWorkflowStepGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWorkflowStepGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateWorkflowStepGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateWorkflowStepGroup.
///
/// Returns a CreateWorkflowStepGroupResult from MigrationHubOrchestrator.
/// REST API Reference for CreateWorkflowStepGroup Operation
public virtual CreateWorkflowStepGroupResponse EndCreateWorkflowStepGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual DeleteWorkflowResponse DeleteWorkflow(DeleteWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteWorkflow operation.
///
///
/// Container for the necessary parameters to execute the DeleteWorkflow operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWorkflow
/// operation.
/// REST API Reference for DeleteWorkflow Operation
public virtual IAsyncResult BeginDeleteWorkflow(DeleteWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteWorkflow.
///
/// Returns a DeleteWorkflowResult from MigrationHubOrchestrator.
/// REST API Reference for DeleteWorkflow Operation
public virtual DeleteWorkflowResponse EndDeleteWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual DeleteWorkflowStepResponse DeleteWorkflowStep(DeleteWorkflowStepRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowStepResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteWorkflowStep operation.
///
///
/// Container for the necessary parameters to execute the DeleteWorkflowStep operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWorkflowStep
/// operation.
/// REST API Reference for DeleteWorkflowStep Operation
public virtual IAsyncResult BeginDeleteWorkflowStep(DeleteWorkflowStepRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowStepResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteWorkflowStep operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteWorkflowStep.
///
/// Returns a DeleteWorkflowStepResult from MigrationHubOrchestrator.
/// REST API Reference for DeleteWorkflowStep Operation
public virtual DeleteWorkflowStepResponse EndDeleteWorkflowStep(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteWorkflowStepGroup
///
/// Delete a step group in a migration workflow.
///
/// Container for the necessary parameters to execute the DeleteWorkflowStepGroup service method.
///
/// 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
public virtual DeleteWorkflowStepGroupResponse DeleteWorkflowStepGroup(DeleteWorkflowStepGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowStepGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteWorkflowStepGroup operation.
///
///
/// Container for the necessary parameters to execute the DeleteWorkflowStepGroup operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteWorkflowStepGroup
/// operation.
/// REST API Reference for DeleteWorkflowStepGroup Operation
public virtual IAsyncResult BeginDeleteWorkflowStepGroup(DeleteWorkflowStepGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWorkflowStepGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteWorkflowStepGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteWorkflowStepGroup.
///
/// Returns a DeleteWorkflowStepGroupResult from MigrationHubOrchestrator.
/// REST API Reference for DeleteWorkflowStepGroup Operation
public virtual DeleteWorkflowStepGroupResponse EndDeleteWorkflowStepGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual GetTemplateResponse GetTemplate(GetTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetTemplate operation.
///
///
/// Container for the necessary parameters to execute the GetTemplate operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTemplate
/// operation.
/// REST API Reference for GetTemplate Operation
public virtual IAsyncResult BeginGetTemplate(GetTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginGetTemplate.
///
/// Returns a GetTemplateResult from MigrationHubOrchestrator.
/// REST API Reference for GetTemplate Operation
public virtual GetTemplateResponse EndGetTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetTemplateStep
///
/// Get a specific step in a template.
///
/// Container for the necessary parameters to execute the GetTemplateStep service method.
///
/// 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
public virtual GetTemplateStepResponse GetTemplateStep(GetTemplateStepRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemplateStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemplateStepResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetTemplateStep operation.
///
///
/// Container for the necessary parameters to execute the GetTemplateStep operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTemplateStep
/// operation.
/// REST API Reference for GetTemplateStep Operation
public virtual IAsyncResult BeginGetTemplateStep(GetTemplateStepRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemplateStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemplateStepResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetTemplateStep operation.
///
///
/// The IAsyncResult returned by the call to BeginGetTemplateStep.
///
/// Returns a GetTemplateStepResult from MigrationHubOrchestrator.
/// REST API Reference for GetTemplateStep Operation
public virtual GetTemplateStepResponse EndGetTemplateStep(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetTemplateStepGroup
///
/// Get a step group in a template.
///
/// Container for the necessary parameters to execute the GetTemplateStepGroup service method.
///
/// 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
public virtual GetTemplateStepGroupResponse GetTemplateStepGroup(GetTemplateStepGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemplateStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemplateStepGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetTemplateStepGroup operation.
///
///
/// Container for the necessary parameters to execute the GetTemplateStepGroup operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTemplateStepGroup
/// operation.
/// REST API Reference for GetTemplateStepGroup Operation
public virtual IAsyncResult BeginGetTemplateStepGroup(GetTemplateStepGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetTemplateStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetTemplateStepGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetTemplateStepGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginGetTemplateStepGroup.
///
/// Returns a GetTemplateStepGroupResult from MigrationHubOrchestrator.
/// REST API Reference for GetTemplateStepGroup Operation
public virtual GetTemplateStepGroupResponse EndGetTemplateStepGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetWorkflow
///
/// Get migration workflow.
///
/// Container for the necessary parameters to execute the GetWorkflow service method.
///
/// 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
public virtual GetWorkflowResponse GetWorkflow(GetWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetWorkflow operation.
///
///
/// Container for the necessary parameters to execute the GetWorkflow operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWorkflow
/// operation.
/// REST API Reference for GetWorkflow Operation
public virtual IAsyncResult BeginGetWorkflow(GetWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginGetWorkflow.
///
/// Returns a GetWorkflowResult from MigrationHubOrchestrator.
/// REST API Reference for GetWorkflow Operation
public virtual GetWorkflowResponse EndGetWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetWorkflowStep
///
/// Get a step in the migration workflow.
///
/// Container for the necessary parameters to execute the GetWorkflowStep service method.
///
/// 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
public virtual GetWorkflowStepResponse GetWorkflowStep(GetWorkflowStepRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkflowStepResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetWorkflowStep operation.
///
///
/// Container for the necessary parameters to execute the GetWorkflowStep operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWorkflowStep
/// operation.
/// REST API Reference for GetWorkflowStep Operation
public virtual IAsyncResult BeginGetWorkflowStep(GetWorkflowStepRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkflowStepResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetWorkflowStep operation.
///
///
/// The IAsyncResult returned by the call to BeginGetWorkflowStep.
///
/// Returns a GetWorkflowStepResult from MigrationHubOrchestrator.
/// REST API Reference for GetWorkflowStep Operation
public virtual GetWorkflowStepResponse EndGetWorkflowStep(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetWorkflowStepGroup
///
/// Get the step group of a migration workflow.
///
/// Container for the necessary parameters to execute the GetWorkflowStepGroup service method.
///
/// 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
public virtual GetWorkflowStepGroupResponse GetWorkflowStepGroup(GetWorkflowStepGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkflowStepGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetWorkflowStepGroup operation.
///
///
/// Container for the necessary parameters to execute the GetWorkflowStepGroup operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetWorkflowStepGroup
/// operation.
/// REST API Reference for GetWorkflowStepGroup Operation
public virtual IAsyncResult BeginGetWorkflowStepGroup(GetWorkflowStepGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetWorkflowStepGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetWorkflowStepGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginGetWorkflowStepGroup.
///
/// Returns a GetWorkflowStepGroupResult from MigrationHubOrchestrator.
/// REST API Reference for GetWorkflowStepGroup Operation
public virtual GetWorkflowStepGroupResponse EndGetWorkflowStepGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListPlugins
///
/// List AWS Migration Hub Orchestrator plugins.
///
/// Container for the necessary parameters to execute the ListPlugins service method.
///
/// 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
public virtual ListPluginsResponse ListPlugins(ListPluginsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPluginsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPluginsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListPlugins operation.
///
///
/// Container for the necessary parameters to execute the ListPlugins operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPlugins
/// operation.
/// REST API Reference for ListPlugins Operation
public virtual IAsyncResult BeginListPlugins(ListPluginsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPluginsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPluginsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListPlugins operation.
///
///
/// The IAsyncResult returned by the call to BeginListPlugins.
///
/// Returns a ListPluginsResult from MigrationHubOrchestrator.
/// REST API Reference for ListPlugins Operation
public virtual ListPluginsResponse EndListPlugins(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// List the tags added to a resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// 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
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from MigrationHubOrchestrator.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#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.
///
/// 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
public virtual ListTemplatesResponse ListTemplates(ListTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTemplates operation.
///
///
/// Container for the necessary parameters to execute the ListTemplates operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTemplates
/// operation.
/// REST API Reference for ListTemplates Operation
public virtual IAsyncResult BeginListTemplates(ListTemplatesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTemplates operation.
///
///
/// The IAsyncResult returned by the call to BeginListTemplates.
///
/// Returns a ListTemplatesResult from MigrationHubOrchestrator.
/// REST API Reference for ListTemplates Operation
public virtual ListTemplatesResponse EndListTemplates(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTemplateStepGroups
///
/// List the step groups in a template.
///
/// Container for the necessary parameters to execute the ListTemplateStepGroups service method.
///
/// 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
public virtual ListTemplateStepGroupsResponse ListTemplateStepGroups(ListTemplateStepGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplateStepGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplateStepGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTemplateStepGroups operation.
///
///
/// Container for the necessary parameters to execute the ListTemplateStepGroups operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTemplateStepGroups
/// operation.
/// REST API Reference for ListTemplateStepGroups Operation
public virtual IAsyncResult BeginListTemplateStepGroups(ListTemplateStepGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplateStepGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplateStepGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTemplateStepGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListTemplateStepGroups.
///
/// Returns a ListTemplateStepGroupsResult from MigrationHubOrchestrator.
/// REST API Reference for ListTemplateStepGroups Operation
public virtual ListTemplateStepGroupsResponse EndListTemplateStepGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTemplateSteps
///
/// List the steps in a template.
///
/// Container for the necessary parameters to execute the ListTemplateSteps service method.
///
/// 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
public virtual ListTemplateStepsResponse ListTemplateSteps(ListTemplateStepsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplateStepsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplateStepsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTemplateSteps operation.
///
///
/// Container for the necessary parameters to execute the ListTemplateSteps operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTemplateSteps
/// operation.
/// REST API Reference for ListTemplateSteps Operation
public virtual IAsyncResult BeginListTemplateSteps(ListTemplateStepsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplateStepsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplateStepsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTemplateSteps operation.
///
///
/// The IAsyncResult returned by the call to BeginListTemplateSteps.
///
/// Returns a ListTemplateStepsResult from MigrationHubOrchestrator.
/// REST API Reference for ListTemplateSteps Operation
public virtual ListTemplateStepsResponse EndListTemplateSteps(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListWorkflows
///
/// List the migration workflows.
///
/// Container for the necessary parameters to execute the ListWorkflows service method.
///
/// 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
public virtual ListWorkflowsResponse ListWorkflows(ListWorkflowsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListWorkflows operation.
///
///
/// Container for the necessary parameters to execute the ListWorkflows operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWorkflows
/// operation.
/// REST API Reference for ListWorkflows Operation
public virtual IAsyncResult BeginListWorkflows(ListWorkflowsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListWorkflows operation.
///
///
/// The IAsyncResult returned by the call to BeginListWorkflows.
///
/// Returns a ListWorkflowsResult from MigrationHubOrchestrator.
/// REST API Reference for ListWorkflows Operation
public virtual ListWorkflowsResponse EndListWorkflows(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListWorkflowStepGroups
///
/// List the step groups in a migration workflow.
///
/// Container for the necessary parameters to execute the ListWorkflowStepGroups service method.
///
/// 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
public virtual ListWorkflowStepGroupsResponse ListWorkflowStepGroups(ListWorkflowStepGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowStepGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowStepGroupsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListWorkflowStepGroups operation.
///
///
/// Container for the necessary parameters to execute the ListWorkflowStepGroups operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWorkflowStepGroups
/// operation.
/// REST API Reference for ListWorkflowStepGroups Operation
public virtual IAsyncResult BeginListWorkflowStepGroups(ListWorkflowStepGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowStepGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowStepGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListWorkflowStepGroups operation.
///
///
/// The IAsyncResult returned by the call to BeginListWorkflowStepGroups.
///
/// Returns a ListWorkflowStepGroupsResult from MigrationHubOrchestrator.
/// REST API Reference for ListWorkflowStepGroups Operation
public virtual ListWorkflowStepGroupsResponse EndListWorkflowStepGroups(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListWorkflowSteps
///
/// List the steps in a workflow.
///
/// Container for the necessary parameters to execute the ListWorkflowSteps service method.
///
/// 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
public virtual ListWorkflowStepsResponse ListWorkflowSteps(ListWorkflowStepsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowStepsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowStepsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListWorkflowSteps operation.
///
///
/// Container for the necessary parameters to execute the ListWorkflowSteps operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListWorkflowSteps
/// operation.
/// REST API Reference for ListWorkflowSteps Operation
public virtual IAsyncResult BeginListWorkflowSteps(ListWorkflowStepsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWorkflowStepsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWorkflowStepsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListWorkflowSteps operation.
///
///
/// The IAsyncResult returned by the call to BeginListWorkflowSteps.
///
/// Returns a ListWorkflowStepsResult from MigrationHubOrchestrator.
/// REST API Reference for ListWorkflowSteps Operation
public virtual ListWorkflowStepsResponse EndListWorkflowSteps(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RetryWorkflowStep
///
/// Retry a failed step in a migration workflow.
///
/// Container for the necessary parameters to execute the RetryWorkflowStep service method.
///
/// 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
public virtual RetryWorkflowStepResponse RetryWorkflowStep(RetryWorkflowStepRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RetryWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = RetryWorkflowStepResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RetryWorkflowStep operation.
///
///
/// Container for the necessary parameters to execute the RetryWorkflowStep operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRetryWorkflowStep
/// operation.
/// REST API Reference for RetryWorkflowStep Operation
public virtual IAsyncResult BeginRetryWorkflowStep(RetryWorkflowStepRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RetryWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = RetryWorkflowStepResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RetryWorkflowStep operation.
///
///
/// The IAsyncResult returned by the call to BeginRetryWorkflowStep.
///
/// Returns a RetryWorkflowStepResult from MigrationHubOrchestrator.
/// REST API Reference for RetryWorkflowStep Operation
public virtual RetryWorkflowStepResponse EndRetryWorkflowStep(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartWorkflow
///
/// Start a migration workflow.
///
/// Container for the necessary parameters to execute the StartWorkflow service method.
///
/// 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
public virtual StartWorkflowResponse StartWorkflow(StartWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartWorkflow operation.
///
///
/// Container for the necessary parameters to execute the StartWorkflow operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartWorkflow
/// operation.
/// REST API Reference for StartWorkflow Operation
public virtual IAsyncResult BeginStartWorkflow(StartWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginStartWorkflow.
///
/// Returns a StartWorkflowResult from MigrationHubOrchestrator.
/// REST API Reference for StartWorkflow Operation
public virtual StartWorkflowResponse EndStartWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopWorkflow
///
/// Stop an ongoing migration workflow.
///
/// Container for the necessary parameters to execute the StopWorkflow service method.
///
/// 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
public virtual StopWorkflowResponse StopWorkflow(StopWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopWorkflow operation.
///
///
/// Container for the necessary parameters to execute the StopWorkflow operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopWorkflow
/// operation.
/// REST API Reference for StopWorkflow Operation
public virtual IAsyncResult BeginStopWorkflow(StopWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginStopWorkflow.
///
/// Returns a StopWorkflowResult from MigrationHubOrchestrator.
/// REST API Reference for StopWorkflow Operation
public virtual StopWorkflowResponse EndStopWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Tag a resource by specifying its Amazon Resource Name (ARN).
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// 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
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from MigrationHubOrchestrator.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Deletes the tags for a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// 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
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from MigrationHubOrchestrator.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateWorkflow
///
/// Update a migration workflow.
///
/// Container for the necessary parameters to execute the UpdateWorkflow service method.
///
/// 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
public virtual UpdateWorkflowResponse UpdateWorkflow(UpdateWorkflowRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkflowResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateWorkflow operation.
///
///
/// Container for the necessary parameters to execute the UpdateWorkflow operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWorkflow
/// operation.
/// REST API Reference for UpdateWorkflow Operation
public virtual IAsyncResult BeginUpdateWorkflow(UpdateWorkflowRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkflowRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkflowResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateWorkflow operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateWorkflow.
///
/// Returns a UpdateWorkflowResult from MigrationHubOrchestrator.
/// REST API Reference for UpdateWorkflow Operation
public virtual UpdateWorkflowResponse EndUpdateWorkflow(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateWorkflowStep
///
/// Update a step in a migration workflow.
///
/// Container for the necessary parameters to execute the UpdateWorkflowStep service method.
///
/// 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
public virtual UpdateWorkflowStepResponse UpdateWorkflowStep(UpdateWorkflowStepRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkflowStepResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateWorkflowStep operation.
///
///
/// Container for the necessary parameters to execute the UpdateWorkflowStep operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWorkflowStep
/// operation.
/// REST API Reference for UpdateWorkflowStep Operation
public virtual IAsyncResult BeginUpdateWorkflowStep(UpdateWorkflowStepRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkflowStepRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkflowStepResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateWorkflowStep operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateWorkflowStep.
///
/// Returns a UpdateWorkflowStepResult from MigrationHubOrchestrator.
/// REST API Reference for UpdateWorkflowStep Operation
public virtual UpdateWorkflowStepResponse EndUpdateWorkflowStep(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateWorkflowStepGroup
///
/// Update the step group in a migration workflow.
///
/// Container for the necessary parameters to execute the UpdateWorkflowStepGroup service method.
///
/// 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
public virtual UpdateWorkflowStepGroupResponse UpdateWorkflowStepGroup(UpdateWorkflowStepGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkflowStepGroupResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateWorkflowStepGroup operation.
///
///
/// Container for the necessary parameters to execute the UpdateWorkflowStepGroup operation on AmazonMigrationHubOrchestratorClient.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateWorkflowStepGroup
/// operation.
/// REST API Reference for UpdateWorkflowStepGroup Operation
public virtual IAsyncResult BeginUpdateWorkflowStepGroup(UpdateWorkflowStepGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWorkflowStepGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWorkflowStepGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateWorkflowStepGroup operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateWorkflowStepGroup.
///
/// Returns a UpdateWorkflowStepGroupResult from MigrationHubOrchestrator.
/// REST API Reference for UpdateWorkflowStepGroup Operation
public virtual UpdateWorkflowStepGroupResponse EndUpdateWorkflowStepGroup(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}