/*
* 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.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.Drs.Model;
namespace Amazon.Drs
{
///
/// Interface for accessing Drs
///
/// AWS Elastic Disaster Recovery Service.
///
public partial interface IAmazonDrs : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
///
/// Paginators for the service
///
IDrsPaginatorFactory Paginators { get; }
#endif
#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.
///
/// 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
Task AssociateSourceNetworkStackAsync(AssociateSourceNetworkStackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task CreateExtendedSourceServerAsync(CreateExtendedSourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateLaunchConfigurationTemplate
///
/// 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
Task CreateLaunchConfigurationTemplateAsync(CreateLaunchConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateReplicationConfigurationTemplate
///
/// 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
Task CreateReplicationConfigurationTemplateAsync(CreateReplicationConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task CreateSourceNetworkAsync(CreateSourceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteJob
///
/// 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
Task DeleteJobAsync(DeleteJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteLaunchConfigurationTemplate
///
/// 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
Task DeleteLaunchConfigurationTemplateAsync(DeleteLaunchConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DeleteRecoveryInstanceAsync(DeleteRecoveryInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteReplicationConfigurationTemplate
///
/// 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
Task DeleteReplicationConfigurationTemplateAsync(DeleteReplicationConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteSourceNetwork
///
/// 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
Task DeleteSourceNetworkAsync(DeleteSourceNetworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DeleteSourceServerAsync(DeleteSourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeJobLogItems
///
/// 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
Task DescribeJobLogItemsAsync(DescribeJobLogItemsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DescribeJobsAsync(DescribeJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DescribeLaunchConfigurationTemplatesAsync(DescribeLaunchConfigurationTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeRecoveryInstances
///
/// 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
Task DescribeRecoveryInstancesAsync(DescribeRecoveryInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeRecoverySnapshots
///
/// 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
Task DescribeRecoverySnapshotsAsync(DescribeRecoverySnapshotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DescribeReplicationConfigurationTemplates
///
/// 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
Task DescribeReplicationConfigurationTemplatesAsync(DescribeReplicationConfigurationTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DescribeSourceNetworksAsync(DescribeSourceNetworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DescribeSourceServersAsync(DescribeSourceServersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DisconnectRecoveryInstanceAsync(DisconnectRecoveryInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task DisconnectSourceServerAsync(DisconnectSourceServerRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ExportSourceNetworkCfnTemplate
///
/// 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
Task ExportSourceNetworkCfnTemplateAsync(ExportSourceNetworkCfnTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetFailbackReplicationConfiguration
///
/// 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
Task GetFailbackReplicationConfigurationAsync(GetFailbackReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetLaunchConfiguration
///
/// 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
Task GetLaunchConfigurationAsync(GetLaunchConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetReplicationConfiguration
///
/// 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
Task GetReplicationConfigurationAsync(GetReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region InitializeService
///
/// 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
Task InitializeServiceAsync(InitializeServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task ListExtensibleSourceServersAsync(ListExtensibleSourceServersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task ListStagingAccountsAsync(ListStagingAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
///
/// 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
Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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")]
Task RetryDataReplicationAsync(RetryDataReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task ReverseReplicationAsync(ReverseReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StartFailbackLaunchAsync(StartFailbackLaunchRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StartRecoveryAsync(StartRecoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StartReplicationAsync(StartReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StartSourceNetworkRecoveryAsync(StartSourceNetworkRecoveryRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StartSourceNetworkReplicationAsync(StartSourceNetworkReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StopFailbackAsync(StopFailbackRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StopReplicationAsync(StopReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task StopSourceNetworkReplicationAsync(StopSourceNetworkReplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task TerminateRecoveryInstancesAsync(TerminateRecoveryInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#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.
///
/// 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
Task UpdateFailbackReplicationConfigurationAsync(UpdateFailbackReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateLaunchConfiguration
///
/// 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
Task UpdateLaunchConfigurationAsync(UpdateLaunchConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateLaunchConfigurationTemplate
///
/// 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
Task UpdateLaunchConfigurationTemplateAsync(UpdateLaunchConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateReplicationConfiguration
///
/// 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
Task UpdateReplicationConfigurationAsync(UpdateReplicationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateReplicationConfigurationTemplate
///
/// 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
Task UpdateReplicationConfigurationTemplateAsync(UpdateReplicationConfigurationTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}