/*
* 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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();
#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
#if 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 Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
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
internal virtual AssociateSourceNetworkStackResponse AssociateSourceNetworkStack(AssociateSourceNetworkStackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceNetworkStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceNetworkStackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AssociateSourceNetworkStackAsync(AssociateSourceNetworkStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateSourceNetworkStackRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateSourceNetworkStackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateExtendedSourceServer
internal virtual CreateExtendedSourceServerResponse CreateExtendedSourceServer(CreateExtendedSourceServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExtendedSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExtendedSourceServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateExtendedSourceServerAsync(CreateExtendedSourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateExtendedSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateExtendedSourceServerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateLaunchConfigurationTemplate
internal virtual CreateLaunchConfigurationTemplateResponse CreateLaunchConfigurationTemplate(CreateLaunchConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new Launch Configuration Template.
///
/// Container for the necessary parameters to execute the CreateLaunchConfigurationTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateLaunchConfigurationTemplateAsync(CreateLaunchConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateReplicationConfigurationTemplate
internal virtual CreateReplicationConfigurationTemplateResponse CreateReplicationConfigurationTemplate(CreateReplicationConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a new ReplicationConfigurationTemplate.
///
/// Container for the necessary parameters to execute the CreateReplicationConfigurationTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateReplicationConfigurationTemplateAsync(CreateReplicationConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSourceNetwork
internal virtual CreateSourceNetworkResponse CreateSourceNetwork(CreateSourceNetworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSourceNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSourceNetworkResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a new Source Network resource for a provided VPC ID.
///
/// Container for the necessary parameters to execute the CreateSourceNetwork service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateSourceNetworkAsync(CreateSourceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSourceNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSourceNetworkResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteJob
internal virtual DeleteJobResponse DeleteJob(DeleteJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a single Job by ID.
///
/// Container for the necessary parameters to execute the DeleteJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteLaunchConfigurationTemplate
internal virtual DeleteLaunchConfigurationTemplateResponse DeleteLaunchConfigurationTemplate(DeleteLaunchConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a single Launch Configuration Template by ID.
///
/// Container for the necessary parameters to execute the DeleteLaunchConfigurationTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteLaunchConfigurationTemplateAsync(DeleteLaunchConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteRecoveryInstance
internal virtual DeleteRecoveryInstanceResponse DeleteRecoveryInstance(DeleteRecoveryInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRecoveryInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRecoveryInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteRecoveryInstanceAsync(DeleteRecoveryInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteRecoveryInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteRecoveryInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteReplicationConfigurationTemplate
internal virtual DeleteReplicationConfigurationTemplateResponse DeleteReplicationConfigurationTemplate(DeleteReplicationConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a single Replication Configuration Template by ID
///
/// Container for the necessary parameters to execute the DeleteReplicationConfigurationTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteReplicationConfigurationTemplateAsync(DeleteReplicationConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSourceNetwork
internal virtual DeleteSourceNetworkResponse DeleteSourceNetwork(DeleteSourceNetworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSourceNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSourceNetworkResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Delete Source Network resource.
///
/// Container for the necessary parameters to execute the DeleteSourceNetwork service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteSourceNetworkAsync(DeleteSourceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSourceNetworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSourceNetworkResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteSourceServer
internal virtual DeleteSourceServerResponse DeleteSourceServer(DeleteSourceServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSourceServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteSourceServerAsync(DeleteSourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteSourceServerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeJobLogItems
internal virtual DescribeJobLogItemsResponse DescribeJobLogItems(DescribeJobLogItemsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobLogItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobLogItemsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves a detailed Job log with pagination.
///
/// Container for the necessary parameters to execute the DescribeJobLogItems service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeJobLogItemsAsync(DescribeJobLogItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobLogItemsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobLogItemsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeJobs
internal virtual DescribeJobsResponse DescribeJobs(DescribeJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeJobsAsync(DescribeJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeLaunchConfigurationTemplates
internal virtual DescribeLaunchConfigurationTemplatesResponse DescribeLaunchConfigurationTemplates(DescribeLaunchConfigurationTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLaunchConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLaunchConfigurationTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Launch Configuration Templates, filtered by Launch Configuration Template
/// IDs
///
/// Container for the necessary parameters to execute the DescribeLaunchConfigurationTemplates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeLaunchConfigurationTemplatesAsync(DescribeLaunchConfigurationTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeLaunchConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeLaunchConfigurationTemplatesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRecoveryInstances
internal virtual DescribeRecoveryInstancesResponse DescribeRecoveryInstances(DescribeRecoveryInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRecoveryInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRecoveryInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Recovery Instances or multiple Recovery Instances by ID.
///
/// Container for the necessary parameters to execute the DescribeRecoveryInstances service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeRecoveryInstancesAsync(DescribeRecoveryInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRecoveryInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRecoveryInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeRecoverySnapshots
internal virtual DescribeRecoverySnapshotsResponse DescribeRecoverySnapshots(DescribeRecoverySnapshotsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRecoverySnapshotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRecoverySnapshotsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Recovery Snapshots for a single Source Server.
///
/// Container for the necessary parameters to execute the DescribeRecoverySnapshots service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeRecoverySnapshotsAsync(DescribeRecoverySnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeRecoverySnapshotsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeRecoverySnapshotsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeReplicationConfigurationTemplates
internal virtual DescribeReplicationConfigurationTemplatesResponse DescribeReplicationConfigurationTemplates(DescribeReplicationConfigurationTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReplicationConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReplicationConfigurationTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.
///
/// Container for the necessary parameters to execute the DescribeReplicationConfigurationTemplates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeReplicationConfigurationTemplatesAsync(DescribeReplicationConfigurationTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeReplicationConfigurationTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeReplicationConfigurationTemplatesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSourceNetworks
internal virtual DescribeSourceNetworksResponse DescribeSourceNetworks(DescribeSourceNetworksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSourceNetworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSourceNetworksResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Source Networks or multiple Source Networks filtered by ID.
///
/// Container for the necessary parameters to execute the DescribeSourceNetworks service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeSourceNetworksAsync(DescribeSourceNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSourceNetworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSourceNetworksResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeSourceServers
internal virtual DescribeSourceServersResponse DescribeSourceServers(DescribeSourceServersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSourceServersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Source Servers or multiple Source Servers filtered by ID.
///
/// Container for the necessary parameters to execute the DescribeSourceServers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeSourceServersAsync(DescribeSourceServersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeSourceServersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisconnectRecoveryInstance
internal virtual DisconnectRecoveryInstanceResponse DisconnectRecoveryInstance(DisconnectRecoveryInstanceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisconnectRecoveryInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisconnectRecoveryInstanceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DisconnectRecoveryInstanceAsync(DisconnectRecoveryInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisconnectRecoveryInstanceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisconnectRecoveryInstanceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisconnectSourceServer
internal virtual DisconnectSourceServerResponse DisconnectSourceServer(DisconnectSourceServerRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisconnectSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisconnectSourceServerResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DisconnectSourceServerAsync(DisconnectSourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisconnectSourceServerRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisconnectSourceServerResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ExportSourceNetworkCfnTemplate
internal virtual ExportSourceNetworkCfnTemplateResponse ExportSourceNetworkCfnTemplate(ExportSourceNetworkCfnTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportSourceNetworkCfnTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportSourceNetworkCfnTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Export the Source Network CloudFormation template to an S3 bucket.
///
/// Container for the necessary parameters to execute the ExportSourceNetworkCfnTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ExportSourceNetworkCfnTemplateAsync(ExportSourceNetworkCfnTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ExportSourceNetworkCfnTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = ExportSourceNetworkCfnTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFailbackReplicationConfiguration
internal virtual GetFailbackReplicationConfigurationResponse GetFailbackReplicationConfiguration(GetFailbackReplicationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFailbackReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFailbackReplicationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all Failback ReplicationConfigurations, filtered by Recovery Instance ID.
///
/// Container for the necessary parameters to execute the GetFailbackReplicationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetFailbackReplicationConfigurationAsync(GetFailbackReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFailbackReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFailbackReplicationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetLaunchConfiguration
internal virtual GetLaunchConfigurationResponse GetLaunchConfiguration(GetLaunchConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a LaunchConfiguration, filtered by Source Server IDs.
///
/// Container for the necessary parameters to execute the GetLaunchConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetLaunchConfigurationAsync(GetLaunchConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetLaunchConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetReplicationConfiguration
internal virtual GetReplicationConfigurationResponse GetReplicationConfiguration(GetReplicationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetReplicationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets a ReplicationConfiguration, filtered by Source Server ID.
///
/// Container for the necessary parameters to execute the GetReplicationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetReplicationConfigurationAsync(GetReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetReplicationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region InitializeService
internal virtual InitializeServiceResponse InitializeService(InitializeServiceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = InitializeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = InitializeServiceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initialize Elastic Disaster Recovery.
///
/// Container for the necessary parameters to execute the InitializeService service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task InitializeServiceAsync(InitializeServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = InitializeServiceRequestMarshaller.Instance;
options.ResponseUnmarshaller = InitializeServiceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListExtensibleSourceServers
internal virtual ListExtensibleSourceServersResponse ListExtensibleSourceServers(ListExtensibleSourceServersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExtensibleSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExtensibleSourceServersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListExtensibleSourceServersAsync(ListExtensibleSourceServersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListExtensibleSourceServersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListExtensibleSourceServersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListStagingAccounts
internal virtual ListStagingAccountsResponse ListStagingAccounts(ListStagingAccountsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStagingAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStagingAccountsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Returns an array of staging accounts for existing extended source servers.
///
/// Container for the necessary parameters to execute the ListStagingAccounts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListStagingAccountsAsync(ListStagingAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListStagingAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListStagingAccountsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List all tags for your Elastic Disaster Recovery resources.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region RetryDataReplication
[Obsolete("WARNING: RetryDataReplication is deprecated")]
internal virtual RetryDataReplicationResponse RetryDataReplication(RetryDataReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RetryDataReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = RetryDataReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task RetryDataReplicationAsync(RetryDataReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RetryDataReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = RetryDataReplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ReverseReplication
internal virtual ReverseReplicationResponse ReverseReplication(ReverseReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ReverseReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReverseReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ReverseReplicationAsync(ReverseReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ReverseReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ReverseReplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartFailbackLaunch
internal virtual StartFailbackLaunchResponse StartFailbackLaunch(StartFailbackLaunchRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFailbackLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFailbackLaunchResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartFailbackLaunchAsync(StartFailbackLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartFailbackLaunchRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartFailbackLaunchResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartRecovery
internal virtual StartRecoveryResponse StartRecovery(StartRecoveryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartRecoveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartRecoveryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartRecoveryAsync(StartRecoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartRecoveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartRecoveryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartReplication
internal virtual StartReplicationResponse StartReplication(StartReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartReplicationAsync(StartReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartReplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartSourceNetworkRecovery
internal virtual StartSourceNetworkRecoveryResponse StartSourceNetworkRecovery(StartSourceNetworkRecoveryRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSourceNetworkRecoveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSourceNetworkRecoveryResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartSourceNetworkRecoveryAsync(StartSourceNetworkRecoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSourceNetworkRecoveryRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSourceNetworkRecoveryResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StartSourceNetworkReplication
internal virtual StartSourceNetworkReplicationResponse StartSourceNetworkReplication(StartSourceNetworkReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSourceNetworkReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSourceNetworkReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StartSourceNetworkReplicationAsync(StartSourceNetworkReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartSourceNetworkReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartSourceNetworkReplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopFailback
internal virtual StopFailbackResponse StopFailback(StopFailbackRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopFailbackRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopFailbackResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StopFailbackAsync(StopFailbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopFailbackRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopFailbackResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopReplication
internal virtual StopReplicationResponse StopReplication(StopReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StopReplicationAsync(StopReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopReplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region StopSourceNetworkReplication
internal virtual StopSourceNetworkReplicationResponse StopSourceNetworkReplication(StopSourceNetworkReplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopSourceNetworkReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopSourceNetworkReplicationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task StopSourceNetworkReplicationAsync(StopSourceNetworkReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopSourceNetworkReplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopSourceNetworkReplicationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TerminateRecoveryInstances
internal virtual TerminateRecoveryInstancesResponse TerminateRecoveryInstances(TerminateRecoveryInstancesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TerminateRecoveryInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = TerminateRecoveryInstancesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task TerminateRecoveryInstancesAsync(TerminateRecoveryInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TerminateRecoveryInstancesRequestMarshaller.Instance;
options.ResponseUnmarshaller = TerminateRecoveryInstancesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFailbackReplicationConfiguration
internal virtual UpdateFailbackReplicationConfigurationResponse UpdateFailbackReplicationConfiguration(UpdateFailbackReplicationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFailbackReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFailbackReplicationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateFailbackReplicationConfigurationAsync(UpdateFailbackReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFailbackReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFailbackReplicationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLaunchConfiguration
internal virtual UpdateLaunchConfigurationResponse UpdateLaunchConfiguration(UpdateLaunchConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a LaunchConfiguration by Source Server ID.
///
/// Container for the necessary parameters to execute the UpdateLaunchConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateLaunchConfigurationAsync(UpdateLaunchConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateLaunchConfigurationTemplate
internal virtual UpdateLaunchConfigurationTemplateResponse UpdateLaunchConfigurationTemplate(UpdateLaunchConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates an existing Launch Configuration Template by ID.
///
/// Container for the necessary parameters to execute the UpdateLaunchConfigurationTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateLaunchConfigurationTemplateAsync(UpdateLaunchConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateLaunchConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateLaunchConfigurationTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateReplicationConfiguration
internal virtual UpdateReplicationConfigurationResponse UpdateReplicationConfiguration(UpdateReplicationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Allows you to update a ReplicationConfiguration by Source Server ID.
///
/// Container for the necessary parameters to execute the UpdateReplicationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateReplicationConfigurationAsync(UpdateReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateReplicationConfigurationTemplate
internal virtual UpdateReplicationConfigurationTemplateResponse UpdateReplicationConfigurationTemplate(UpdateReplicationConfigurationTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates a ReplicationConfigurationTemplate by ID.
///
/// Container for the necessary parameters to execute the UpdateReplicationConfigurationTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateReplicationConfigurationTemplateAsync(UpdateReplicationConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateReplicationConfigurationTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateReplicationConfigurationTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}