/*
* 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 mgn-2020-02-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.Mgn.Model;
using Amazon.Mgn.Model.Internal.MarshallTransformations;
using Amazon.Mgn.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Mgn
{
///
/// Implementation for accessing Mgn
///
/// The Application Migration Service service.
///
public partial class AmazonMgnClient : AmazonServiceClient, IAmazonMgn
{
private static IServiceMetadata serviceMetadata = new AmazonMgnMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IMgnPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IMgnPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new MgnPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonMgnClient 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 AmazonMgnClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonMgnConfig()) { }
///
/// Constructs AmazonMgnClient 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 AmazonMgnClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonMgnConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonMgnClient 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 AmazonMgnClient Configuration Object
public AmazonMgnClient(AmazonMgnConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonMgnClient with AWS Credentials
///
/// AWS Credentials
public AmazonMgnClient(AWSCredentials credentials)
: this(credentials, new AmazonMgnConfig())
{
}
///
/// Constructs AmazonMgnClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonMgnClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonMgnConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonMgnClient with AWS Credentials and an
/// AmazonMgnClient Configuration object.
///
/// AWS Credentials
/// The AmazonMgnClient Configuration Object
public AmazonMgnClient(AWSCredentials credentials, AmazonMgnConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonMgnClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonMgnClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonMgnConfig())
{
}
///
/// Constructs AmazonMgnClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonMgnClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonMgnConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonMgnClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonMgnClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonMgnClient Configuration Object
public AmazonMgnClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonMgnConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonMgnClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonMgnClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMgnConfig())
{
}
///
/// Constructs AmazonMgnClient 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 AmazonMgnClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMgnConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonMgnClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonMgnClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonMgnClient Configuration Object
public AmazonMgnClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonMgnConfig 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 AmazonMgnEndpointResolver());
}
///
/// 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 ArchiveApplication
///
/// Archive application.
///
/// Container for the necessary parameters to execute the ArchiveApplication service method.
///
/// The response from the ArchiveApplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for ArchiveApplication Operation
public virtual ArchiveApplicationResponse ArchiveApplication(ArchiveApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ArchiveApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ArchiveApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ArchiveApplication operation.
///
///
/// Container for the necessary parameters to execute the ArchiveApplication operation on AmazonMgnClient.
/// 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 EndArchiveApplication
/// operation.
/// REST API Reference for ArchiveApplication Operation
public virtual IAsyncResult BeginArchiveApplication(ArchiveApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ArchiveApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ArchiveApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ArchiveApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginArchiveApplication.
///
/// Returns a ArchiveApplicationResult from Mgn.
/// REST API Reference for ArchiveApplication Operation
public virtual ArchiveApplicationResponse EndArchiveApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ArchiveWave
///
/// Archive wave.
///
/// Container for the necessary parameters to execute the ArchiveWave service method.
///
/// The response from the ArchiveWave service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for ArchiveWave Operation
public virtual ArchiveWaveResponse ArchiveWave(ArchiveWaveRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ArchiveWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = ArchiveWaveResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ArchiveWave operation.
///
///
/// Container for the necessary parameters to execute the ArchiveWave operation on AmazonMgnClient.
/// 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 EndArchiveWave
/// operation.
/// REST API Reference for ArchiveWave Operation
public virtual IAsyncResult BeginArchiveWave(ArchiveWaveRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ArchiveWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = ArchiveWaveResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ArchiveWave operation.
///
///
/// The IAsyncResult returned by the call to BeginArchiveWave.
///
/// Returns a ArchiveWaveResult from Mgn.
/// REST API Reference for ArchiveWave Operation
public virtual ArchiveWaveResponse EndArchiveWave(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AssociateApplications
///
/// Associate applications to wave.
///
/// Container for the necessary parameters to execute the AssociateApplications service method.
///
/// The response from the AssociateApplications service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for AssociateApplications Operation
public virtual AssociateApplicationsResponse AssociateApplications(AssociateApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateApplications operation.
///
///
/// Container for the necessary parameters to execute the AssociateApplications operation on AmazonMgnClient.
/// 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 EndAssociateApplications
/// operation.
/// REST API Reference for AssociateApplications Operation
public virtual IAsyncResult BeginAssociateApplications(AssociateApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateApplications operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateApplications.
///
/// Returns a AssociateApplicationsResult from Mgn.
/// REST API Reference for AssociateApplications Operation
public virtual AssociateApplicationsResponse EndAssociateApplications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region AssociateSourceServers
///
/// Associate source servers to application.
///
/// Container for the necessary parameters to execute the AssociateSourceServers service method.
///
/// The response from the AssociateSourceServers service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for AssociateSourceServers Operation
public virtual AssociateSourceServersResponse AssociateSourceServers(AssociateSourceServersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceServersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateSourceServers operation.
///
///
/// Container for the necessary parameters to execute the AssociateSourceServers operation on AmazonMgnClient.
/// 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 EndAssociateSourceServers
/// operation.
/// REST API Reference for AssociateSourceServers Operation
public virtual IAsyncResult BeginAssociateSourceServers(AssociateSourceServersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceServersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateSourceServers operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateSourceServers.
///
/// Returns a AssociateSourceServersResult from Mgn.
/// REST API Reference for AssociateSourceServers Operation
public virtual AssociateSourceServersResponse EndAssociateSourceServers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ChangeServerLifeCycleState
///
/// Allows the user to set the SourceServer.LifeCycle.state property for specific Source
/// Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command
/// only works if the Source Server is already launchable (dataReplicationInfo.lagDuration
/// is not null.)
///
/// Container for the necessary parameters to execute the ChangeServerLifeCycleState service method.
///
/// The response from the ChangeServerLifeCycleState service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for ChangeServerLifeCycleState Operation
public virtual ChangeServerLifeCycleStateResponse ChangeServerLifeCycleState(ChangeServerLifeCycleStateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ChangeServerLifeCycleStateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ChangeServerLifeCycleStateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ChangeServerLifeCycleState operation.
///
///
/// Container for the necessary parameters to execute the ChangeServerLifeCycleState operation on AmazonMgnClient.
/// 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 EndChangeServerLifeCycleState
/// operation.
/// REST API Reference for ChangeServerLifeCycleState Operation
public virtual IAsyncResult BeginChangeServerLifeCycleState(ChangeServerLifeCycleStateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ChangeServerLifeCycleStateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ChangeServerLifeCycleStateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ChangeServerLifeCycleState operation.
///
///
/// The IAsyncResult returned by the call to BeginChangeServerLifeCycleState.
///
/// Returns a ChangeServerLifeCycleStateResult from Mgn.
/// REST API Reference for ChangeServerLifeCycleState Operation
public virtual ChangeServerLifeCycleStateResponse EndChangeServerLifeCycleState(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateApplication
///
/// Create application.
///
/// Container for the necessary parameters to execute the CreateApplication service method.
///
/// The response from the CreateApplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for CreateApplication Operation
public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateApplication operation.
///
///
/// Container for the necessary parameters to execute the CreateApplication operation on AmazonMgnClient.
/// 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 EndCreateApplication
/// operation.
/// REST API Reference for CreateApplication Operation
public virtual IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateApplication.
///
/// Returns a CreateApplicationResult from Mgn.
/// REST API Reference for CreateApplication Operation
public virtual CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateLaunchConfigurationTemplate
///
/// Creates a new Launch Configuration Template.
///
/// Container for the necessary parameters to execute the CreateLaunchConfigurationTemplate service method.
///
/// The response from the CreateLaunchConfigurationTemplate service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for CreateLaunchConfigurationTemplate Operation
public virtual CreateLaunchConfigurationTemplateResponse CreateLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateLaunchConfigurationTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateLaunchConfigurationTemplate operation on AmazonMgnClient.
/// 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 EndCreateLaunchConfigurationTemplate
/// operation.
/// REST API Reference for CreateLaunchConfigurationTemplate Operation
public virtual IAsyncResult BeginCreateLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateLaunchConfigurationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateLaunchConfigurationTemplate.
///
/// Returns a CreateLaunchConfigurationTemplateResult from Mgn.
/// REST API Reference for CreateLaunchConfigurationTemplate Operation
public virtual CreateLaunchConfigurationTemplateResponse EndCreateLaunchConfigurationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateReplicationConfigurationTemplate
///
/// Creates a new ReplicationConfigurationTemplate.
///
/// Container for the necessary parameters to execute the CreateReplicationConfigurationTemplate service method.
///
/// The response from the CreateReplicationConfigurationTemplate service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for CreateReplicationConfigurationTemplate Operation
public virtual CreateReplicationConfigurationTemplateResponse CreateReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateReplicationConfigurationTemplate operation.
///
///
/// Container for the necessary parameters to execute the CreateReplicationConfigurationTemplate operation on AmazonMgnClient.
/// 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 EndCreateReplicationConfigurationTemplate
/// operation.
/// REST API Reference for CreateReplicationConfigurationTemplate Operation
public virtual IAsyncResult BeginCreateReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateReplicationConfigurationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateReplicationConfigurationTemplate.
///
/// Returns a CreateReplicationConfigurationTemplateResult from Mgn.
/// REST API Reference for CreateReplicationConfigurationTemplate Operation
public virtual CreateReplicationConfigurationTemplateResponse EndCreateReplicationConfigurationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateWave
///
/// Create wave.
///
/// Container for the necessary parameters to execute the CreateWave service method.
///
/// The response from the CreateWave service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for CreateWave Operation
public virtual CreateWaveResponse CreateWave(CreateWaveRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWaveResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateWave operation.
///
///
/// Container for the necessary parameters to execute the CreateWave operation on AmazonMgnClient.
/// 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 EndCreateWave
/// operation.
/// REST API Reference for CreateWave Operation
public virtual IAsyncResult BeginCreateWave(CreateWaveRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateWaveResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateWave operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateWave.
///
/// Returns a CreateWaveResult from Mgn.
/// REST API Reference for CreateWave Operation
public virtual CreateWaveResponse EndCreateWave(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteApplication
///
/// Delete application.
///
/// Container for the necessary parameters to execute the DeleteApplication service method.
///
/// The response from the DeleteApplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DeleteApplication Operation
public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteApplication operation.
///
///
/// Container for the necessary parameters to execute the DeleteApplication operation on AmazonMgnClient.
/// 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 EndDeleteApplication
/// operation.
/// REST API Reference for DeleteApplication Operation
public virtual IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteApplication.
///
/// Returns a DeleteApplicationResult from Mgn.
/// REST API Reference for DeleteApplication Operation
public virtual DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteJob
///
/// Deletes a single Job by ID.
///
/// Container for the necessary parameters to execute the DeleteJob service method.
///
/// The response from the DeleteJob service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DeleteJob Operation
public virtual DeleteJobResponse DeleteJob(DeleteJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteJob operation.
///
///
/// Container for the necessary parameters to execute the DeleteJob operation on AmazonMgnClient.
/// 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 EndDeleteJob
/// operation.
/// REST API Reference for DeleteJob Operation
public virtual IAsyncResult BeginDeleteJob(DeleteJobRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteJob operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteJob.
///
/// Returns a DeleteJobResult from Mgn.
/// REST API Reference for DeleteJob Operation
public virtual DeleteJobResponse EndDeleteJob(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteLaunchConfigurationTemplate
///
/// Deletes a single Launch Configuration Template by ID.
///
/// Container for the necessary parameters to execute the DeleteLaunchConfigurationTemplate service method.
///
/// The response from the DeleteLaunchConfigurationTemplate service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DeleteLaunchConfigurationTemplate Operation
public virtual DeleteLaunchConfigurationTemplateResponse DeleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteLaunchConfigurationTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteLaunchConfigurationTemplate operation on AmazonMgnClient.
/// 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 EndDeleteLaunchConfigurationTemplate
/// operation.
/// REST API Reference for DeleteLaunchConfigurationTemplate Operation
public virtual IAsyncResult BeginDeleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteLaunchConfigurationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteLaunchConfigurationTemplate.
///
/// Returns a DeleteLaunchConfigurationTemplateResult from Mgn.
/// REST API Reference for DeleteLaunchConfigurationTemplate Operation
public virtual DeleteLaunchConfigurationTemplateResponse EndDeleteLaunchConfigurationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteReplicationConfigurationTemplate
///
/// Deletes a single Replication Configuration Template by ID
///
/// Container for the necessary parameters to execute the DeleteReplicationConfigurationTemplate service method.
///
/// The response from the DeleteReplicationConfigurationTemplate service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DeleteReplicationConfigurationTemplate Operation
public virtual DeleteReplicationConfigurationTemplateResponse DeleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteReplicationConfigurationTemplate operation.
///
///
/// Container for the necessary parameters to execute the DeleteReplicationConfigurationTemplate operation on AmazonMgnClient.
/// 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 EndDeleteReplicationConfigurationTemplate
/// operation.
/// REST API Reference for DeleteReplicationConfigurationTemplate Operation
public virtual IAsyncResult BeginDeleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteReplicationConfigurationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteReplicationConfigurationTemplate.
///
/// Returns a DeleteReplicationConfigurationTemplateResult from Mgn.
/// REST API Reference for DeleteReplicationConfigurationTemplate Operation
public virtual DeleteReplicationConfigurationTemplateResponse EndDeleteReplicationConfigurationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteSourceServer
///
/// Deletes a single source server by ID.
///
/// Container for the necessary parameters to execute the DeleteSourceServer service method.
///
/// The response from the DeleteSourceServer service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DeleteSourceServer Operation
public virtual DeleteSourceServerResponse DeleteSourceServer(DeleteSourceServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSourceServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteSourceServer operation.
///
///
/// Container for the necessary parameters to execute the DeleteSourceServer operation on AmazonMgnClient.
/// 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 EndDeleteSourceServer
/// operation.
/// REST API Reference for DeleteSourceServer Operation
public virtual IAsyncResult BeginDeleteSourceServer(DeleteSourceServerRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSourceServerResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteSourceServer operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteSourceServer.
///
/// Returns a DeleteSourceServerResult from Mgn.
/// REST API Reference for DeleteSourceServer Operation
public virtual DeleteSourceServerResponse EndDeleteSourceServer(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteVcenterClient
///
/// Deletes a given vCenter client by ID.
///
/// Container for the necessary parameters to execute the DeleteVcenterClient service method.
///
/// The response from the DeleteVcenterClient service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DeleteVcenterClient Operation
public virtual DeleteVcenterClientResponse DeleteVcenterClient(DeleteVcenterClientRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVcenterClientRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVcenterClientResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteVcenterClient operation.
///
///
/// Container for the necessary parameters to execute the DeleteVcenterClient operation on AmazonMgnClient.
/// 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 EndDeleteVcenterClient
/// operation.
/// REST API Reference for DeleteVcenterClient Operation
public virtual IAsyncResult BeginDeleteVcenterClient(DeleteVcenterClientRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteVcenterClientRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteVcenterClientResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteVcenterClient operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteVcenterClient.
///
/// Returns a DeleteVcenterClientResult from Mgn.
/// REST API Reference for DeleteVcenterClient Operation
public virtual DeleteVcenterClientResponse EndDeleteVcenterClient(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteWave
///
/// Delete wave.
///
/// Container for the necessary parameters to execute the DeleteWave service method.
///
/// The response from the DeleteWave service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DeleteWave Operation
public virtual DeleteWaveResponse DeleteWave(DeleteWaveRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWaveResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteWave operation.
///
///
/// Container for the necessary parameters to execute the DeleteWave operation on AmazonMgnClient.
/// 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 EndDeleteWave
/// operation.
/// REST API Reference for DeleteWave Operation
public virtual IAsyncResult BeginDeleteWave(DeleteWaveRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteWaveResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteWave operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteWave.
///
/// Returns a DeleteWaveResult from Mgn.
/// REST API Reference for DeleteWave Operation
public virtual DeleteWaveResponse EndDeleteWave(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeJobLogItems
///
/// Retrieves detailed job log items with paging.
///
/// Container for the necessary parameters to execute the DescribeJobLogItems service method.
///
/// The response from the DescribeJobLogItems service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DescribeJobLogItems Operation
public virtual DescribeJobLogItemsResponse DescribeJobLogItems(DescribeJobLogItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobLogItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobLogItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeJobLogItems operation.
///
///
/// Container for the necessary parameters to execute the DescribeJobLogItems operation on AmazonMgnClient.
/// 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 EndDescribeJobLogItems
/// operation.
/// REST API Reference for DescribeJobLogItems Operation
public virtual IAsyncResult BeginDescribeJobLogItems(DescribeJobLogItemsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobLogItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobLogItemsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeJobLogItems operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeJobLogItems.
///
/// Returns a DescribeJobLogItemsResult from Mgn.
/// REST API Reference for DescribeJobLogItems Operation
public virtual DescribeJobLogItemsResponse EndDescribeJobLogItems(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeJobs
///
/// Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which
/// jobs are returned. The response is sorted by creationDataTime - latest date first.
/// Jobs are normally created by the StartTest, StartCutover, and TerminateTargetInstances
/// APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances,
/// which are APIs available only to *Support* and only used in response to relevant support
/// tickets.
///
/// Container for the necessary parameters to execute the DescribeJobs service method.
///
/// The response from the DescribeJobs service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DescribeJobs Operation
public virtual DescribeJobsResponse DescribeJobs(DescribeJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeJobs operation.
///
///
/// Container for the necessary parameters to execute the DescribeJobs operation on AmazonMgnClient.
/// 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 EndDescribeJobs
/// operation.
/// REST API Reference for DescribeJobs Operation
public virtual IAsyncResult BeginDescribeJobs(DescribeJobsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeJobs operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeJobs.
///
/// Returns a DescribeJobsResult from Mgn.
/// REST API Reference for DescribeJobs Operation
public virtual DescribeJobsResponse EndDescribeJobs(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeLaunchConfigurationTemplates
///
/// Lists all Launch Configuration Templates, filtered by Launch Configuration Template
/// IDs
///
/// Container for the necessary parameters to execute the DescribeLaunchConfigurationTemplates service method.
///
/// The response from the DescribeLaunchConfigurationTemplates service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DescribeLaunchConfigurationTemplates Operation
public virtual DescribeLaunchConfigurationTemplatesResponse DescribeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLaunchConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLaunchConfigurationTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeLaunchConfigurationTemplates operation.
///
///
/// Container for the necessary parameters to execute the DescribeLaunchConfigurationTemplates operation on AmazonMgnClient.
/// 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 EndDescribeLaunchConfigurationTemplates
/// operation.
/// REST API Reference for DescribeLaunchConfigurationTemplates Operation
public virtual IAsyncResult BeginDescribeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLaunchConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLaunchConfigurationTemplatesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeLaunchConfigurationTemplates operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeLaunchConfigurationTemplates.
///
/// Returns a DescribeLaunchConfigurationTemplatesResult from Mgn.
/// REST API Reference for DescribeLaunchConfigurationTemplates Operation
public virtual DescribeLaunchConfigurationTemplatesResponse EndDescribeLaunchConfigurationTemplates(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeReplicationConfigurationTemplates
///
/// Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
///
/// Container for the necessary parameters to execute the DescribeReplicationConfigurationTemplates service method.
///
/// The response from the DescribeReplicationConfigurationTemplates service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DescribeReplicationConfigurationTemplates Operation
public virtual DescribeReplicationConfigurationTemplatesResponse DescribeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReplicationConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReplicationConfigurationTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeReplicationConfigurationTemplates operation.
///
///
/// Container for the necessary parameters to execute the DescribeReplicationConfigurationTemplates operation on AmazonMgnClient.
/// 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 EndDescribeReplicationConfigurationTemplates
/// operation.
/// REST API Reference for DescribeReplicationConfigurationTemplates Operation
public virtual IAsyncResult BeginDescribeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReplicationConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReplicationConfigurationTemplatesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeReplicationConfigurationTemplates operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeReplicationConfigurationTemplates.
///
/// Returns a DescribeReplicationConfigurationTemplatesResult from Mgn.
/// REST API Reference for DescribeReplicationConfigurationTemplates Operation
public virtual DescribeReplicationConfigurationTemplatesResponse EndDescribeReplicationConfigurationTemplates(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeSourceServers
///
/// Retrieves all SourceServers or multiple SourceServers by ID.
///
/// Container for the necessary parameters to execute the DescribeSourceServers service method.
///
/// The response from the DescribeSourceServers service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DescribeSourceServers Operation
public virtual DescribeSourceServersResponse DescribeSourceServers(DescribeSourceServersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSourceServersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeSourceServers operation.
///
///
/// Container for the necessary parameters to execute the DescribeSourceServers operation on AmazonMgnClient.
/// 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 EndDescribeSourceServers
/// operation.
/// REST API Reference for DescribeSourceServers Operation
public virtual IAsyncResult BeginDescribeSourceServers(DescribeSourceServersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSourceServersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeSourceServers operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeSourceServers.
///
/// Returns a DescribeSourceServersResult from Mgn.
/// REST API Reference for DescribeSourceServers Operation
public virtual DescribeSourceServersResponse EndDescribeSourceServers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeVcenterClients
///
/// Returns a list of the installed vCenter clients.
///
/// Container for the necessary parameters to execute the DescribeVcenterClients service method.
///
/// The response from the DescribeVcenterClients service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for DescribeVcenterClients Operation
public virtual DescribeVcenterClientsResponse DescribeVcenterClients(DescribeVcenterClientsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVcenterClientsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVcenterClientsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeVcenterClients operation.
///
///
/// Container for the necessary parameters to execute the DescribeVcenterClients operation on AmazonMgnClient.
/// 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 EndDescribeVcenterClients
/// operation.
/// REST API Reference for DescribeVcenterClients Operation
public virtual IAsyncResult BeginDescribeVcenterClients(DescribeVcenterClientsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeVcenterClientsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeVcenterClientsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeVcenterClients operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeVcenterClients.
///
/// Returns a DescribeVcenterClientsResult from Mgn.
/// REST API Reference for DescribeVcenterClients Operation
public virtual DescribeVcenterClientsResponse EndDescribeVcenterClients(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateApplications
///
/// Disassociate applications from wave.
///
/// Container for the necessary parameters to execute the DisassociateApplications service method.
///
/// The response from the DisassociateApplications service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DisassociateApplications Operation
public virtual DisassociateApplicationsResponse DisassociateApplications(DisassociateApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateApplications operation.
///
///
/// Container for the necessary parameters to execute the DisassociateApplications operation on AmazonMgnClient.
/// 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 EndDisassociateApplications
/// operation.
/// REST API Reference for DisassociateApplications Operation
public virtual IAsyncResult BeginDisassociateApplications(DisassociateApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateApplications operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateApplications.
///
/// Returns a DisassociateApplicationsResult from Mgn.
/// REST API Reference for DisassociateApplications Operation
public virtual DisassociateApplicationsResponse EndDisassociateApplications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateSourceServers
///
/// Disassociate source servers from application.
///
/// Container for the necessary parameters to execute the DisassociateSourceServers service method.
///
/// The response from the DisassociateSourceServers service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DisassociateSourceServers Operation
public virtual DisassociateSourceServersResponse DisassociateSourceServers(DisassociateSourceServersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSourceServersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateSourceServers operation.
///
///
/// Container for the necessary parameters to execute the DisassociateSourceServers operation on AmazonMgnClient.
/// 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 EndDisassociateSourceServers
/// operation.
/// REST API Reference for DisassociateSourceServers Operation
public virtual IAsyncResult BeginDisassociateSourceServers(DisassociateSourceServersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateSourceServersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateSourceServers operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateSourceServers.
///
/// Returns a DisassociateSourceServersResult from Mgn.
/// REST API Reference for DisassociateSourceServers Operation
public virtual DisassociateSourceServersResponse EndDisassociateSourceServers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisconnectFromService
///
/// Disconnects specific Source Servers from Application Migration Service. Data replication
/// is stopped immediately. All AWS resources created by Application Migration Service
/// for enabling the replication of these source servers will be terminated / deleted
/// within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the
/// agent on the source server has not been prevented from communicating with the Application
/// Migration Service service, then it will receive a command to uninstall itself (within
/// approximately 10 minutes). The following properties of the SourceServer will be changed
/// immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED;
/// The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will
/// be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration
/// will be nullified.
///
/// Container for the necessary parameters to execute the DisconnectFromService service method.
///
/// The response from the DisconnectFromService service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for DisconnectFromService Operation
public virtual DisconnectFromServiceResponse DisconnectFromService(DisconnectFromServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisconnectFromServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisconnectFromServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisconnectFromService operation.
///
///
/// Container for the necessary parameters to execute the DisconnectFromService operation on AmazonMgnClient.
/// 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 EndDisconnectFromService
/// operation.
/// REST API Reference for DisconnectFromService Operation
public virtual IAsyncResult BeginDisconnectFromService(DisconnectFromServiceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisconnectFromServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisconnectFromServiceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisconnectFromService operation.
///
///
/// The IAsyncResult returned by the call to BeginDisconnectFromService.
///
/// Returns a DisconnectFromServiceResult from Mgn.
/// REST API Reference for DisconnectFromService Operation
public virtual DisconnectFromServiceResponse EndDisconnectFromService(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region FinalizeCutover
///
/// Finalizes the cutover immediately for specific Source Servers. All AWS resources created
/// by Application Migration Service for enabling the replication of these source servers
/// will be terminated / deleted within 90 minutes. Launched Test or Cutover instances
/// will NOT be terminated. The AWS Replication Agent will receive a command to uninstall
/// itself (within 10 minutes). The following properties of the SourceServer will be changed
/// immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED;
/// The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes
/// property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration
/// and dataReplicationInfo.lagDuration will be nullified.
///
/// Container for the necessary parameters to execute the FinalizeCutover service method.
///
/// The response from the FinalizeCutover service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for FinalizeCutover Operation
public virtual FinalizeCutoverResponse FinalizeCutover(FinalizeCutoverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = FinalizeCutoverRequestMarshaller.Instance;
options.ResponseUnmarshaller = FinalizeCutoverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the FinalizeCutover operation.
///
///
/// Container for the necessary parameters to execute the FinalizeCutover operation on AmazonMgnClient.
/// 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 EndFinalizeCutover
/// operation.
/// REST API Reference for FinalizeCutover Operation
public virtual IAsyncResult BeginFinalizeCutover(FinalizeCutoverRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = FinalizeCutoverRequestMarshaller.Instance;
options.ResponseUnmarshaller = FinalizeCutoverResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the FinalizeCutover operation.
///
///
/// The IAsyncResult returned by the call to BeginFinalizeCutover.
///
/// Returns a FinalizeCutoverResult from Mgn.
/// REST API Reference for FinalizeCutover Operation
public virtual FinalizeCutoverResponse EndFinalizeCutover(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetLaunchConfiguration
///
/// Lists all LaunchConfigurations available, filtered by Source Server IDs.
///
/// Container for the necessary parameters to execute the GetLaunchConfiguration service method.
///
/// The response from the GetLaunchConfiguration service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for GetLaunchConfiguration Operation
public virtual GetLaunchConfigurationResponse GetLaunchConfiguration(GetLaunchConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetLaunchConfiguration operation.
///
///
/// Container for the necessary parameters to execute the GetLaunchConfiguration operation on AmazonMgnClient.
/// 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 EndGetLaunchConfiguration
/// operation.
/// REST API Reference for GetLaunchConfiguration Operation
public virtual IAsyncResult BeginGetLaunchConfiguration(GetLaunchConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetLaunchConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetLaunchConfiguration.
///
/// Returns a GetLaunchConfigurationResult from Mgn.
/// REST API Reference for GetLaunchConfiguration Operation
public virtual GetLaunchConfigurationResponse EndGetLaunchConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetReplicationConfiguration
///
/// Lists all ReplicationConfigurations, filtered by Source Server ID.
///
/// Container for the necessary parameters to execute the GetReplicationConfiguration service method.
///
/// The response from the GetReplicationConfiguration service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for GetReplicationConfiguration Operation
public virtual GetReplicationConfigurationResponse GetReplicationConfiguration(GetReplicationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetReplicationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetReplicationConfiguration operation.
///
///
/// Container for the necessary parameters to execute the GetReplicationConfiguration operation on AmazonMgnClient.
/// 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 EndGetReplicationConfiguration
/// operation.
/// REST API Reference for GetReplicationConfiguration Operation
public virtual IAsyncResult BeginGetReplicationConfiguration(GetReplicationConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetReplicationConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetReplicationConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetReplicationConfiguration.
///
/// Returns a GetReplicationConfigurationResult from Mgn.
/// REST API Reference for GetReplicationConfiguration Operation
public virtual GetReplicationConfigurationResponse EndGetReplicationConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region InitializeService
///
/// Initialize Application Migration Service.
///
/// Container for the necessary parameters to execute the InitializeService service method.
///
/// The response from the InitializeService service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// Validate exception.
///
/// REST API Reference for InitializeService Operation
public virtual InitializeServiceResponse InitializeService(InitializeServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = InitializeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = InitializeServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the InitializeService operation.
///
///
/// Container for the necessary parameters to execute the InitializeService operation on AmazonMgnClient.
/// 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 EndInitializeService
/// operation.
/// REST API Reference for InitializeService Operation
public virtual IAsyncResult BeginInitializeService(InitializeServiceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = InitializeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = InitializeServiceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the InitializeService operation.
///
///
/// The IAsyncResult returned by the call to BeginInitializeService.
///
/// Returns a InitializeServiceResult from Mgn.
/// REST API Reference for InitializeService Operation
public virtual InitializeServiceResponse EndInitializeService(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListApplications
///
/// Retrieves all applications or multiple applications by ID.
///
/// Container for the necessary parameters to execute the ListApplications service method.
///
/// The response from the ListApplications service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListApplications operation.
///
///
/// Container for the necessary parameters to execute the ListApplications operation on AmazonMgnClient.
/// 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 EndListApplications
/// operation.
/// REST API Reference for ListApplications Operation
public virtual IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListApplications operation.
///
///
/// The IAsyncResult returned by the call to BeginListApplications.
///
/// Returns a ListApplicationsResult from Mgn.
/// REST API Reference for ListApplications Operation
public virtual ListApplicationsResponse EndListApplications(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListExportErrors
///
/// List export errors.
///
/// Container for the necessary parameters to execute the ListExportErrors service method.
///
/// The response from the ListExportErrors service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for ListExportErrors Operation
public virtual ListExportErrorsResponse ListExportErrors(ListExportErrorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExportErrorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExportErrorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListExportErrors operation.
///
///
/// Container for the necessary parameters to execute the ListExportErrors operation on AmazonMgnClient.
/// 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 EndListExportErrors
/// operation.
/// REST API Reference for ListExportErrors Operation
public virtual IAsyncResult BeginListExportErrors(ListExportErrorsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExportErrorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExportErrorsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListExportErrors operation.
///
///
/// The IAsyncResult returned by the call to BeginListExportErrors.
///
/// Returns a ListExportErrorsResult from Mgn.
/// REST API Reference for ListExportErrors Operation
public virtual ListExportErrorsResponse EndListExportErrors(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListExports
///
/// List exports.
///
/// Container for the necessary parameters to execute the ListExports service method.
///
/// The response from the ListExports service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
/// REST API Reference for ListExports Operation
public virtual ListExportsResponse ListExports(ListExportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListExports operation.
///
///
/// Container for the necessary parameters to execute the ListExports operation on AmazonMgnClient.
/// 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 EndListExports
/// operation.
/// REST API Reference for ListExports Operation
public virtual IAsyncResult BeginListExports(ListExportsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExportsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListExports operation.
///
///
/// The IAsyncResult returned by the call to BeginListExports.
///
/// Returns a ListExportsResult from Mgn.
/// REST API Reference for ListExports Operation
public virtual ListExportsResponse EndListExports(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListImportErrors
///
/// List import errors.
///
/// Container for the necessary parameters to execute the ListImportErrors service method.
///
/// The response from the ListImportErrors service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for ListImportErrors Operation
public virtual ListImportErrorsResponse ListImportErrors(ListImportErrorsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListImportErrorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListImportErrorsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListImportErrors operation.
///
///
/// Container for the necessary parameters to execute the ListImportErrors operation on AmazonMgnClient.
/// 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 EndListImportErrors
/// operation.
/// REST API Reference for ListImportErrors Operation
public virtual IAsyncResult BeginListImportErrors(ListImportErrorsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListImportErrorsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListImportErrorsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListImportErrors operation.
///
///
/// The IAsyncResult returned by the call to BeginListImportErrors.
///
/// Returns a ListImportErrorsResult from Mgn.
/// REST API Reference for ListImportErrors Operation
public virtual ListImportErrorsResponse EndListImportErrors(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListImports
///
/// List imports.
///
/// Container for the necessary parameters to execute the ListImports service method.
///
/// The response from the ListImports service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for ListImports Operation
public virtual ListImportsResponse ListImports(ListImportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListImportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListImports operation.
///
///
/// Container for the necessary parameters to execute the ListImports operation on AmazonMgnClient.
/// 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 EndListImports
/// operation.
/// REST API Reference for ListImports Operation
public virtual IAsyncResult BeginListImports(ListImportsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListImportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListImportsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListImports operation.
///
///
/// The IAsyncResult returned by the call to BeginListImports.
///
/// Returns a ListImportsResult from Mgn.
/// REST API Reference for ListImports Operation
public virtual ListImportsResponse EndListImports(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListManagedAccounts
///
/// List Managed Accounts.
///
/// Container for the necessary parameters to execute the ListManagedAccounts service method.
///
/// The response from the ListManagedAccounts service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for ListManagedAccounts Operation
public virtual ListManagedAccountsResponse ListManagedAccounts(ListManagedAccountsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListManagedAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListManagedAccountsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListManagedAccounts operation.
///
///
/// Container for the necessary parameters to execute the ListManagedAccounts operation on AmazonMgnClient.
/// 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 EndListManagedAccounts
/// operation.
/// REST API Reference for ListManagedAccounts Operation
public virtual IAsyncResult BeginListManagedAccounts(ListManagedAccountsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListManagedAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListManagedAccountsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListManagedAccounts operation.
///
///
/// The IAsyncResult returned by the call to BeginListManagedAccounts.
///
/// Returns a ListManagedAccountsResult from Mgn.
/// REST API Reference for ListManagedAccounts Operation
public virtual ListManagedAccountsResponse EndListManagedAccounts(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListSourceServerActions
///
/// List source server post migration custom actions.
///
/// Container for the necessary parameters to execute the ListSourceServerActions service method.
///
/// The response from the ListSourceServerActions service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for ListSourceServerActions Operation
public virtual ListSourceServerActionsResponse ListSourceServerActions(ListSourceServerActionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSourceServerActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSourceServerActionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListSourceServerActions operation.
///
///
/// Container for the necessary parameters to execute the ListSourceServerActions operation on AmazonMgnClient.
/// 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 EndListSourceServerActions
/// operation.
/// REST API Reference for ListSourceServerActions Operation
public virtual IAsyncResult BeginListSourceServerActions(ListSourceServerActionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListSourceServerActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListSourceServerActionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListSourceServerActions operation.
///
///
/// The IAsyncResult returned by the call to BeginListSourceServerActions.
///
/// Returns a ListSourceServerActionsResult from Mgn.
/// REST API Reference for ListSourceServerActions Operation
public virtual ListSourceServerActionsResponse EndListSourceServerActions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// List all tags for your Application Migration Service resources.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// The server encountered an unexpected condition that prevented it from fulfilling the
/// request.
///
///
/// Resource not found exception.
///
///
/// Reached throttling quota exception.
///
///
/// Validate exception.
///
/// 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 AmazonMgnClient.
/// 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 Mgn.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTemplateActions
///
/// List template post migration custom actions.
///
/// Container for the necessary parameters to execute the ListTemplateActions service method.
///
/// The response from the ListTemplateActions service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for ListTemplateActions Operation
public virtual ListTemplateActionsResponse ListTemplateActions(ListTemplateActionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplateActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplateActionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTemplateActions operation.
///
///
/// Container for the necessary parameters to execute the ListTemplateActions operation on AmazonMgnClient.
/// 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 EndListTemplateActions
/// operation.
/// REST API Reference for ListTemplateActions Operation
public virtual IAsyncResult BeginListTemplateActions(ListTemplateActionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTemplateActionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTemplateActionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListTemplateActions operation.
///
///
/// The IAsyncResult returned by the call to BeginListTemplateActions.
///
/// Returns a ListTemplateActionsResult from Mgn.
/// REST API Reference for ListTemplateActions Operation
public virtual ListTemplateActionsResponse EndListTemplateActions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListWaves
///
/// Retrieves all waves or multiple waves by ID.
///
/// Container for the necessary parameters to execute the ListWaves service method.
///
/// The response from the ListWaves service method, as returned by Mgn.
///
/// Uninitialized account exception.
///
/// REST API Reference for ListWaves Operation
public virtual ListWavesResponse ListWaves(ListWavesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWavesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWavesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListWaves operation.
///
///
/// Container for the necessary parameters to execute the ListWaves operation on AmazonMgnClient.
/// 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 EndListWaves
/// operation.
/// REST API Reference for ListWaves Operation
public virtual IAsyncResult BeginListWaves(ListWavesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListWavesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListWavesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListWaves operation.
///
///
/// The IAsyncResult returned by the call to BeginListWaves.
///
/// Returns a ListWavesResult from Mgn.
/// REST API Reference for ListWaves Operation
public virtual ListWavesResponse EndListWaves(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region MarkAsArchived
///
/// Archives specific Source Servers by setting the SourceServer.isArchived property to
/// true for specified SourceServers by ID. This command only works for SourceServers
/// with a lifecycle. state which equals DISCONNECTED or CUTOVER.
///
/// Container for the necessary parameters to execute the MarkAsArchived service method.
///
/// The response from the MarkAsArchived service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for MarkAsArchived Operation
public virtual MarkAsArchivedResponse MarkAsArchived(MarkAsArchivedRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = MarkAsArchivedRequestMarshaller.Instance;
options.ResponseUnmarshaller = MarkAsArchivedResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the MarkAsArchived operation.
///
///
/// Container for the necessary parameters to execute the MarkAsArchived operation on AmazonMgnClient.
/// 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 EndMarkAsArchived
/// operation.
/// REST API Reference for MarkAsArchived Operation
public virtual IAsyncResult BeginMarkAsArchived(MarkAsArchivedRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = MarkAsArchivedRequestMarshaller.Instance;
options.ResponseUnmarshaller = MarkAsArchivedResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the MarkAsArchived operation.
///
///
/// The IAsyncResult returned by the call to BeginMarkAsArchived.
///
/// Returns a MarkAsArchivedResult from Mgn.
/// REST API Reference for MarkAsArchived Operation
public virtual MarkAsArchivedResponse EndMarkAsArchived(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PauseReplication
///
/// Pause Replication.
///
/// Container for the necessary parameters to execute the PauseReplication service method.
///
/// The response from the PauseReplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for PauseReplication Operation
public virtual PauseReplicationResponse PauseReplication(PauseReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PauseReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PauseReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PauseReplication operation.
///
///
/// Container for the necessary parameters to execute the PauseReplication operation on AmazonMgnClient.
/// 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 EndPauseReplication
/// operation.
/// REST API Reference for PauseReplication Operation
public virtual IAsyncResult BeginPauseReplication(PauseReplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PauseReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PauseReplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PauseReplication operation.
///
///
/// The IAsyncResult returned by the call to BeginPauseReplication.
///
/// Returns a PauseReplicationResult from Mgn.
/// REST API Reference for PauseReplication Operation
public virtual PauseReplicationResponse EndPauseReplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutSourceServerAction
///
/// Put source server post migration custom action.
///
/// Container for the necessary parameters to execute the PutSourceServerAction service method.
///
/// The response from the PutSourceServerAction service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for PutSourceServerAction Operation
public virtual PutSourceServerActionResponse PutSourceServerAction(PutSourceServerActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutSourceServerActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutSourceServerActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutSourceServerAction operation.
///
///
/// Container for the necessary parameters to execute the PutSourceServerAction operation on AmazonMgnClient.
/// 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 EndPutSourceServerAction
/// operation.
/// REST API Reference for PutSourceServerAction Operation
public virtual IAsyncResult BeginPutSourceServerAction(PutSourceServerActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutSourceServerActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutSourceServerActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutSourceServerAction operation.
///
///
/// The IAsyncResult returned by the call to BeginPutSourceServerAction.
///
/// Returns a PutSourceServerActionResult from Mgn.
/// REST API Reference for PutSourceServerAction Operation
public virtual PutSourceServerActionResponse EndPutSourceServerAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region PutTemplateAction
///
/// Put template post migration custom action.
///
/// Container for the necessary parameters to execute the PutTemplateAction service method.
///
/// The response from the PutTemplateAction service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for PutTemplateAction Operation
public virtual PutTemplateActionResponse PutTemplateAction(PutTemplateActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutTemplateActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutTemplateActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the PutTemplateAction operation.
///
///
/// Container for the necessary parameters to execute the PutTemplateAction operation on AmazonMgnClient.
/// 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 EndPutTemplateAction
/// operation.
/// REST API Reference for PutTemplateAction Operation
public virtual IAsyncResult BeginPutTemplateAction(PutTemplateActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutTemplateActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutTemplateActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the PutTemplateAction operation.
///
///
/// The IAsyncResult returned by the call to BeginPutTemplateAction.
///
/// Returns a PutTemplateActionResult from Mgn.
/// REST API Reference for PutTemplateAction Operation
public virtual PutTemplateActionResponse EndPutTemplateAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RemoveSourceServerAction
///
/// Remove source server post migration custom action.
///
/// Container for the necessary parameters to execute the RemoveSourceServerAction service method.
///
/// The response from the RemoveSourceServerAction service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for RemoveSourceServerAction Operation
public virtual RemoveSourceServerActionResponse RemoveSourceServerAction(RemoveSourceServerActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveSourceServerActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveSourceServerActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RemoveSourceServerAction operation.
///
///
/// Container for the necessary parameters to execute the RemoveSourceServerAction operation on AmazonMgnClient.
/// 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 EndRemoveSourceServerAction
/// operation.
/// REST API Reference for RemoveSourceServerAction Operation
public virtual IAsyncResult BeginRemoveSourceServerAction(RemoveSourceServerActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveSourceServerActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveSourceServerActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveSourceServerAction operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveSourceServerAction.
///
/// Returns a RemoveSourceServerActionResult from Mgn.
/// REST API Reference for RemoveSourceServerAction Operation
public virtual RemoveSourceServerActionResponse EndRemoveSourceServerAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RemoveTemplateAction
///
/// Remove template post migration custom action.
///
/// Container for the necessary parameters to execute the RemoveTemplateAction service method.
///
/// The response from the RemoveTemplateAction service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for RemoveTemplateAction Operation
public virtual RemoveTemplateActionResponse RemoveTemplateAction(RemoveTemplateActionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTemplateActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTemplateActionResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RemoveTemplateAction operation.
///
///
/// Container for the necessary parameters to execute the RemoveTemplateAction operation on AmazonMgnClient.
/// 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 EndRemoveTemplateAction
/// operation.
/// REST API Reference for RemoveTemplateAction Operation
public virtual IAsyncResult BeginRemoveTemplateAction(RemoveTemplateActionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RemoveTemplateActionRequestMarshaller.Instance;
options.ResponseUnmarshaller = RemoveTemplateActionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RemoveTemplateAction operation.
///
///
/// The IAsyncResult returned by the call to BeginRemoveTemplateAction.
///
/// Returns a RemoveTemplateActionResult from Mgn.
/// REST API Reference for RemoveTemplateAction Operation
public virtual RemoveTemplateActionResponse EndRemoveTemplateAction(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ResumeReplication
///
/// Resume Replication.
///
/// Container for the necessary parameters to execute the ResumeReplication service method.
///
/// The response from the ResumeReplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for ResumeReplication Operation
public virtual ResumeReplicationResponse ResumeReplication(ResumeReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResumeReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResumeReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ResumeReplication operation.
///
///
/// Container for the necessary parameters to execute the ResumeReplication operation on AmazonMgnClient.
/// 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 EndResumeReplication
/// operation.
/// REST API Reference for ResumeReplication Operation
public virtual IAsyncResult BeginResumeReplication(ResumeReplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResumeReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResumeReplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ResumeReplication operation.
///
///
/// The IAsyncResult returned by the call to BeginResumeReplication.
///
/// Returns a ResumeReplicationResult from Mgn.
/// REST API Reference for ResumeReplication Operation
public virtual ResumeReplicationResponse EndResumeReplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region RetryDataReplication
///
/// Causes the data replication initiation sequence to begin immediately upon next Handshake
/// for specified SourceServer IDs, regardless of when the previous initiation started.
/// This command will not work if the SourceServer is not stalled or is in a DISCONNECTED
/// or STOPPED state.
///
/// Container for the necessary parameters to execute the RetryDataReplication service method.
///
/// The response from the RetryDataReplication service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for RetryDataReplication Operation
public virtual RetryDataReplicationResponse RetryDataReplication(RetryDataReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RetryDataReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = RetryDataReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the RetryDataReplication operation.
///
///
/// Container for the necessary parameters to execute the RetryDataReplication operation on AmazonMgnClient.
/// 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 EndRetryDataReplication
/// operation.
/// REST API Reference for RetryDataReplication Operation
public virtual IAsyncResult BeginRetryDataReplication(RetryDataReplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RetryDataReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = RetryDataReplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the RetryDataReplication operation.
///
///
/// The IAsyncResult returned by the call to BeginRetryDataReplication.
///
/// Returns a RetryDataReplicationResult from Mgn.
/// REST API Reference for RetryDataReplication Operation
public virtual RetryDataReplicationResponse EndRetryDataReplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartCutover
///
/// Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH
/// job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state
/// property to CUTTING_OVER.
///
/// Container for the necessary parameters to execute the StartCutover service method.
///
/// The response from the StartCutover service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for StartCutover Operation
public virtual StartCutoverResponse StartCutover(StartCutoverRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartCutoverRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartCutoverResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartCutover operation.
///
///
/// Container for the necessary parameters to execute the StartCutover operation on AmazonMgnClient.
/// 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 EndStartCutover
/// operation.
/// REST API Reference for StartCutover Operation
public virtual IAsyncResult BeginStartCutover(StartCutoverRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartCutoverRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartCutoverResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartCutover operation.
///
///
/// The IAsyncResult returned by the call to BeginStartCutover.
///
/// Returns a StartCutoverResult from Mgn.
/// REST API Reference for StartCutover Operation
public virtual StartCutoverResponse EndStartCutover(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartExport
///
/// Start export.
///
/// Container for the necessary parameters to execute the StartExport service method.
///
/// The response from the StartExport service method, as returned by Mgn.
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for StartExport Operation
public virtual StartExportResponse StartExport(StartExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartExport operation.
///
///
/// Container for the necessary parameters to execute the StartExport operation on AmazonMgnClient.
/// 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 EndStartExport
/// operation.
/// REST API Reference for StartExport Operation
public virtual IAsyncResult BeginStartExport(StartExportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartExportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartExport operation.
///
///
/// The IAsyncResult returned by the call to BeginStartExport.
///
/// Returns a StartExportResult from Mgn.
/// REST API Reference for StartExport Operation
public virtual StartExportResponse EndStartExport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartImport
///
/// Start import.
///
/// Container for the necessary parameters to execute the StartImport service method.
///
/// The response from the StartImport service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for StartImport Operation
public virtual StartImportResponse StartImport(StartImportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartImport operation.
///
///
/// Container for the necessary parameters to execute the StartImport operation on AmazonMgnClient.
/// 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 EndStartImport
/// operation.
/// REST API Reference for StartImport Operation
public virtual IAsyncResult BeginStartImport(StartImportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartImportRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartImportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartImport operation.
///
///
/// The IAsyncResult returned by the call to BeginStartImport.
///
/// Returns a StartImportResult from Mgn.
/// REST API Reference for StartImport Operation
public virtual StartImportResponse EndStartImport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartReplication
///
/// Starts replication for SNAPSHOT_SHIPPING agents.
///
/// Container for the necessary parameters to execute the StartReplication service method.
///
/// The response from the StartReplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for StartReplication Operation
public virtual StartReplicationResponse StartReplication(StartReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartReplication operation.
///
///
/// Container for the necessary parameters to execute the StartReplication operation on AmazonMgnClient.
/// 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 EndStartReplication
/// operation.
/// REST API Reference for StartReplication Operation
public virtual IAsyncResult BeginStartReplication(StartReplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartReplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartReplication operation.
///
///
/// The IAsyncResult returned by the call to BeginStartReplication.
///
/// Returns a StartReplicationResult from Mgn.
/// REST API Reference for StartReplication Operation
public virtual StartReplicationResponse EndStartReplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StartTest
///
/// Launches a Test Instance for specific Source Servers. This command starts a LAUNCH
/// job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state
/// property to TESTING.
///
/// Container for the necessary parameters to execute the StartTest service method.
///
/// The response from the StartTest service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for StartTest Operation
public virtual StartTestResponse StartTest(StartTestRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTestRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTestResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StartTest operation.
///
///
/// Container for the necessary parameters to execute the StartTest operation on AmazonMgnClient.
/// 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 EndStartTest
/// operation.
/// REST API Reference for StartTest Operation
public virtual IAsyncResult BeginStartTest(StartTestRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartTestRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartTestResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StartTest operation.
///
///
/// The IAsyncResult returned by the call to BeginStartTest.
///
/// Returns a StartTestResult from Mgn.
/// REST API Reference for StartTest Operation
public virtual StartTestResponse EndStartTest(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region StopReplication
///
/// Stop Replication.
///
/// Container for the necessary parameters to execute the StopReplication service method.
///
/// The response from the StopReplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for StopReplication Operation
public virtual StopReplicationResponse StopReplication(StopReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the StopReplication operation.
///
///
/// Container for the necessary parameters to execute the StopReplication operation on AmazonMgnClient.
/// 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 EndStopReplication
/// operation.
/// REST API Reference for StopReplication Operation
public virtual IAsyncResult BeginStopReplication(StopReplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopReplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the StopReplication operation.
///
///
/// The IAsyncResult returned by the call to BeginStopReplication.
///
/// Returns a StopReplicationResult from Mgn.
/// REST API Reference for StopReplication Operation
public virtual StopReplicationResponse EndStopReplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Adds or overwrites only the specified tags for the specified Application Migration
/// Service resource or resources. When you specify an existing tag key, the value is
/// overwritten with the new value. Each resource can have a maximum of 50 tags. Each
/// tag consists of a key and optional value.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// The server encountered an unexpected condition that prevented it from fulfilling the
/// request.
///
///
/// Resource not found exception.
///
///
/// Reached throttling quota exception.
///
///
/// Validate exception.
///
/// 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 AmazonMgnClient.
/// 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 Mgn.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TerminateTargetInstances
///
/// Starts a job that terminates specific launched EC2 Test and Cutover instances. This
/// command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER,
/// or CUTOVER.
///
/// Container for the necessary parameters to execute the TerminateTargetInstances service method.
///
/// The response from the TerminateTargetInstances service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for TerminateTargetInstances Operation
public virtual TerminateTargetInstancesResponse TerminateTargetInstances(TerminateTargetInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TerminateTargetInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = TerminateTargetInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TerminateTargetInstances operation.
///
///
/// Container for the necessary parameters to execute the TerminateTargetInstances operation on AmazonMgnClient.
/// 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 EndTerminateTargetInstances
/// operation.
/// REST API Reference for TerminateTargetInstances Operation
public virtual IAsyncResult BeginTerminateTargetInstances(TerminateTargetInstancesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TerminateTargetInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = TerminateTargetInstancesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the TerminateTargetInstances operation.
///
///
/// The IAsyncResult returned by the call to BeginTerminateTargetInstances.
///
/// Returns a TerminateTargetInstancesResult from Mgn.
/// REST API Reference for TerminateTargetInstances Operation
public virtual TerminateTargetInstancesResponse EndTerminateTargetInstances(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UnarchiveApplication
///
/// Unarchive application.
///
/// Container for the necessary parameters to execute the UnarchiveApplication service method.
///
/// The response from the UnarchiveApplication service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for UnarchiveApplication Operation
public virtual UnarchiveApplicationResponse UnarchiveApplication(UnarchiveApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UnarchiveApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnarchiveApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UnarchiveApplication operation.
///
///
/// Container for the necessary parameters to execute the UnarchiveApplication operation on AmazonMgnClient.
/// 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 EndUnarchiveApplication
/// operation.
/// REST API Reference for UnarchiveApplication Operation
public virtual IAsyncResult BeginUnarchiveApplication(UnarchiveApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UnarchiveApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnarchiveApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UnarchiveApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginUnarchiveApplication.
///
/// Returns a UnarchiveApplicationResult from Mgn.
/// REST API Reference for UnarchiveApplication Operation
public virtual UnarchiveApplicationResponse EndUnarchiveApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UnarchiveWave
///
/// Unarchive wave.
///
/// Container for the necessary parameters to execute the UnarchiveWave service method.
///
/// The response from the UnarchiveWave service method, as returned by Mgn.
///
/// Resource not found exception.
///
///
/// The request could not be completed because its exceeded the service quota.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for UnarchiveWave Operation
public virtual UnarchiveWaveResponse UnarchiveWave(UnarchiveWaveRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UnarchiveWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnarchiveWaveResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UnarchiveWave operation.
///
///
/// Container for the necessary parameters to execute the UnarchiveWave operation on AmazonMgnClient.
/// 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 EndUnarchiveWave
/// operation.
/// REST API Reference for UnarchiveWave Operation
public virtual IAsyncResult BeginUnarchiveWave(UnarchiveWaveRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UnarchiveWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = UnarchiveWaveResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UnarchiveWave operation.
///
///
/// The IAsyncResult returned by the call to BeginUnarchiveWave.
///
/// Returns a UnarchiveWaveResult from Mgn.
/// REST API Reference for UnarchiveWave Operation
public virtual UnarchiveWaveResponse EndUnarchiveWave(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Deletes the specified set of tags from the specified set of Application Migration
/// Service resources.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// The server encountered an unexpected condition that prevented it from fulfilling the
/// request.
///
///
/// Resource not found exception.
///
///
/// Reached throttling quota exception.
///
///
/// Validate exception.
///
/// 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 AmazonMgnClient.
/// 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 Mgn.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateApplication
///
/// Update application.
///
/// Container for the necessary parameters to execute the UpdateApplication service method.
///
/// The response from the UpdateApplication service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for UpdateApplication Operation
public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateApplication operation.
///
///
/// Container for the necessary parameters to execute the UpdateApplication operation on AmazonMgnClient.
/// 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 EndUpdateApplication
/// operation.
/// REST API Reference for UpdateApplication Operation
public virtual IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateApplication operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateApplication.
///
/// Returns a UpdateApplicationResult from Mgn.
/// REST API Reference for UpdateApplication Operation
public virtual UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLaunchConfiguration
///
/// Updates multiple LaunchConfigurations by Source Server ID.
///
/// Container for the necessary parameters to execute the UpdateLaunchConfiguration service method.
///
/// The response from the UpdateLaunchConfiguration service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for UpdateLaunchConfiguration Operation
public virtual UpdateLaunchConfigurationResponse UpdateLaunchConfiguration(UpdateLaunchConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLaunchConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateLaunchConfiguration operation on AmazonMgnClient.
/// 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 EndUpdateLaunchConfiguration
/// operation.
/// REST API Reference for UpdateLaunchConfiguration Operation
public virtual IAsyncResult BeginUpdateLaunchConfiguration(UpdateLaunchConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLaunchConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLaunchConfiguration.
///
/// Returns a UpdateLaunchConfigurationResult from Mgn.
/// REST API Reference for UpdateLaunchConfiguration Operation
public virtual UpdateLaunchConfigurationResponse EndUpdateLaunchConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateLaunchConfigurationTemplate
///
/// Updates an existing Launch Configuration Template by ID.
///
/// Container for the necessary parameters to execute the UpdateLaunchConfigurationTemplate service method.
///
/// The response from the UpdateLaunchConfigurationTemplate service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for UpdateLaunchConfigurationTemplate Operation
public virtual UpdateLaunchConfigurationTemplateResponse UpdateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateLaunchConfigurationTemplate operation.
///
///
/// Container for the necessary parameters to execute the UpdateLaunchConfigurationTemplate operation on AmazonMgnClient.
/// 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 EndUpdateLaunchConfigurationTemplate
/// operation.
/// REST API Reference for UpdateLaunchConfigurationTemplate Operation
public virtual IAsyncResult BeginUpdateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateLaunchConfigurationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateLaunchConfigurationTemplate.
///
/// Returns a UpdateLaunchConfigurationTemplateResult from Mgn.
/// REST API Reference for UpdateLaunchConfigurationTemplate Operation
public virtual UpdateLaunchConfigurationTemplateResponse EndUpdateLaunchConfigurationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateReplicationConfiguration
///
/// Allows you to update multiple ReplicationConfigurations by Source Server ID.
///
/// Container for the necessary parameters to execute the UpdateReplicationConfiguration service method.
///
/// The response from the UpdateReplicationConfiguration service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for UpdateReplicationConfiguration Operation
public virtual UpdateReplicationConfigurationResponse UpdateReplicationConfiguration(UpdateReplicationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateReplicationConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateReplicationConfiguration operation on AmazonMgnClient.
/// 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 EndUpdateReplicationConfiguration
/// operation.
/// REST API Reference for UpdateReplicationConfiguration Operation
public virtual IAsyncResult BeginUpdateReplicationConfiguration(UpdateReplicationConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateReplicationConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateReplicationConfiguration.
///
/// Returns a UpdateReplicationConfigurationResult from Mgn.
/// REST API Reference for UpdateReplicationConfiguration Operation
public virtual UpdateReplicationConfigurationResponse EndUpdateReplicationConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateReplicationConfigurationTemplate
///
/// Updates multiple ReplicationConfigurationTemplates by ID.
///
/// Container for the necessary parameters to execute the UpdateReplicationConfigurationTemplate service method.
///
/// The response from the UpdateReplicationConfigurationTemplate service method, as returned by Mgn.
///
/// Operating denied due to a file permission or access check error.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for UpdateReplicationConfigurationTemplate Operation
public virtual UpdateReplicationConfigurationTemplateResponse UpdateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateReplicationConfigurationTemplate operation.
///
///
/// Container for the necessary parameters to execute the UpdateReplicationConfigurationTemplate operation on AmazonMgnClient.
/// 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 EndUpdateReplicationConfigurationTemplate
/// operation.
/// REST API Reference for UpdateReplicationConfigurationTemplate Operation
public virtual IAsyncResult BeginUpdateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateReplicationConfigurationTemplate operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateReplicationConfigurationTemplate.
///
/// Returns a UpdateReplicationConfigurationTemplateResult from Mgn.
/// REST API Reference for UpdateReplicationConfigurationTemplate Operation
public virtual UpdateReplicationConfigurationTemplateResponse EndUpdateReplicationConfigurationTemplate(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateSourceServerReplicationType
///
/// Allows you to change between the AGENT_BASED replication type and the SNAPSHOT_SHIPPING
/// replication type.
///
/// Container for the necessary parameters to execute the UpdateSourceServerReplicationType service method.
///
/// The response from the UpdateSourceServerReplicationType service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
///
/// Validate exception.
///
/// REST API Reference for UpdateSourceServerReplicationType Operation
public virtual UpdateSourceServerReplicationTypeResponse UpdateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSourceServerReplicationTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSourceServerReplicationTypeResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateSourceServerReplicationType operation.
///
///
/// Container for the necessary parameters to execute the UpdateSourceServerReplicationType operation on AmazonMgnClient.
/// 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 EndUpdateSourceServerReplicationType
/// operation.
/// REST API Reference for UpdateSourceServerReplicationType Operation
public virtual IAsyncResult BeginUpdateSourceServerReplicationType(UpdateSourceServerReplicationTypeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSourceServerReplicationTypeRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSourceServerReplicationTypeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateSourceServerReplicationType operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateSourceServerReplicationType.
///
/// Returns a UpdateSourceServerReplicationTypeResult from Mgn.
/// REST API Reference for UpdateSourceServerReplicationType Operation
public virtual UpdateSourceServerReplicationTypeResponse EndUpdateSourceServerReplicationType(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateWave
///
/// Update wave.
///
/// Container for the necessary parameters to execute the UpdateWave service method.
///
/// The response from the UpdateWave service method, as returned by Mgn.
///
/// The request could not be completed due to a conflict with the current state of the
/// target resource.
///
///
/// Resource not found exception.
///
///
/// Uninitialized account exception.
///
/// REST API Reference for UpdateWave Operation
public virtual UpdateWaveResponse UpdateWave(UpdateWaveRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWaveResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateWave operation.
///
///
/// Container for the necessary parameters to execute the UpdateWave operation on AmazonMgnClient.
/// 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 EndUpdateWave
/// operation.
/// REST API Reference for UpdateWave Operation
public virtual IAsyncResult BeginUpdateWave(UpdateWaveRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateWaveRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateWaveResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateWave operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateWave.
///
/// Returns a UpdateWaveResult from Mgn.
/// REST API Reference for UpdateWave Operation
public virtual UpdateWaveResponse EndUpdateWave(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}