/* * 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 drs-2020-02-26.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.Drs.Model; using Amazon.Drs.Model.Internal.MarshallTransformations; using Amazon.Drs.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Drs { /// /// Implementation for accessing Drs /// /// AWS Elastic Disaster Recovery Service. /// public partial class AmazonDrsClient : AmazonServiceClient, IAmazonDrs { private static IServiceMetadata serviceMetadata = new AmazonDrsMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IDrsPaginatorFactory _paginators; /// /// Paginators for the service /// public IDrsPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new DrsPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonDrsClient 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 AmazonDrsClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonDrsConfig()) { } /// /// Constructs AmazonDrsClient 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 AmazonDrsClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonDrsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDrsClient 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 AmazonDrsClient Configuration Object public AmazonDrsClient(AmazonDrsConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonDrsClient with AWS Credentials /// /// AWS Credentials public AmazonDrsClient(AWSCredentials credentials) : this(credentials, new AmazonDrsConfig()) { } /// /// Constructs AmazonDrsClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonDrsClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonDrsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDrsClient with AWS Credentials and an /// AmazonDrsClient Configuration object. /// /// AWS Credentials /// The AmazonDrsClient Configuration Object public AmazonDrsClient(AWSCredentials credentials, AmazonDrsConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonDrsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonDrsClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonDrsConfig()) { } /// /// Constructs AmazonDrsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonDrsClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonDrsConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonDrsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonDrsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonDrsClient Configuration Object public AmazonDrsClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonDrsConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonDrsClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonDrsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDrsConfig()) { } /// /// Constructs AmazonDrsClient 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 AmazonDrsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonDrsConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonDrsClient with AWS Access Key ID, AWS Secret Key and an /// AmazonDrsClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonDrsClient Configuration Object public AmazonDrsClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonDrsConfig 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 AmazonDrsEndpointResolver()); } /// /// 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 AssociateSourceNetworkStack /// /// Associate a Source Network to an existing CloudFormation Stack and modify launch templates /// to use this network. Can be used for reverting to previously deployed CloudFormation /// stacks. /// /// Container for the necessary parameters to execute the AssociateSourceNetworkStack service method. /// /// The response from the AssociateSourceNetworkStack service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for AssociateSourceNetworkStack Operation public virtual AssociateSourceNetworkStackResponse AssociateSourceNetworkStack(AssociateSourceNetworkStackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateSourceNetworkStackRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateSourceNetworkStackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the AssociateSourceNetworkStack operation. /// /// /// Container for the necessary parameters to execute the AssociateSourceNetworkStack operation on AmazonDrsClient. /// 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 EndAssociateSourceNetworkStack /// operation. /// REST API Reference for AssociateSourceNetworkStack Operation public virtual IAsyncResult BeginAssociateSourceNetworkStack(AssociateSourceNetworkStackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateSourceNetworkStackRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateSourceNetworkStackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the AssociateSourceNetworkStack operation. /// /// /// The IAsyncResult returned by the call to BeginAssociateSourceNetworkStack. /// /// Returns a AssociateSourceNetworkStackResult from Drs. /// REST API Reference for AssociateSourceNetworkStack Operation public virtual AssociateSourceNetworkStackResponse EndAssociateSourceNetworkStack(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateExtendedSourceServer /// /// Create an extended source server in the target Account based on the source server /// in staging account. /// /// Container for the necessary parameters to execute the CreateExtendedSourceServer service method. /// /// The response from the CreateExtendedSourceServer service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for CreateExtendedSourceServer Operation public virtual CreateExtendedSourceServerResponse CreateExtendedSourceServer(CreateExtendedSourceServerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtendedSourceServerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtendedSourceServerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateExtendedSourceServer operation. /// /// /// Container for the necessary parameters to execute the CreateExtendedSourceServer operation on AmazonDrsClient. /// 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 EndCreateExtendedSourceServer /// operation. /// REST API Reference for CreateExtendedSourceServer Operation public virtual IAsyncResult BeginCreateExtendedSourceServer(CreateExtendedSourceServerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateExtendedSourceServerRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateExtendedSourceServerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateExtendedSourceServer operation. /// /// /// The IAsyncResult returned by the call to BeginCreateExtendedSourceServer. /// /// Returns a CreateExtendedSourceServerResult from Drs. /// REST API Reference for CreateExtendedSourceServer Operation public virtual CreateExtendedSourceServerResponse EndCreateExtendedSourceServer(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 Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// 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 Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for CreateReplicationConfigurationTemplate Operation public virtual CreateReplicationConfigurationTemplateResponse EndCreateReplicationConfigurationTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSourceNetwork /// /// Create a new Source Network resource for a provided VPC ID. /// /// Container for the necessary parameters to execute the CreateSourceNetwork service method. /// /// The response from the CreateSourceNetwork service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for CreateSourceNetwork Operation public virtual CreateSourceNetworkResponse CreateSourceNetwork(CreateSourceNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSourceNetwork operation. /// /// /// Container for the necessary parameters to execute the CreateSourceNetwork operation on AmazonDrsClient. /// 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 EndCreateSourceNetwork /// operation. /// REST API Reference for CreateSourceNetwork Operation public virtual IAsyncResult BeginCreateSourceNetwork(CreateSourceNetworkRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceNetworkResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSourceNetwork operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSourceNetwork. /// /// Returns a CreateSourceNetworkResult from Drs. /// REST API Reference for CreateSourceNetwork Operation public virtual CreateSourceNetworkResponse EndCreateSourceNetwork(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 Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// 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 Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for DeleteLaunchConfigurationTemplate Operation public virtual DeleteLaunchConfigurationTemplateResponse EndDeleteLaunchConfigurationTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteRecoveryInstance /// /// Deletes a single Recovery Instance by ID. This deletes the Recovery Instance resource /// from Elastic Disaster Recovery. The Recovery Instance must be disconnected first in /// order to delete it. /// /// Container for the necessary parameters to execute the DeleteRecoveryInstance service method. /// /// The response from the DeleteRecoveryInstance service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for DeleteRecoveryInstance Operation public virtual DeleteRecoveryInstanceResponse DeleteRecoveryInstance(DeleteRecoveryInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecoveryInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecoveryInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteRecoveryInstance operation. /// /// /// Container for the necessary parameters to execute the DeleteRecoveryInstance operation on AmazonDrsClient. /// 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 EndDeleteRecoveryInstance /// operation. /// REST API Reference for DeleteRecoveryInstance Operation public virtual IAsyncResult BeginDeleteRecoveryInstance(DeleteRecoveryInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRecoveryInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRecoveryInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteRecoveryInstance operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteRecoveryInstance. /// /// Returns a DeleteRecoveryInstanceResult from Drs. /// REST API Reference for DeleteRecoveryInstance Operation public virtual DeleteRecoveryInstanceResponse EndDeleteRecoveryInstance(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 Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for DeleteReplicationConfigurationTemplate Operation public virtual DeleteReplicationConfigurationTemplateResponse EndDeleteReplicationConfigurationTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSourceNetwork /// /// Delete Source Network resource. /// /// Container for the necessary parameters to execute the DeleteSourceNetwork service method. /// /// The response from the DeleteSourceNetwork service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for DeleteSourceNetwork Operation public virtual DeleteSourceNetworkResponse DeleteSourceNetwork(DeleteSourceNetworkRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceNetworkResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSourceNetwork operation. /// /// /// Container for the necessary parameters to execute the DeleteSourceNetwork operation on AmazonDrsClient. /// 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 EndDeleteSourceNetwork /// operation. /// REST API Reference for DeleteSourceNetwork Operation public virtual IAsyncResult BeginDeleteSourceNetwork(DeleteSourceNetworkRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceNetworkRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceNetworkResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSourceNetwork operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSourceNetwork. /// /// Returns a DeleteSourceNetworkResult from Drs. /// REST API Reference for DeleteSourceNetwork Operation public virtual DeleteSourceNetworkResponse EndDeleteSourceNetwork(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSourceServer /// /// Deletes a single Source Server by ID. The Source Server must be disconnected first. /// /// Container for the necessary parameters to execute the DeleteSourceServer service method. /// /// The response from the DeleteSourceServer service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for DeleteSourceServer Operation public virtual DeleteSourceServerResponse EndDeleteSourceServer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeJobLogItems /// /// Retrieves a detailed Job log with pagination. /// /// Container for the necessary parameters to execute the DescribeJobLogItems service method. /// /// The response from the DescribeJobLogItems service method, as returned by Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// 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 toDate filters to limit which /// jobs are returned. The response is sorted by creationDataTime - latest date first. /// Jobs are created by the StartRecovery, TerminateRecoveryInstances and StartFailbackLaunch /// 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 Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// 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 Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for DescribeLaunchConfigurationTemplates Operation public virtual DescribeLaunchConfigurationTemplatesResponse EndDescribeLaunchConfigurationTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRecoveryInstances /// /// Lists all Recovery Instances or multiple Recovery Instances by ID. /// /// Container for the necessary parameters to execute the DescribeRecoveryInstances service method. /// /// The response from the DescribeRecoveryInstances service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for DescribeRecoveryInstances Operation public virtual DescribeRecoveryInstancesResponse DescribeRecoveryInstances(DescribeRecoveryInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecoveryInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecoveryInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRecoveryInstances operation. /// /// /// Container for the necessary parameters to execute the DescribeRecoveryInstances operation on AmazonDrsClient. /// 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 EndDescribeRecoveryInstances /// operation. /// REST API Reference for DescribeRecoveryInstances Operation public virtual IAsyncResult BeginDescribeRecoveryInstances(DescribeRecoveryInstancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecoveryInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecoveryInstancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRecoveryInstances operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRecoveryInstances. /// /// Returns a DescribeRecoveryInstancesResult from Drs. /// REST API Reference for DescribeRecoveryInstances Operation public virtual DescribeRecoveryInstancesResponse EndDescribeRecoveryInstances(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeRecoverySnapshots /// /// Lists all Recovery Snapshots for a single Source Server. /// /// Container for the necessary parameters to execute the DescribeRecoverySnapshots service method. /// /// The response from the DescribeRecoverySnapshots service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for DescribeRecoverySnapshots Operation public virtual DescribeRecoverySnapshotsResponse DescribeRecoverySnapshots(DescribeRecoverySnapshotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecoverySnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecoverySnapshotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeRecoverySnapshots operation. /// /// /// Container for the necessary parameters to execute the DescribeRecoverySnapshots operation on AmazonDrsClient. /// 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 EndDescribeRecoverySnapshots /// operation. /// REST API Reference for DescribeRecoverySnapshots Operation public virtual IAsyncResult BeginDescribeRecoverySnapshots(DescribeRecoverySnapshotsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRecoverySnapshotsRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRecoverySnapshotsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeRecoverySnapshots operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeRecoverySnapshots. /// /// Returns a DescribeRecoverySnapshotsResult from Drs. /// REST API Reference for DescribeRecoverySnapshots Operation public virtual DescribeRecoverySnapshotsResponse EndDescribeRecoverySnapshots(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 Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for DescribeReplicationConfigurationTemplates Operation public virtual DescribeReplicationConfigurationTemplatesResponse EndDescribeReplicationConfigurationTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSourceNetworks /// /// Lists all Source Networks or multiple Source Networks filtered by ID. /// /// Container for the necessary parameters to execute the DescribeSourceNetworks service method. /// /// The response from the DescribeSourceNetworks service method, as returned by Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for DescribeSourceNetworks Operation public virtual DescribeSourceNetworksResponse DescribeSourceNetworks(DescribeSourceNetworksRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSourceNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSourceNetworksResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSourceNetworks operation. /// /// /// Container for the necessary parameters to execute the DescribeSourceNetworks operation on AmazonDrsClient. /// 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 EndDescribeSourceNetworks /// operation. /// REST API Reference for DescribeSourceNetworks Operation public virtual IAsyncResult BeginDescribeSourceNetworks(DescribeSourceNetworksRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSourceNetworksRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSourceNetworksResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSourceNetworks operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSourceNetworks. /// /// Returns a DescribeSourceNetworksResult from Drs. /// REST API Reference for DescribeSourceNetworks Operation public virtual DescribeSourceNetworksResponse EndDescribeSourceNetworks(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSourceServers /// /// Lists all Source Servers or multiple Source Servers filtered by ID. /// /// Container for the necessary parameters to execute the DescribeSourceServers service method. /// /// The response from the DescribeSourceServers service method, as returned by Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for DescribeSourceServers Operation public virtual DescribeSourceServersResponse EndDescribeSourceServers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisconnectRecoveryInstance /// /// Disconnect a Recovery Instance from Elastic Disaster Recovery. Data replication is /// stopped immediately. All AWS resources created by Elastic Disaster Recovery for enabling /// the replication of the Recovery Instance will be terminated / deleted within 90 minutes. /// If the agent on the Recovery Instance has not been prevented from communicating with /// the Elastic Disaster Recovery service, then it will receive a command to uninstall /// itself (within approximately 10 minutes). The following properties of the Recovery /// Instance 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 DisconnectRecoveryInstance service method. /// /// The response from the DisconnectRecoveryInstance service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for DisconnectRecoveryInstance Operation public virtual DisconnectRecoveryInstanceResponse DisconnectRecoveryInstance(DisconnectRecoveryInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisconnectRecoveryInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DisconnectRecoveryInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisconnectRecoveryInstance operation. /// /// /// Container for the necessary parameters to execute the DisconnectRecoveryInstance operation on AmazonDrsClient. /// 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 EndDisconnectRecoveryInstance /// operation. /// REST API Reference for DisconnectRecoveryInstance Operation public virtual IAsyncResult BeginDisconnectRecoveryInstance(DisconnectRecoveryInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisconnectRecoveryInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DisconnectRecoveryInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisconnectRecoveryInstance operation. /// /// /// The IAsyncResult returned by the call to BeginDisconnectRecoveryInstance. /// /// Returns a DisconnectRecoveryInstanceResult from Drs. /// REST API Reference for DisconnectRecoveryInstance Operation public virtual DisconnectRecoveryInstanceResponse EndDisconnectRecoveryInstance(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DisconnectSourceServer /// /// Disconnects a specific Source Server from Elastic Disaster Recovery. Data replication /// is stopped immediately. All AWS resources created by Elastic Disaster Recovery for /// enabling the replication of the Source Server will be terminated / deleted within /// 90 minutes. You cannot disconnect a Source Server if it has a Recovery Instance. If /// the agent on the Source Server has not been prevented from communicating with the /// Elastic Disaster Recovery 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 DisconnectSourceServer service method. /// /// The response from the DisconnectSourceServer service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for DisconnectSourceServer Operation public virtual DisconnectSourceServerResponse DisconnectSourceServer(DisconnectSourceServerRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisconnectSourceServerRequestMarshaller.Instance; options.ResponseUnmarshaller = DisconnectSourceServerResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DisconnectSourceServer operation. /// /// /// Container for the necessary parameters to execute the DisconnectSourceServer operation on AmazonDrsClient. /// 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 EndDisconnectSourceServer /// operation. /// REST API Reference for DisconnectSourceServer Operation public virtual IAsyncResult BeginDisconnectSourceServer(DisconnectSourceServerRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DisconnectSourceServerRequestMarshaller.Instance; options.ResponseUnmarshaller = DisconnectSourceServerResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DisconnectSourceServer operation. /// /// /// The IAsyncResult returned by the call to BeginDisconnectSourceServer. /// /// Returns a DisconnectSourceServerResult from Drs. /// REST API Reference for DisconnectSourceServer Operation public virtual DisconnectSourceServerResponse EndDisconnectSourceServer(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ExportSourceNetworkCfnTemplate /// /// Export the Source Network CloudFormation template to an S3 bucket. /// /// Container for the necessary parameters to execute the ExportSourceNetworkCfnTemplate service method. /// /// The response from the ExportSourceNetworkCfnTemplate service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for ExportSourceNetworkCfnTemplate Operation public virtual ExportSourceNetworkCfnTemplateResponse ExportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ExportSourceNetworkCfnTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportSourceNetworkCfnTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ExportSourceNetworkCfnTemplate operation. /// /// /// Container for the necessary parameters to execute the ExportSourceNetworkCfnTemplate operation on AmazonDrsClient. /// 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 EndExportSourceNetworkCfnTemplate /// operation. /// REST API Reference for ExportSourceNetworkCfnTemplate Operation public virtual IAsyncResult BeginExportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ExportSourceNetworkCfnTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = ExportSourceNetworkCfnTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ExportSourceNetworkCfnTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginExportSourceNetworkCfnTemplate. /// /// Returns a ExportSourceNetworkCfnTemplateResult from Drs. /// REST API Reference for ExportSourceNetworkCfnTemplate Operation public virtual ExportSourceNetworkCfnTemplateResponse EndExportSourceNetworkCfnTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetFailbackReplicationConfiguration /// /// Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID. /// /// Container for the necessary parameters to execute the GetFailbackReplicationConfiguration service method. /// /// The response from the GetFailbackReplicationConfiguration service method, as returned by Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for GetFailbackReplicationConfiguration Operation public virtual GetFailbackReplicationConfigurationResponse GetFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFailbackReplicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFailbackReplicationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetFailbackReplicationConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetFailbackReplicationConfiguration operation on AmazonDrsClient. /// 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 EndGetFailbackReplicationConfiguration /// operation. /// REST API Reference for GetFailbackReplicationConfiguration Operation public virtual IAsyncResult BeginGetFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetFailbackReplicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFailbackReplicationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetFailbackReplicationConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetFailbackReplicationConfiguration. /// /// Returns a GetFailbackReplicationConfigurationResult from Drs. /// REST API Reference for GetFailbackReplicationConfiguration Operation public virtual GetFailbackReplicationConfigurationResponse EndGetFailbackReplicationConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetLaunchConfiguration /// /// Gets a LaunchConfiguration, 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 Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for GetLaunchConfiguration Operation public virtual GetLaunchConfigurationResponse EndGetLaunchConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetReplicationConfiguration /// /// Gets a ReplicationConfiguration, 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 Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for GetReplicationConfiguration Operation public virtual GetReplicationConfigurationResponse EndGetReplicationConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region InitializeService /// /// Initialize Elastic Disaster Recovery. /// /// Container for the necessary parameters to execute the InitializeService service method. /// /// The response from the InitializeService service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for InitializeService Operation public virtual InitializeServiceResponse EndInitializeService(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListExtensibleSourceServers /// /// Returns a list of source servers on a staging account that are extensible, which means /// that: a. The source server is not already extended into this Account. b. The source /// server on the Account we’re reading from is not an extension of another source server. /// /// Container for the necessary parameters to execute the ListExtensibleSourceServers service method. /// /// The response from the ListExtensibleSourceServers service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for ListExtensibleSourceServers Operation public virtual ListExtensibleSourceServersResponse ListExtensibleSourceServers(ListExtensibleSourceServersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensibleSourceServersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensibleSourceServersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListExtensibleSourceServers operation. /// /// /// Container for the necessary parameters to execute the ListExtensibleSourceServers operation on AmazonDrsClient. /// 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 EndListExtensibleSourceServers /// operation. /// REST API Reference for ListExtensibleSourceServers Operation public virtual IAsyncResult BeginListExtensibleSourceServers(ListExtensibleSourceServersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListExtensibleSourceServersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListExtensibleSourceServersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListExtensibleSourceServers operation. /// /// /// The IAsyncResult returned by the call to BeginListExtensibleSourceServers. /// /// Returns a ListExtensibleSourceServersResult from Drs. /// REST API Reference for ListExtensibleSourceServers Operation public virtual ListExtensibleSourceServersResponse EndListExtensibleSourceServers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListStagingAccounts /// /// Returns an array of staging accounts for existing extended source servers. /// /// Container for the necessary parameters to execute the ListStagingAccounts service method. /// /// The response from the ListStagingAccounts service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for ListStagingAccounts Operation public virtual ListStagingAccountsResponse ListStagingAccounts(ListStagingAccountsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListStagingAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStagingAccountsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListStagingAccounts operation. /// /// /// Container for the necessary parameters to execute the ListStagingAccounts operation on AmazonDrsClient. /// 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 EndListStagingAccounts /// operation. /// REST API Reference for ListStagingAccounts Operation public virtual IAsyncResult BeginListStagingAccounts(ListStagingAccountsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListStagingAccountsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListStagingAccountsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListStagingAccounts operation. /// /// /// The IAsyncResult returned by the call to BeginListStagingAccounts. /// /// Returns a ListStagingAccountsResult from Drs. /// REST API Reference for ListStagingAccounts Operation public virtual ListStagingAccountsResponse EndListStagingAccounts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// List all tags for your Elastic Disaster Recovery resources. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonDrsClient. /// 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 Drs. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RetryDataReplication /// /// WARNING: RetryDataReplication is deprecated. Causes the data replication initiation /// sequence to begin immediately upon next Handshake for the specified Source Server /// ID, regardless of when the previous initiation started. This command will work only /// if the Source Server is 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 Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for RetryDataReplication Operation [Obsolete("WARNING: RetryDataReplication is deprecated")] 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 AmazonDrsClient. /// 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 [Obsolete("WARNING: RetryDataReplication is deprecated")] 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 Drs. /// REST API Reference for RetryDataReplication Operation [Obsolete("WARNING: RetryDataReplication is deprecated")] public virtual RetryDataReplicationResponse EndRetryDataReplication(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ReverseReplication /// /// Start replication to origin / target region - applies only to protected instances /// that originated in EC2. For recovery instances on target region - starts replication /// back to origin region. For failback instances on origin region - starts replication /// to target region to re-protect them. /// /// Container for the necessary parameters to execute the ReverseReplication service method. /// /// The response from the ReverseReplication service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for ReverseReplication Operation public virtual ReverseReplicationResponse ReverseReplication(ReverseReplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReverseReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReverseReplicationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ReverseReplication operation. /// /// /// Container for the necessary parameters to execute the ReverseReplication operation on AmazonDrsClient. /// 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 EndReverseReplication /// operation. /// REST API Reference for ReverseReplication Operation public virtual IAsyncResult BeginReverseReplication(ReverseReplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ReverseReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = ReverseReplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ReverseReplication operation. /// /// /// The IAsyncResult returned by the call to BeginReverseReplication. /// /// Returns a ReverseReplicationResult from Drs. /// REST API Reference for ReverseReplication Operation public virtual ReverseReplicationResponse EndReverseReplication(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartFailbackLaunch /// /// Initiates a Job for launching the machine that is being failed back to from the specified /// Recovery Instance. This will run conversion on the failback client and will reboot /// your machine, thus completing the failback process. /// /// Container for the necessary parameters to execute the StartFailbackLaunch service method. /// /// The response from the StartFailbackLaunch service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for StartFailbackLaunch Operation public virtual StartFailbackLaunchResponse StartFailbackLaunch(StartFailbackLaunchRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartFailbackLaunchRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFailbackLaunchResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartFailbackLaunch operation. /// /// /// Container for the necessary parameters to execute the StartFailbackLaunch operation on AmazonDrsClient. /// 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 EndStartFailbackLaunch /// operation. /// REST API Reference for StartFailbackLaunch Operation public virtual IAsyncResult BeginStartFailbackLaunch(StartFailbackLaunchRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartFailbackLaunchRequestMarshaller.Instance; options.ResponseUnmarshaller = StartFailbackLaunchResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartFailbackLaunch operation. /// /// /// The IAsyncResult returned by the call to BeginStartFailbackLaunch. /// /// Returns a StartFailbackLaunchResult from Drs. /// REST API Reference for StartFailbackLaunch Operation public virtual StartFailbackLaunchResponse EndStartFailbackLaunch(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartRecovery /// /// Launches Recovery Instances for the specified Source Servers. For each Source Server /// you may choose a point in time snapshot to launch from, or use an on demand snapshot. /// /// Container for the necessary parameters to execute the StartRecovery service method. /// /// The response from the StartRecovery service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for StartRecovery Operation public virtual StartRecoveryResponse StartRecovery(StartRecoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartRecoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRecoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartRecovery operation. /// /// /// Container for the necessary parameters to execute the StartRecovery operation on AmazonDrsClient. /// 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 EndStartRecovery /// operation. /// REST API Reference for StartRecovery Operation public virtual IAsyncResult BeginStartRecovery(StartRecoveryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartRecoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = StartRecoveryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartRecovery operation. /// /// /// The IAsyncResult returned by the call to BeginStartRecovery. /// /// Returns a StartRecoveryResult from Drs. /// REST API Reference for StartRecovery Operation public virtual StartRecoveryResponse EndStartRecovery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartReplication /// /// Starts replication for a stopped Source Server. This action would make the Source /// Server protected again and restart billing for it. /// /// Container for the necessary parameters to execute the StartReplication service method. /// /// The response from the StartReplication service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for StartReplication Operation public virtual StartReplicationResponse EndStartReplication(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartSourceNetworkRecovery /// /// Deploy VPC for the specified Source Network and modify launch templates to use this /// network. The VPC will be deployed using a dedicated CloudFormation stack. /// /// Container for the necessary parameters to execute the StartSourceNetworkRecovery service method. /// /// The response from the StartSourceNetworkRecovery service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for StartSourceNetworkRecovery Operation public virtual StartSourceNetworkRecoveryResponse StartSourceNetworkRecovery(StartSourceNetworkRecoveryRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartSourceNetworkRecoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSourceNetworkRecoveryResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartSourceNetworkRecovery operation. /// /// /// Container for the necessary parameters to execute the StartSourceNetworkRecovery operation on AmazonDrsClient. /// 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 EndStartSourceNetworkRecovery /// operation. /// REST API Reference for StartSourceNetworkRecovery Operation public virtual IAsyncResult BeginStartSourceNetworkRecovery(StartSourceNetworkRecoveryRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartSourceNetworkRecoveryRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSourceNetworkRecoveryResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartSourceNetworkRecovery operation. /// /// /// The IAsyncResult returned by the call to BeginStartSourceNetworkRecovery. /// /// Returns a StartSourceNetworkRecoveryResult from Drs. /// REST API Reference for StartSourceNetworkRecovery Operation public virtual StartSourceNetworkRecoveryResponse EndStartSourceNetworkRecovery(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartSourceNetworkReplication /// /// Starts replication for a Source Network. This action would make the Source Network /// protected. /// /// Container for the necessary parameters to execute the StartSourceNetworkReplication service method. /// /// The response from the StartSourceNetworkReplication service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for StartSourceNetworkReplication Operation public virtual StartSourceNetworkReplicationResponse StartSourceNetworkReplication(StartSourceNetworkReplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartSourceNetworkReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSourceNetworkReplicationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartSourceNetworkReplication operation. /// /// /// Container for the necessary parameters to execute the StartSourceNetworkReplication operation on AmazonDrsClient. /// 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 EndStartSourceNetworkReplication /// operation. /// REST API Reference for StartSourceNetworkReplication Operation public virtual IAsyncResult BeginStartSourceNetworkReplication(StartSourceNetworkReplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartSourceNetworkReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartSourceNetworkReplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartSourceNetworkReplication operation. /// /// /// The IAsyncResult returned by the call to BeginStartSourceNetworkReplication. /// /// Returns a StartSourceNetworkReplicationResult from Drs. /// REST API Reference for StartSourceNetworkReplication Operation public virtual StartSourceNetworkReplicationResponse EndStartSourceNetworkReplication(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopFailback /// /// Stops the failback process for a specified Recovery Instance. This changes the Failback /// State of the Recovery Instance back to FAILBACK_NOT_STARTED. /// /// Container for the necessary parameters to execute the StopFailback service method. /// /// The response from the StopFailback service method, as returned by Drs. /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for StopFailback Operation public virtual StopFailbackResponse StopFailback(StopFailbackRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopFailbackRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFailbackResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopFailback operation. /// /// /// Container for the necessary parameters to execute the StopFailback operation on AmazonDrsClient. /// 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 EndStopFailback /// operation. /// REST API Reference for StopFailback Operation public virtual IAsyncResult BeginStopFailback(StopFailbackRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopFailbackRequestMarshaller.Instance; options.ResponseUnmarshaller = StopFailbackResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopFailback operation. /// /// /// The IAsyncResult returned by the call to BeginStopFailback. /// /// Returns a StopFailbackResult from Drs. /// REST API Reference for StopFailback Operation public virtual StopFailbackResponse EndStopFailback(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopReplication /// /// Stops replication for a Source Server. This action would make the Source Server unprotected, /// delete its existing snapshots and stop billing for it. /// /// Container for the necessary parameters to execute the StopReplication service method. /// /// The response from the StopReplication service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for StopReplication Operation public virtual StopReplicationResponse EndStopReplication(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopSourceNetworkReplication /// /// Stops replication for a Source Network. This action would make the Source Network /// unprotected. /// /// Container for the necessary parameters to execute the StopSourceNetworkReplication service method. /// /// The response from the StopSourceNetworkReplication service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for StopSourceNetworkReplication Operation public virtual StopSourceNetworkReplicationResponse StopSourceNetworkReplication(StopSourceNetworkReplicationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopSourceNetworkReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopSourceNetworkReplicationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopSourceNetworkReplication operation. /// /// /// Container for the necessary parameters to execute the StopSourceNetworkReplication operation on AmazonDrsClient. /// 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 EndStopSourceNetworkReplication /// operation. /// REST API Reference for StopSourceNetworkReplication Operation public virtual IAsyncResult BeginStopSourceNetworkReplication(StopSourceNetworkReplicationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopSourceNetworkReplicationRequestMarshaller.Instance; options.ResponseUnmarshaller = StopSourceNetworkReplicationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopSourceNetworkReplication operation. /// /// /// The IAsyncResult returned by the call to BeginStopSourceNetworkReplication. /// /// Returns a StopSourceNetworkReplicationResult from Drs. /// REST API Reference for StopSourceNetworkReplication Operation public virtual StopSourceNetworkReplicationResponse EndStopSourceNetworkReplication(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds or overwrites only the specified tags for the specified Elastic Disaster Recovery /// 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 Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonDrsClient. /// 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 Drs. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TerminateRecoveryInstances /// /// Initiates a Job for terminating the EC2 resources associated with the specified Recovery /// Instances, and then will delete the Recovery Instances from the Elastic Disaster Recovery /// service. /// /// Container for the necessary parameters to execute the TerminateRecoveryInstances service method. /// /// The response from the TerminateRecoveryInstances service method, as returned by Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The request could not be completed because its exceeded the service quota. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for TerminateRecoveryInstances Operation public virtual TerminateRecoveryInstancesResponse TerminateRecoveryInstances(TerminateRecoveryInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateRecoveryInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateRecoveryInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TerminateRecoveryInstances operation. /// /// /// Container for the necessary parameters to execute the TerminateRecoveryInstances operation on AmazonDrsClient. /// 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 EndTerminateRecoveryInstances /// operation. /// REST API Reference for TerminateRecoveryInstances Operation public virtual IAsyncResult BeginTerminateRecoveryInstances(TerminateRecoveryInstancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TerminateRecoveryInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = TerminateRecoveryInstancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TerminateRecoveryInstances operation. /// /// /// The IAsyncResult returned by the call to BeginTerminateRecoveryInstances. /// /// Returns a TerminateRecoveryInstancesResult from Drs. /// REST API Reference for TerminateRecoveryInstances Operation public virtual TerminateRecoveryInstancesResponse EndTerminateRecoveryInstances(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Deletes the specified set of tags from the specified set of Elastic Disaster Recovery /// resources. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonDrsClient. /// 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 Drs. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateFailbackReplicationConfiguration /// /// Allows you to update the failback replication configuration of a Recovery Instance /// by ID. /// /// Container for the necessary parameters to execute the UpdateFailbackReplicationConfiguration service method. /// /// The response from the UpdateFailbackReplicationConfiguration service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// REST API Reference for UpdateFailbackReplicationConfiguration Operation public virtual UpdateFailbackReplicationConfigurationResponse UpdateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFailbackReplicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFailbackReplicationConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateFailbackReplicationConfiguration operation. /// /// /// Container for the necessary parameters to execute the UpdateFailbackReplicationConfiguration operation on AmazonDrsClient. /// 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 EndUpdateFailbackReplicationConfiguration /// operation. /// REST API Reference for UpdateFailbackReplicationConfiguration Operation public virtual IAsyncResult BeginUpdateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFailbackReplicationConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFailbackReplicationConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateFailbackReplicationConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateFailbackReplicationConfiguration. /// /// Returns a UpdateFailbackReplicationConfigurationResult from Drs. /// REST API Reference for UpdateFailbackReplicationConfiguration Operation public virtual UpdateFailbackReplicationConfigurationResponse EndUpdateFailbackReplicationConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateLaunchConfiguration /// /// Updates a LaunchConfiguration 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 Drs. /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// 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 Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for UpdateLaunchConfigurationTemplate Operation public virtual UpdateLaunchConfigurationTemplateResponse EndUpdateLaunchConfigurationTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateReplicationConfiguration /// /// Allows you to update a ReplicationConfiguration 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 Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request could not be completed due to a conflict with the current state of the /// target resource. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for UpdateReplicationConfiguration Operation public virtual UpdateReplicationConfigurationResponse EndUpdateReplicationConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateReplicationConfigurationTemplate /// /// Updates a ReplicationConfigurationTemplate by ID. /// /// Container for the necessary parameters to execute the UpdateReplicationConfigurationTemplate service method. /// /// The response from the UpdateReplicationConfigurationTemplate service method, as returned by Drs. /// /// You do not have sufficient access to perform this action. /// /// /// The request processing has failed because of an unknown error, exception or failure. /// /// /// The resource for this operation was not found. /// /// /// The request was denied due to request throttling. /// /// /// The account performing the request has not been initialized. /// /// /// The input fails to satisfy the constraints specified by the AWS service. /// /// 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 AmazonDrsClient. /// 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 Drs. /// REST API Reference for UpdateReplicationConfigurationTemplate Operation public virtual UpdateReplicationConfigurationTemplateResponse EndUpdateReplicationConfigurationTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }